diff options
author | Jonas Smedegaard <dr@jones.dk> | 2017-02-26 16:01:11 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2017-02-26 16:01:11 +0100 |
commit | 81d45c19df4522454b37e56373a27d681a638bbc (patch) | |
tree | 2615c7bc134f0566d10a9e6740cbbfb962a82844 | |
parent | 545e7c925c7a74ac40bc8a835173a69b47bdf2f4 (diff) |
Tidy quotes.
-rwxr-xr-x | bin/recv-gst-rtp-v-a | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bin/recv-gst-rtp-v-a b/bin/recv-gst-rtp-v-a index 92e1ae8..e767fc9 100755 --- a/bin/recv-gst-rtp-v-a +++ b/bin/recv-gst-rtp-v-a @@ -18,22 +18,22 @@ CAMHOST="${CAMIP:+host=$CAMIP}${CAMMIP:+host=$CAMMIP auto-multicast=true}" case "$VIDEO" in H264|'') - VCAPS="application/x-rtp,media=video,clock-rate=90000,payload=96,encoding-name=H264" + VCAPS=application/x-rtp,media=video,clock-rate=90000,payload=96,encoding-name=H264 VDEC="rtph264depay ! avdec_h264" ;; VP8) - VCAPS="application/x-rtp,media=video,clock-rate=90000,payload=96,encoding-name=VP8" + VCAPS=application/x-rtp,media=video,clock-rate=90000,payload=96,encoding-name=VP8 VDEC="rtpvp8depay ! vp8dec" ;; RAW) - VCAPS="application/x-rtp,media=video,clock-rate=90000,encoding-name=RAW,sampling=YCbCr-4:2:0,depth=(string)8,width=(string)432,height=(string)240,colorimetry=BT601-5,payload=96,ssrc=(uint)2753200816,timestamp-offset=(uint)2145434971,seqnum-offset=(uint)15312,a-framerate=(string)30" + VCAPS=application/x-rtp,media=video,clock-rate=90000,encoding-name=RAW,sampling=YCbCr-4:2:0,depth="(string)8",width="(string)432",height="(string)240",colorimetry=BT601-5,payload=96,ssrc="(uint)2753200816",timestamp-offset="(uint)2145434971",seqnum-offset="(uint)15312",a-framerate="(string)30" VDEC="rtpvrawdepay ! videoconvert ! queue" ;; esac case "$AUDIO" in AMR|'') - ACAPS="application/x-rtp,media=audio,clock-rate=8000,encoding-name=AMR,encoding-params=1,octet-align=1" + ACAPS=application/x-rtp,media=audio,clock-rate=8000,encoding-name=AMR,encoding-params=1,octet-align=1 ADEC="rtpamrdepay ! amrnbdec" ;; esac @@ -44,11 +44,11 @@ stream() { PLAYBIN=$3 echo \ udpsrc port=$((5000+ID-1)) $RECHOST caps=\""$CAPS"\" \ - ! "rtpbin.recv_rtp_sink_$ID" rtpbin. \ + ! rtpbin."recv_rtp_sink_$ID" rtpbin. \ ! $PLAYBIN \ udpsrc port=$((5010+ID-1)) "$RECHOST" \ - ! "rtpbin.recv_rtcp_sink_$ID" \ - "rtpbin.send_rtcp_src_$ID" \ + ! rtpbin."recv_rtcp_sink_$ID" \ + rtpbin."send_rtcp_src_$ID" \ ! udpsink port=$((5020+ID-1)) "$CAMHOST" sync=false async=false } |