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 700953 - Connecting to an ipv4 adress on a ipv6/ipv4 socket handed to the rtsp server causes bad sdp
Connecting to an ipv4 adress on a ipv6/ipv4 socket handed to the rtsp server ...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-rtsp-server
1.x
Other Linux
: Normal normal
: 1.2.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 701049 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-05-24 11:33 UTC by Alexander Schrab
Modified: 2014-02-25 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (1.34 KB, patch)
2013-05-24 11:41 UTC, Alexander Schrab
committed Details | Review

Description Alexander Schrab 2013-05-24 11:33:13 UTC
Connecting to an ipv4 adress on a ipv6/ipv4 socket handed to the rtsp server causes bad sdp. We get a mix of ipv4 and ipv6:

c=IN IP6 192.168.0.1

The reason is that we check the socket for family wich returns ipv6. But the ip string is generated by a glib function that checks the family of the adress, which is ipv4.

I am working on a patch
Comment 1 Alexander Schrab 2013-05-24 11:41:54 UTC
Created attachment 245232 [details] [review]
Patch
Comment 2 Sebastian Dröge (slomo) 2013-05-24 14:18:03 UTC
And it should use separate sockets for IPv4 and IPv6
Comment 3 Alexander Schrab 2013-05-24 14:36:02 UTC
(In reply to comment #2)
> And it should use separate sockets for IPv4 and IPv6

This is only for external servers. Boa in our case...
Comment 4 Sebastian Dröge (slomo) 2013-05-26 15:22:51 UTC
*** Bug 701049 has been marked as a duplicate of this bug. ***
Comment 5 Sebastian Dröge (slomo) 2013-05-27 09:18:13 UTC
commit e047c9fec11429b878865f2814d4bf3d9325427a
Author: Alexander Schrab <alexas@axis.com>
Date:   Fri May 24 13:39:50 2013 +0200

    rtsp-client: ipv4 adress should not be marked ipv6 even if socket is ipv6
    
    https://bugzilla.gnome.org/show_bug.cgi?id=700953