is RFC5761 (multiplex RTP/RTCP) supported in a GStreamer RTP element?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

is RFC5761 (multiplex RTP/RTCP) supported in a GStreamer RTP element?

Andres Gonzalez
Hi,
Is there a GStreamer element that supports multiplexing RTP data and control pkt on a single port?

This is specified in RFC5761 and is signaled via SDP using the attribute:   "a=rtcp-mux"

I looked at the documentation for rtpmux but that appears to multiplex 2 streams into 1 stream which is different from multiplexing both the RTP and RTCP pkts from a single stream.

Thanks,
-Andres
Reply | Threaded
Open this post in threaded view
|

Re: is RFC5761 (multiplex RTP/RTCP) supported in a GStreamer RTP element?

Dirk-Jan C. Binnema

On Thursday Jul 28 2016, Andres Gonzalez wrote:

> Hi,
> Is there a GStreamer element that supports multiplexing RTP data and control
> pkt on a single port?
>
> This is specified in RFC5761 and is signaled via SDP using the attribute:  
> "a=rtcp-mux"
>
> I looked at the documentation for rtpmux but that appears to multiplex 2
> streams into 1 stream which is different from multiplexing both the RTP and
> RTCP pkts from a single stream.

I've been using a "funnel" for this purpose -- then RTCP and RTP packets
go in and feed a single updsink. Some kind soul in the ever-helpful
#gstreamer suggested this a while back, and it seems to work fine.

Kind regards,
Dirk.

--
Dirk-Jan C. Binnema                  Helsinki, Finland
e:[hidden email]           w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: is RFC5761 (multiplex RTP/RTCP) supported in a GStreamer RTP element?

Olivier Crête-3
In reply to this post by Andres Gonzalez
Hi,

This is fully supported, you can just feed the muxed stream into rtpbin into the rtp pad, or into the srtp/dtls-srtp elements into the rtp pad. And both will do the demultiplexing.

For the muxing, you can just use the funnel element.

Olivier

On July 28, 2016 10:35:29 AM EDT, Andres Gonzalez <[hidden email]> wrote:

>Hi,
>Is there a GStreamer element that supports multiplexing RTP data and
>control
>pkt on a single port?
>
>This is specified in RFC5761 and is signaled via SDP using the
>attribute:  
>"a=rtcp-mux"
>
>I looked at the documentation for rtpmux but that appears to multiplex
>2
>streams into 1 stream which is different from multiplexing both the RTP
>and
>RTCP pkts from a single stream.
>
>Thanks,
>-Andres
>
>
>
>--
>View this message in context:
>http://gstreamer-devel.966125.n4.nabble.com/is-RFC5761-multiplex-RTP-RTCP-supported-in-a-GStreamer-RTP-element-tp4678885.html
>Sent from the GStreamer-devel mailing list archive at Nabble.com.
>_______________________________________________
>gstreamer-devel mailing list
>[hidden email]
>https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

--
Olivier Crête
[hidden email]
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: is RFC5761 (multiplex RTP/RTCP) supported in a GStreamer RTP element?

Andres Gonzalez
In reply to this post by Dirk-Jan C. Binnema
Dirk, thanks for your reply, I will check out the funnel element.
-Andres
Reply | Threaded
Open this post in threaded view
|

Re: is RFC5761 (multiplex RTP/RTCP) supported in a GStreamer RTP element?

Andres Gonzalez
In reply to this post by Olivier Crête-3
Olivier, thanks for the additional information on the rtpbin usage.
-Andres