rtp, audio live pipeline, shutdown, eos is too fast on multicore machine

Thomas Roos thomas at roosesweb.de
Wed Oct 14 22:50:47 PDT 2015


Hi,
on a multicore machine (i5, windows) the EOS event has SOMETIMES
already passed the pipeline before the gst_bus_timed_pop_filtered can
wait. Is there a solution for this? mSenderPipeline use directaudiosrc
-> rtpbin -> multiudpsink
By waiting for EOS I want to ensure that all the audio in the pipeline
is sendet before it shutdown.



gst_element_send_event (mSenderPipeline, gst_event_new_eos())

GstMessage *msg = gst_bus_timed_pop_filtered (GST_ELEMENT_BUS
(mSenderPipeline), GstClockTime(200*GST_MSECOND),
                                 GstMessageType(GST_MESSAGE_EOS |
GST_MESSAGE_ERROR));


More information about the gstreamer-devel mailing list