gstreamer-devel Digest, Vol 36, Issue 77

Charles hobbesc7 at gmail.com
Mon Jan 20 08:49:14 PST 2014


>> I'm live streaming from a usb encoder using a device node filesrc and a
>> udpsink (the "server"), and then playing the video on my client from the
>> udpsrc.
>>
>> If I leave the client video open, but kill the server, the video freezes, as
>> expected.  When I restart the server, the video continues streaming.
>>
>> If I kill the client, however, I cannot reconnect to the stream without
>> restarting the server.
>
> Shouldn't be so. You have to figure out what's wrong with the client
> (BTW which clients have you tried? Did you try such opensource clients
> like gst-launch, vlc, ffplay?). Maybe it doesn't close socket
> gracefully and next time it cannot bind to it.
>

I'm using gst-launch on both ends:

On the server:

gst-launch -v filesrc location=/dev/video0 ! queue ! video/x-h264 !
udpsink host=192.168.1.100 port=5011

On the client:

gst-launch -v udpsrc port=5011 ! decodebin2 ! xvimagesink sync=false


More information about the gstreamer-devel mailing list