0
votes

I like to know how to receiver Gstreamer Live video Streaming which has dual udpsink on the Receiver sides.

Here i provide single Udpsink transmitter and receiver which works absolutely fine

Sender : "raspivid -t 999999 -h 480 -w 640 -fps 25 -b 2000000 -o - | gst-launch-0.10 -v fdsrc fd=0 ! h264parse ! rtph264pay ! udpsink host=192.168.0.105 port=5000"

Receiver : "udpsrc port=5000 caps=application/x-rtp buffer-size=100000 ! rtph264depay ! ffdec_h264 ! queue ! autovideosink sync=false"

Dual Udpsink Sender: raspivid -t 999999 -h 480 -w 640 -fps 25 -b 2000000 -o - | gst-launch-0.10 -v fdsrc fd=0 ! tee name=tp \tp. h264parse ! rtph264pay ! udpsink host=192.168.0.105 port=5000 \tp. ! h264parse ! rtph264pay ! udpsink host=192.168.0.100 port=5005

Now i am unable to receiver on anyone of the receiver side.. Please any help me.. Thanks in advance.

2

2 Answers

0
votes

Your main issue with dual udpsink sender is that you do not use 'queue'(s) after tee element. Try to add queue or queue2 element after Tee element. (You may also need to play around with 'leaky' property of queue element)

See link about multithreading and queue(s) in gstreamer.

1
votes

Use a single multiudpsink element instead:

raspivid -t 999999 -h 480 -w 640 -fps 25 -b 2000000 -o - | gst-launch-0.10 -v fdsrc fd=0 ! h264parse ! rtph264pay ! multiudpsink clients=192.168.0.105:5000,192.168.0.100:5005