mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-19 12:06:15 +02:00
Publish HTTPS port via mdns
This commit is contained in:
parent
2937bffaa5
commit
59bff3e4f9
2 changed files with 9 additions and 4 deletions
|
@ -354,9 +354,14 @@ int main(int argc, char* argv[])
|
|||
{
|
||||
dns_services.emplace_back("_snapcast-http._tcp", settings.http.port);
|
||||
}
|
||||
if (settings.http.ssl_enabled)
|
||||
{
|
||||
dns_services.emplace_back("_snapcast-https._tcp", settings.http.ssl_port);
|
||||
}
|
||||
|
||||
publishZeroConfg->publish(dns_services);
|
||||
#endif
|
||||
if (settings.http.enabled)
|
||||
if (settings.http.enabled || settings.http.ssl_enabled)
|
||||
{
|
||||
if ((settings.http.host == "<hostname>") || settings.http.host.empty())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue