Too many files open issue

James Cameron quozl at laptop.org
Mon Jun 4 04:49:50 UTC 2018


On Thu, May 31, 2018 at 11:20:01PM -0700, sameer.thapa at evontech.com wrote:
> Hello all,
> 
> I am new to Gstreamer and c++ programming in linux. I am using
> Gstreamer to record audio from RTP stream from a voip call
> session. For some reason gst_bus_add_watch() is not working and EOS
> is not being received in the callback,

To stop recording, send an EOS event into your source element, then
wait for the EOS message from the bus, then set state to NULL.
I couldn't see in your code any sending of EOS event, and forcing
state to NULL will not send EOS.

(I haven't used gst_bus_add_watch; my preference has been
gst_bus_add_signal_watch and then connect to signal "message".)

-- 
James Cameron
http://quozl.netrek.org/


More information about the gstreamer-devel mailing list