Browse Source

multicast group

David 10 years ago
parent
commit
b902f42f72
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/working-udp-video.sh

+ 1 - 1
server/working-udp-video.sh

@@ -59,7 +59,7 @@ SHMOPTION="wait-for-connection=1 sync=true"
 SHMSINK1="shmsink socket-path=$feed_control_pipe $SHMSIZE $SHMOPTION"
 #AUDIOFORMAT="$AUDIOS16LE"', rate='$feed_rate', channels='$feed_channels
 VIDEOFORMAT=$VIDEOBGRA', width='$feed_width', height='$feed_height', framerate=24/1'
-SRC="udpsrc port=5000 do-timestamp=true ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 "
+SRC="udpsrc multicast-group=224.1.1.1 auto-multicast=true port=5000 do-timestamp=true ! application/x-rtp, payload=96 ! rtpjitterbuffer ! rtph264depay ! avdec_h264 "
 while true ; do
     # Remove the named pipe if it exist
     rm -f $feed_control_pipe