rtspsrc creating multiple video source pads from single stream

Tim Müller tim at centricular.com
Tue Sep 17 23:06:10 UTC 2019


On Tue, 2019-09-17 at 13:20 +0000, Frame, Timothy J (US) wrote:

Hi Timothy,
 
> I am running into an issue using rtspsrc where it seems to be adding
> multiple video source pads from a single RTP H264 video stream.  I am
> registering for “pad-added” events from the rtspsrc element and am
> getting 2 pad-added notifications for video which is causing
> downstream issues.  From code inspection it appears PT or SSRC
> changes could cause this but I confirmed with wireshark that these
> values were not changing in the stream and the PT value in the SDP
> matches what is in the stream.  Does anyone have any idea what could
> cause multiple pads of the same type (multiple audio or multiple
> video) to be created?

What GStreamer version is this with?

(gst-inspect-1.0 rtspsrc | grep Version)

Without having the stream at hand to try, the easiest way to get to the
bottom of this might be to look at the GST_DEBUG=rtsp*:6 and/or
GST_DEBUG=*:6 log to a file and look at what's happening in the log
right before the second pad-added signal get emitted.

Does it happen right away at the start or only after a while?

What transport is used for the data?

Cheers
 Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference! 31 Oct-1 Nov 2019 in Lyon, France



More information about the gstreamer-devel mailing list