Fix OSC/liblo zeroconf, properly query server URL
This commit is contained in:
parent
d704572ed5
commit
bd091906ac
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user