diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-09-06 19:10:21 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-09-06 19:10:21 +0300 |
commit | e5a49efa7ffce2ca2eeefb1a8bad97edfc96649f (patch) | |
tree | 254fb2dd77a59b45e8754658396cb5c84ee7a2f1 | |
parent | 6136ef66d4333cc8cf17eb3b28f3746a0cf9346c (diff) |
rtsp-stream: Bind multicast sockets to ANY as before
https://bugzilla.gnome.org/show_bug.cgi?id=766612#c48
-rw-r--r-- | gst/rtsp-server/rtsp-stream.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c index 5773fa6..9bef965 100644 --- a/gst/rtsp-server/rtsp-stream.c +++ b/gst/rtsp-server/rtsp-stream.c @@ -1284,7 +1284,10 @@ again: tmp_rtp = addr->port; g_clear_object (&inetaddr); - inetaddr = g_inet_address_new_from_string (addr->address); + if (multicast) + inetaddr = g_inet_address_new_any (family); + else + inetaddr = g_inet_address_new_from_string (addr->address); } else { if (tmp_rtp != 0) { tmp_rtp += 2; |