How can i get rtpbin

Sebastian Dröge sebastian at centricular.com
Wed Nov 11 12:07:54 PST 2015


On Di, 2015-11-10 at 17:52 -0800, Bob Huang wrote:
> Hi, 
>   I use method gst_parse_launch("playbin", &error) to play rtsp
> stream. Then I want to get rtpbin to set some properties. how can i
> get rtpbin properly?

The "source-setup" signal on playbin will give you the source element,
in your case rtspsrc. Then the "new-manager" signal on rtspsrc will
notify you when a new rtpbin is created.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151111/7eefa08c/attachment.sig>


More information about the gstreamer-devel mailing list