Multicast WebRTC

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

Multicast WebRTC

GStreamer-devel mailing list
Hello,

I have a gstreamer program that sends video using WebRTC to a browser.
I was wondering if it is possible to use multicast to send the same signal
to several browsers concurrently, and would appreciate some hints on how to
do it.

The pipeline bellow is the one I am using:
videotestsrc pattern=ball ! video/x-raw,width=320,height=240 ! videoconvert
! queue ! vp8enc deadline=1 ! rtpvp8pay !
 queue ! application/x-rtp,media=video,encoding-name=VP8,payload=97

Thanks in advance!



--
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: Multicast WebRTC

GStreamer-devel mailing list
No, Multicast (the UDP multicast meaning) is not possible in WebRTC as
WebRTC is not designed for that.

WebRTC is a peer-to-peer specification.

There are however e.g. SFU solutions (intermediaries) that allow sending
a streams to multiple peers.

Cheers
-Matt

On 13/5/21 11:18 pm, leaonidas via gstreamer-devel wrote:

> Hello,
>
> I have a gstreamer program that sends video using WebRTC to a browser.
> I was wondering if it is possible to use multicast to send the same signal
> to several browsers concurrently, and would appreciate some hints on how to
> do it.
>
> The pipeline bellow is the one I am using:
> videotestsrc pattern=ball ! video/x-raw,width=320,height=240 ! videoconvert
> ! queue ! vp8enc deadline=1 ! rtpvp8pay !
>   queue ! application/x-rtp,media=video,encoding-name=VP8,payload=97
>
> Thanks in advance!
>
>
>
> --
> 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

OpenPGP_signature (505 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Multicast WebRTC

GStreamer-devel mailing list
Thanks for the hint, I will check it out.
I've also seen that it is possible to use a tee to re utilize the same bin
for different connections.



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