Reusing a udp socket/port for multiple differant pipelines, Advice needed

debruyn debruynels1 at gmail.com
Fri Sep 30 09:43:54 UTC 2016


Good day guys,

So what i am attempting is the following. On the host side(An ARM board) i
send a video stream through a udpsink to a specific port. on the clientside
(PC/server), once a data is being received from the host it starts a
recording of the stream. Then on request the user on the clientside can also
choose to view the stream via live transcoding and the posting it to an
icecast media server. This works a hundred percent if only a stream OR
recording is happening. 

But the problem arises when i want to do the viewing and recording
simultaneously but in seperate pipelines and threads. 
When i start the second streaming/recording pipe after a recording/streaming
pipe is already live for that port the second pipe 'hijacks' the first pipes
stream feed. It is as if the udp socket is handed over from the one to
another. But i want both to listen on that socket. 

I have a theory that once a socket(or even the port) is live(playing state)
it can't be reused in another pipe. And advice on how to overcome this? Any
help would be appreciated

Regards 
De Bruyn




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Reusing-a-udp-socket-port-for-multiple-differant-pipelines-Advice-needed-tp4679875.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list