[gst-devel] It is fail to request pad in rtpbin

Eric Zhang rockmane at gmail.com
Fri Jul 25 02:38:14 CEST 2008


Hi, Zheng Shude:

send_rtp_sink_%d -- %d should be replaced with your RTSP session id. :)

Eric Zhang

Zheng, Shude wrote:
>
> It is working to use command line, gst-launch, for rtp server and 
> client. I want to convert the command line to application. I must get 
> the send_rtp_sink_%d pad of rtpbin for linking to rtppcmapay. I use
>
> Newpad = gst_element_get_request_pad(rtpbin, “send_rtp_sink_%d”).
>
> It returns null. If I change the pad name to send_rtp_sink_0. It will 
> give an error “comparing send_rtp_sink_0 to src%d.
>
> Any help will be greatly appreciated.
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list