payload type, media type and SSRC on pad_add callback

marc lievens mark.lievens at gmail.com
Fri Sep 25 00:24:34 PDT 2015


Hi

My pipeline is like : rtspsrc rtspsrc.! queue ! rtph264depay ! h264parse !
matroskamux ! filesink rtspsrc. ! queue ! fakesink


On  pad_added callback I need the session Id, payload type and media type.

The reason is that dependent of the payload type I have to set data probe
on on different positions in the pipeline.

- probe on rtph264depay  and probe on Rtcp pad (recv_rtcp_sink_SSRC ) when
media= H264 ,payload = 98) ,

- probe on fakesink when media= onvif ,payload = 107)



Where and how can I get the specified session id, payload and media.

Is it allowed to parse the pad name  on the pad_added callback to get these
values.

The pad name is like recv_rtp_src_%u_%u_%u with the session number, SSRC
and payload type.


Any help is welkon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150925/335e2493/attachment.html>


More information about the gstreamer-devel mailing list