After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 602321 - gst-rtsp-server does not listen for IPv6 connections
gst-rtsp-server does not listen for IPv6 connections
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
0.10.5
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-18 16:25 UTC by David Ward
Modified: 2010-03-19 16:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Make gst-rtsp-server IPv6-only (4.29 KB, patch)
2009-11-19 06:53 UTC, David Ward
none Details | Review

Description David Ward 2009-11-18 16:25:17 UTC
gst-rtsp-server 0.10.5 (or at least the example applications that it builds) seem not to listen for IPv6 connections.  When running the example applications test-video and test-ogg, an incoming TCPv6 connection on port 8554 is refused immediately with a TCP RST, while the TCPv4 connection works fine.
Comment 1 David Ward 2009-11-19 06:53:58 UTC
Created attachment 148100 [details] [review]
Make gst-rtsp-server IPv6-only

As a starting point, I was able to convert gst-rtsp-server from IPv4-only to IPv6-only, with the attached patch.  Using these changes I was able to stream a Theora video over IPv6 with the test-ogg example application.

I'm not sure what needs to happen to move forward though:  should gst-rtsp-server listen simultaneously for incoming IPv4 and IPv6 connections (by opening both sockets)...  or should the calling code have to select an address family?
Comment 2 Wim Taymans 2009-11-20 15:04:00 UTC
It would be nice to have some flags that specify what version to use. I guess it then needs 2 sockets, one for each version..
Comment 3 Wim Taymans 2010-03-10 10:53:08 UTC
I'm not going to merge your patch but I did play around a little and got quite far. git versions of the server can now be configured to bind to an ipv6 address. 

The reamining things left is to put the IPV6 stuff in the SDP and to configure the udp sockets in ipv6.
Comment 4 Wim Taymans 2010-03-19 16:20:25 UTC
With git version of gst-rtsp-server, if you configure the server part to listen on ::0 (or similar IPV6 addresses) it should serve everything over IPV6.