Pipeline stop/start

Tim Müller tim at centricular.com
Wed Feb 19 06:11:33 PST 2014


On Wed, 2014-02-19 at 14:20 +0100, Lee Matthews wrote:

Hi Lee,


> I wish to be able to stop the transmission of the audio stream to the
> client and then start it again, but I have not yet managed to get this
> to work.
> 
> Currently, I set the transmitter pipeline state to GST_STATE_PAUSED. At
> which point the receiver stops playing audio. I then try to restart it
> by setting the transmitter pipeline state to GST_STATE_PLAYING, but the
> receiver does not restart playing audio. 
> 
> I can only start receiving and playing the audio again if I restart gst-launch.
> 
> Does anyone know what I'm doing wrong? 

What are you trying to do/achieve (high-level view)? I mean, why do you
want to stop/re-start the sender?

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list