GNOME Bugzilla – Bug 796172
audiolatency cannot be used with rtpbin because this creates loop in pipeline
Last modified: 2018-11-03 14:23:15 UTC
I have app which uses rtpbin to both send and receive RTP streams. I wanted to use new audiolatency element to measure delay of external VoIP server. However it turned out that I cannot use it together with rtpbin, because this creates loop in pipeline. Here are errors reported by my app: 1526484976.964529 1003: Pipeline error: Internal data stream error. (gstbasesrc.c(3055): gst_base_src_loop (): /GstPipeline:pipeline0/GstAudioLatency:audiolatency0/GstAudioTestSrc:audiotestsrc0: streaming stopped, reason not-linked (-1)) 1526484976.964638 1003: Pipeline error: Internal data stream error. (gstqueue.c(988): gst_queue_handle_sink_event (): /GstPipeline:pipeline0/GstQueue:queue2: streaming stopped, reason not-linked (-1)) Please add new elements audiolatencysrc and audiolatencysink, which would communicate together "behind the scenes" and appear to GStreamer as a two separate elements. This will allow to use audiolatency together with rtpbin.
I have checked my pipeline and found that elements were not linked. After adding extra audioconvert/audioresample elements it started working. However when app quits, it prints following warning 3 times. So some work here is still needed. (gstreamertest:13301): GStreamer-WARNING **: loop detected in the graph of bin 'pipeline0'!!
I had similar impression as you about the loop, loops of course work, but just can't always be freed/stopped.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/709.