stream: add more support for IPv6
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 1 Jul 2013 14:46:07 +0000 (16:46 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 1 Jul 2013 14:46:39 +0000 (16:46 +0200)
commita7fe63298cd0535eda939ccb3c89d0f0d8d2bdae
treeef495d8409e91e2638e64c5ac3ef722b53576929
parent13016309b1dddd4f89aa2300a3e0576b451d8171
stream: add more support for IPv6

Rename _get_address to _get_multicast_address in GstRTSPStream to
make it clear that this function only deals with multicast.
Make it possible to have both an IPv4 and IPv6 multicast address on
a stream. Give the client an IPv4 or IPv6 address depending on the
address it used to connect to the server.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=702002
gst/rtsp-server/rtsp-client.c
gst/rtsp-server/rtsp-stream.c
gst/rtsp-server/rtsp-stream.h