re-listening tcpserversrc?

Nicolas Dufresne nicolas at ndufresne.ca
Mon Feb 18 21:58:26 UTC 2019


Le lundi 18 février 2019 à 18:19 +0100, fightling a écrit :
> Hey there!
> 
> I'm currently working on an open source live A/V mixer using gstreamer
> called voctomix w have some A/V sources which come in over TCP. I'm
> using a tcpserversrc to receive a stream that is send with ffmpeg.
> 
> When I want to restart ffmpeg (to switch to another content)
> tcpserversrc does not seem to react in the logs I've seen.
> 
> And reconnecting from a new ffmpeg instance to the same tcpserversrc
> also does not work.
> 
> I'm quite stuck right now!
> 
> Can someone please give me some advice?

When the remote client disconnect, tcpserversrc will send EOS message
to your application. Catch this message and restart you pipeline when
this happens. It's a single client server.

Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190218/4a3741b6/attachment-0001.sig>


More information about the gstreamer-devel mailing list