13
0

Fix OSC/liblo zeroconf, properly query server URL

This commit is contained in:
Robin Gareus 2022-12-13 17:15:54 +01:00
parent d704572ed5
commit bd091906ac
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -244,9 +244,11 @@ OSC::start ()
}
#endif
PBD::info << "OSC @ " << get_server_url () << endmsg;
std::string server_url (get_server_url ());
_zeroconf = new ZeroConf ("_osc._udp", _port, lo_address_get_hostname (_osc_server));
PBD::info << "OSC @ " << server_url << endmsg;
_zeroconf = new ZeroConf ("_osc._udp", _port, lo_url_get_hostname (server_url.c_str()));
std::string url_file;