How to use the funnel element for multiplexed RTP and RCTP over the same port

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

How to use the funnel element for multiplexed RTP and RCTP over the same port

GStreamer-devel mailing list
Hi

I want to multiplex RTP and RTCP over the same port in the SCReAM
application that I build. I read in an earlier post on this forum that it
should be possible to use the funnel element for this. I am however a bit
lost in the documentation and don't seem to find any information or
examples.

Does somebody have an example sender and receiver pipeline that shows how
this is done ?

Regards
Ingemar



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to use the funnel element for multiplexed RTP and RCTP over the same port

Vinod Kesti
Are you refering to RFC4571 ??

If yes then rtpstreampay and rtpstreamdepay will be useful.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to use the funnel element for multiplexed RTP and RCTP over the same port

Ingemar Johansson
Hi

Thanks for the tip, this is however not what I am looking for.
What I would like to achieve is  
https://tools.ietf.org/html/rfc5761 

BR
/Ingemar



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to use the funnel element for multiplexed RTP and RCTP over the same port

Vinod Kesti
funnel and streamiddemux works based on the caps.

If you are planning to mux RTP+RTCP in sender and demux RTP+RTCP in receiver
then it wont work.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to use the funnel element for multiplexed RTP and RCTP over the same port

Nicolas Dufresne-5
Le vendredi 22 février 2019 à 04:28 -0600, Vinod Kesti a écrit :
> funnel and streamiddemux works based on the caps.
>
> If you are planning to mux RTP+RTCP in sender and demux RTP+RTCP in receiver
> then it wont work.

In master we also have rtpfunnel, which will avoid the caps negotiation
storm.

>
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to use the funnel element for multiplexed RTP and RCTP over the same port

Ingemar Johansson
Thanks, I will look into the rtpfunnel.  



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to use the funnel element for multiplexed RTP and RCTP over the same port

Olivier Crête-3
In reply to this post by Vinod Kesti
On Fri, 2019-02-22 at 04:28 -0600, Vinod Kesti wrote:
> funnel and streamiddemux works based on the caps.
>
> If you are planning to mux RTP+RTCP in sender and demux RTP+RTCP in receiver
> then it wont work.

You can feed both RTP and RTCP packets to the rtp_sink port of either
rtpsession or srtpdec and both will demultiplex RTP from RTCP for you.


--
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: How to use the funnel element for multiplexed RTP and RCTP over the same port

Ingemar Johansson
OK, thanks. I will try this. I tried to set the same port number to both the
rtpSink and the rtcpSink and that did not work. So I guess the trick is to
only use one sink ?




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to use the funnel element for multiplexed RTP and RCTP over the same port

Nicolas Dufresne-5
Le vendredi 01 mars 2019 à 01:31 -0600, Ingemar Johansson a écrit :
> OK, thanks. I will try this. I tried to set the same port number to both the
> rtpSink and the rtcpSink and that did not work. So I guess the trick is to
> only use one sink ?

Yes, the behaviour is undefined otherwise. As Olivier said, don't don't
need to request the RTCP pad, send everything to the RTP pad of the
RTPBin and it will demultiplex it for you.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel