RTP & RTCP restream using rtpbin.

Sebastian Dröge sebastian at centricular.com
Mon Oct 24 07:06:59 UTC 2016


On Thu, 2016-10-20 at 03:14 -0700, stproj wrote:
> 
> 
> Hello Sebastian,
> 
>  Thank you for your reply. You are right, with on_pad_added_cb i can link
> rtpbin to rtpsink and relay the rtpstream. 
> 
>  I now have the same problem with building the rtcp src/sink for this
> particular session. Do you think that i can rename the new_pad  or should i
> extract the %u_%u_%u  part from the string in order to make it the same for
> the rtcpsrcpad & rtcpsinkpads. 

It's send_rtcp_src_%u / recv_rtcp_sink_%u. You only provide it with the
same session id that you used when requesting the RTP pad, and then use
that.

-- 
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: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161024/263740a0/attachment-0001.sig>


More information about the gstreamer-devel mailing list