Intended use of nicesink and nicesrc

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

Intended use of nicesink and nicesrc

evaluat0r
Hi,

For a Gstreamer pipeline where you want to send video via udp (creating a
udpsink) and via a client on a different network receive video via udpsrc,
how can nicesink and nicesrc be leveraged if at all? Can it be used here to
get around NAT problems? What would an example gst-launch-1.0 pipeline look
like?

Thanks



--
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: Intended use of nicesink and nicesrc

Olivier Crête-3
Hi,

libnice implements the ICE protocol to create a "hole" through the
NATs. You need external signaling to be able to create such a
connection.

You can't use it from gst-launch-1.0, so you need a program with some
kind of server to exchange this information. I recommend using a higher
level implementation such as webrtcbin which has some example code:

https://github.com/centricular/gstwebrtc-demos

In any case, it's not trivial.

Olivier

On Sun, 2018-02-25 at 23:49 -0700, evaluat0r wrote:

> Hi,
>
> For a Gstreamer pipeline where you want to send video via udp
> (creating a
> udpsink) and via a client on a different network receive video via
> udpsrc,
> how can nicesink and nicesrc be leveraged if at all? Can it be used
> here to
> get around NAT problems? What would an example gst-launch-1.0
> pipeline look
> like?
>
> Thanks
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.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