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

Zheng, Shude shude at margi.com
Fri Jul 25 19:04:08 CEST 2008


Hi, Eric,

Can you give me more detail how to get session id and replace it. I
directly replaced it with 0(send_rtp_sink_0) as the command line did,
but it gives the error. Need I set session first or call some function
to get the session ID?

Thanks,

Shude

-----Original Message-----
From: Eric Zhang [mailto:rockmane at gmail.com] 
Sent: Thursday, July 24, 2008 5:38 PM
To: Discussion of the development of GStreamer
Cc: Zheng, Shude
Subject: Re: [gst-devel] It is fail to request pad in rtpbin

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