gst-rtsp-server, rtspsrc &Firewall/NAT?

Carl Kovamees ckovamees at digitalresultsgroup.com
Mon Jul 28 07:02:23 PDT 2014


Hi all.

This is about getting through a client side firewall/NAT that assigns new source ports every connection.

I'm using 1.4; gst-rtsp-server and the gst-launch-1.0 with playbin as client.

My client is behind a firewall/NAT that gives random outbound ports. The rtsp-server side is pretty much wide open.

After the RTSP PLAY message, but before the server starts to send RTP packets, the client sends UDP packets to the correct server port (I assume these are the rtspsrc element's dummy packets). However, the client source port is not what was specified in the RTSP SETUP message (client_port) - the firewall seems to assign new ones every time.

Is there any way to override the client_port based on the (dummy packets) source port?

If not, any ideas of how to leverage the rtspsrc element's dummy packets in lieu of implementing libnice or other firewall/NAT traversal technics?


Any ideas are much appreciated - thanks,


/Carl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140728/0a3467b9/attachment.html>


More information about the gstreamer-devel mailing list