configurable control port (avahi: _snapcast-jsonrpc._tcp)

This commit is contained in:
badaix 2015-09-08 21:27:08 +02:00
parent dee9507f37
commit 48fc8330c5
3 changed files with 5 additions and 1 deletions

View file

@ -45,6 +45,7 @@ struct StreamServerSettings
{
StreamServerSettings() :
port(1704),
controlPort(1705),
fifoName("/tmp/snapfifo"),
codec("flac"),
bufferMs(1000),
@ -53,6 +54,7 @@ struct StreamServerSettings
{
}
size_t port;
size_t controlPort;
std::string fifoName;
std::string codec;
int32_t bufferMs;