[Bug 734322] New: RTP Jitterbuffer shouldn't force clock-rate on the caps

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 5 16:03:30 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734322
  GStreamer | gst-plugins-good | git

           Summary: RTP Jitterbuffer shouldn't force clock-rate on the
                    caps
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: kakaroto at kakaroto.homelinux.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I'm having an issue with the RTP jitterbuffer because it has clock-rate set on
the caps, so when rtpssrcdemux tries to send RTP to it with caps
"application/x-rtp, ssrc=(uint) xxxxxx", it will fail.
I basically get these debug message :
GST_PADS
gstpad.c:2941:gst_pad_query_accept_caps_default:<rtpjitterbuffer0:sink> allowed
caps subset application/x-rtp, ssrc=(uint)3781690021, clock-rate=(int)[ 1,
2147483647 ], caps application/x-rtp, ssrc=(uint)3781690021
default gstutils.c:2857:gst_pad_query_accept_caps:<rtpjitterbuffer0:sink> query
returned 0
GST_PADS
gstpad.c:4845:gst_pad_push_event_unchecked:<rtpssrcdemux0:src_3781690021> sent
event 0x7f12d8002a60 to (caps) peerpad <rtpjitterbuffer0:sink>, ret
not-negotiated

Since the caps pushed by rtpssrcdemux are not a subset of the caps accepted by
rtpjitterbuffer (due to the added clock-rate field), I always get a
not-negotiated error.

The jitterbuffer documentation says : 
 * The element needs the clock-rate of the RTP payload in order to estimate the
 * delay. This information is obtained either from the caps on the sink pad or,
 * when no caps are present, from the #GstRtpJitterBuffer::request-pt-map
signal.

Unfortunately, the current git version forces the clock-rate on the caps which
is not something we can provide. The clock rate shouldn't be specified in the
template caps and the GST_EVENT_CAPS event shouldn't fail if it receives caps
without the clock-rate.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list