RTP & RTCP restream using rtpbin.

stproj smpalasis at gmail.com
Mon Oct 24 19:30:51 UTC 2016


Sebastian Dröge-3 wrote
> 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
> _______________________________________________
> gstreamer-devel mailing list

> gstreamer-devel at .freedesktop

> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
> 
> signature.asc (949 bytes)
> <http://gstreamer-devel.966125.n4.nabble.com/attachment/4680178/0/signature.asc>

Yes this is correct. This is what i'd like to do:

Relay the rtp_stream from recv_rtp_sink_%u pad to send_rtp_src_%u pad but i
want to treat it like an entirely new stream.
When i link with the pad added, the newly pad is recv_rtp_src_0 which i find
it impossible to attach also the rtcp stream for this particular
session,perhaps maybe because it has the same session_id (0). How do you
propose i should continue? Any tips would be very helpful. 




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTP-RTCP-restream-using-rtpbin-tp4680123p4680204.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list