]> code.delx.au - pulseaudio/commit
raop: Use the port supplied by avahi when connecting to RAOP devices.
authorColin Guthrie <colin@mageia.org>
Mon, 5 Sep 2011 21:19:41 +0000 (22:19 +0100)
committerColin Guthrie <colin@mageia.org>
Mon, 5 Sep 2011 21:23:17 +0000 (22:23 +0100)
commitd36a9df63ce6c3a9e86103e1617fad7765922315
treed994f6224dad929398d50d01560690203aed1b37
parent8e298848be3a1b2a83b808441adf317da2cecd47
raop: Use the port supplied by avahi when connecting to RAOP devices.

The Apple TV for example uses a non-default port, but we previously ignored
this. We now correctly parse the server string but in so doing, we end up
parsing the address twice. As we need a pure IP/hostname of the device itself
to use in our requests, this is somewhat unavoidable.

Sadly there are still other problems with Apple TVs, but this is still
one step closer.

Fixes part of #950
src/modules/raop/module-raop-discover.c
src/modules/raop/raop_client.c
src/modules/rtp/rtsp_client.c