[Bug 796875] rtsp-client: always allocate both IPV4 and IPV6 sockets

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 27 17:23:17 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796875

--- Comment #4 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #2)
> Review of attachment 373163 [details] [review]:
> 
> ::: gst/rtsp-server/rtsp-client.c
> @@ +1880,1 @@
>              use_client_settings))
> 
> Does this make use of the address pool properly? It might be that there are
> only v4 or v6 addresses in the pool, then allocation of the other would fail
> here and we should probably not error out then but continue with only that
> one family (assuming it's the same family as was requested here, "family"
> variable)
> 
> @@ +1895,3 @@
> +        GSocketFamily family;
> +
> +        family = priv->is_ipv6 ? G_SOCKET_FAMILY_IPV6 :
> G_SOCKET_FAMILY_IPV4;
> 
> Same thing here as above, but also the family actually depends on what
> multicast address is selected and available in the pool at all.
> 
> I don't think this is correct as is.
> 

Good catch, thanks, updated the patch (it also was making the unit tests fail)

> 
> Also see https://bugzilla.gnome.org/show_bug.cgi?id=793441, there will have
> to be multiple udpsinks in the end. One for each multicast destination, and
> corresponding udpsrcs. Due to ports.

Right, that's a different issue however :)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list