rtsp-stream: Only use the address pool for unicast UDP if it contains unicast addresses
authorSebastian Dröge <sebastian@centricular.com>
Thu, 3 Mar 2016 08:41:51 +0000 (10:41 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 3 Mar 2016 08:43:13 +0000 (10:43 +0200)
commita7ced98346c6d49c4569d1b609a773a042c46796
tree681f39e9cb32fc0caebd973040265e39c519bf5c
parent406ed190acdba2007f42cc12d30ce4029cd1c3d1
rtsp-stream: Only use the address pool for unicast UDP if it contains unicast addresses

Otherwise we fail to allocate UDP ports if the pool only contains multicast
addresses, which is something that used to work before. For unicast addresses
if the pool contains none, we just allocate them as if there is no pool at
all.

https://bugzilla.gnome.org/show_bug.cgi?id=757488
gst/rtsp-server/rtsp-stream.c