ossBuild, audio capture freezes when paused-play repeatedly
tanmay.ambre
ambre.tanmay at gmail.com
Fri Feb 24 05:52:59 PST 2012
I have created a small rtp capture program to capture audio on windows C++
I have a mute/unmute function where I pause/play the pipline using the
following function
gst_element_set_state (pipeline_sound_capture, GST_STATE_PLAYING);
gst_element_set_state (pipeline_sound_capture, GST_STATE_PAUSED);
The pause and play works fine for a while but after around 10/20 cycles of
mute/unmute the pipeline stops working.
I don't get any error messages
and my log shows that all the elements have changed there state from paused
to playing but there is no stream is captured.
<---------Log-------->
Capture Element udpsink0 changed state from PAUSED to PLAYING.
Capture Element rtpssrcdemux1 changed state from PAUSED to PLAYING.
Capture Element rtpsession1 changed state from PAUSED to PLAYING.
Capture Element gstrtpbin changed state from PAUSED to PLAYING.
Capture Element rtppayload changed state from PAUSED to PLAYING.
Capture Element encoder changed state from PAUSED to PLAYING.
Capture Element source changed state from PAUSED to PLAYING.
Capture Element audio-capture changed state from PAUSED to PLAYING.
<---------Log-------->
I am not sure how I debug this(what messages should I search for) to find
what problem it is.
Cheers
Tanmay
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/ossBuild-audio-capture-freezes-when-paused-play-repeatedly-tp4417236p4417236.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list