audiolatency cannot be used with rtpbin because this creates loop in pipeline
Submitted by Daniel F
Link to original bug (#796172)
Description
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.
Version: 1.14.0