From a3f3cb626076632ba0e7a96bb88de2c920c75075 Mon Sep 17 00:00:00 2001 From: Avinash Pandey Date: Fri, 22 Sep 2023 10:35:08 +0530 Subject: [PATCH] modified .miraclecast and run-vlc --- res/.miraclecast | 2 +- res/miraclecast.sh | 13 +++++++++++++ res/run-vlc.sh | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 res/miraclecast.sh diff --git a/res/.miraclecast b/res/.miraclecast index 3931d25..1469c1e 100644 --- a/res/.miraclecast +++ b/res/.miraclecast @@ -6,7 +6,7 @@ extends.wfd_audio_codecs=AAC 0000000f 00, AC3 00000007 00 extends.wfd_connector_type=05 extends.microsoft_cursor=none extends.microsoft_rtcp_capability=none -extends.wfd_idr_request_capability=1 +extends.wfd_idr_request_capability=0 extends.microsoft_latency_management_capability=none extends.microsoft_format_change_capability=none extends.microsoft_diagnostics_capability=none diff --git a/res/miraclecast.sh b/res/miraclecast.sh new file mode 100644 index 0000000..5d61b10 --- /dev/null +++ b/res/miraclecast.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# +# Run Miraclecast +# + +# 1. capture argument +# 2. Abort if error on wifid +# 3. Runk sink with arg + + +miracle-wifid --log-level debug --log-date-time + +miracle-sinkctl --log-level trace --log-date-time \ No newline at end of file diff --git a/res/run-vlc.sh b/res/run-vlc.sh index 19735ad..c762b54 100755 --- a/res/run-vlc.sh +++ b/res/run-vlc.sh @@ -1,4 +1,4 @@ #!/bin/bash -export DISPLAY=:0 && su -c "cvlc --no-osd --no-video-title-show --network-caching=200 rtp://@:7236" letsving +export DISPLAY=:0 && su -c "cvlc --no-osd --no-video-title-show --network-caching=300 rtp://@:7236" letsving #export DISPLAY=:0 && su -c "cvlc --no-osd --no-video-title-show --network-caching=200 --no-ts-trust-pcr --h264-fps=23 rtp://@:7236" letsving