Switching Audio/Video Sources to shout2send
Sari McFarland
sbmcfarland at gmail.com
Wed Sep 14 22:39:59 UTC 2016
I'm working on some code that generates a live stream of audio and video
and sends it to an icecast server with shout2send. Not all of the media is
coming from a playbin/decodebin, so I'm not able to use the about-to-finish
callback to switch to another media file without stopping the pipeline.
Sometimes I'm inserting silence or the test signal, or audio from a network
source. In order to switch between sources or media files, I'm currently
setting the pipeline to null, relinking it and setting it to play again.
This causes shout2send to disconnect and reconnect to the icecast server
which disconnects the icecast listeners. To get around this for audio
only, I've been sending the audio to pulse, and with a second pipeline I'm
getting audio from pulse and sending to shout2send.
Now I need to make this work for video as well. Is there a workaround for
video similar to using pulse for audio? Or is there a way to modify the
pipeline without disconnecting from shout2send? Thanks
Sari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160914/0e75f03d/attachment.html>
More information about the gstreamer-devel
mailing list