mirror of
https://github.com/badaix/snapcast.git
synced 2025-04-28 17:57:05 +02:00
listen to both IPV6 and IPV4 incoming connections: binding to "::" implies both protocols (#1290)
Co-authored-by: Johannes Pohl <johannes.pohl@badaix.de>
This commit is contained in:
parent
be77ddb08b
commit
0e283f9bad
1 changed files with 4 additions and 4 deletions
|
@ -69,8 +69,8 @@ struct ServerSettings
|
|||
bool ssl_enabled{false};
|
||||
size_t port{1780};
|
||||
size_t ssl_port{1788};
|
||||
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
|
||||
std::vector<std::string> ssl_bind_to_address{{"0.0.0.0"}};
|
||||
std::vector<std::string> bind_to_address{{"::"}};
|
||||
std::vector<std::string> ssl_bind_to_address{{"::"}};
|
||||
std::string doc_root{""};
|
||||
std::string host{"<hostname>"};
|
||||
std::string url_prefix{""};
|
||||
|
@ -80,7 +80,7 @@ struct ServerSettings
|
|||
{
|
||||
bool enabled{true};
|
||||
size_t port{1705};
|
||||
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
|
||||
std::vector<std::string> bind_to_address{{"::"}};
|
||||
};
|
||||
|
||||
struct Stream
|
||||
|
@ -92,7 +92,7 @@ struct ServerSettings
|
|||
std::string sampleFormat{"48000:16:2"};
|
||||
size_t streamChunkMs{20};
|
||||
bool sendAudioToMutedClients{false};
|
||||
std::vector<std::string> bind_to_address{{"0.0.0.0"}};
|
||||
std::vector<std::string> bind_to_address{{"::"}};
|
||||
};
|
||||
|
||||
struct StreamingClient
|
||||
|
|
Loading…
Add table
Reference in a new issue