mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-05 19:15:32 +00:00
media-pipeline: Bind to the unspecified IPv6 address
IPv4 keeps working through the magic of IPv4 mapped IPv6 addresses. Without this change errors about invalid address family will be raised when trying to connect to a IPv6 host. Bail out! CallsSipMediaPipeline-FATAL-WARNING: Error on the message bus: Could not get/set settings from/on resource. (../gst/udp/gstmultiudpsink.c(1228): gst_multiudpsink_configure_client (): /GstPipeline:media-pipeline/GstUDPSink:rtcp-udp-sink: Invalid address family (got 10)) See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019292
This commit is contained in:
parent
a5abb7dbaa
commit
2a5e96cda2
1 changed files with 2 additions and 2 deletions
|
@ -690,9 +690,9 @@ pipeline_init (CallsSipMediaPipeline *self,
|
|||
MAKE_ELEMENT (rtcp_sink, "udpsink", "rtcp-udp-sink");
|
||||
|
||||
/* port 0 means letting the OS allocate */
|
||||
g_object_set (self->rtp_src, "port", 0, NULL);
|
||||
g_object_set (self->rtp_src, "port", 0, "address", "::", NULL);
|
||||
|
||||
g_object_set (self->rtcp_src, "port", 0, NULL);
|
||||
g_object_set (self->rtcp_src, "port", 0, "address", "::", NULL);
|
||||
|
||||
g_object_set (self->rtp_sink, "async", FALSE, "sync", FALSE, NULL);
|
||||
g_object_set (self->rtcp_sink, "async", FALSE, "sync", FALSE, NULL);
|
||||
|
|
Loading…
Reference in a new issue