mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 15:46:42 +02:00
Rename stream.stream to stream.source
This commit is contained in:
parent
db17f1b986
commit
0f91bb1935
4 changed files with 24 additions and 16 deletions
|
@ -692,9 +692,9 @@ void Server::start()
|
|||
streamManager_ =
|
||||
std::make_unique<StreamManager>(this, io_context_, settings_.stream.sampleFormat, settings_.stream.codec, settings_.stream.streamChunkMs);
|
||||
// throw SnapException("xxx");
|
||||
for (const auto& streamUri : settings_.stream.pcmStreams)
|
||||
for (const auto& sourceUri : settings_.stream.sources)
|
||||
{
|
||||
PcmStreamPtr stream = streamManager_->addStream(streamUri);
|
||||
PcmStreamPtr stream = streamManager_->addStream(sourceUri);
|
||||
if (stream)
|
||||
LOG(INFO, LOG_TAG) << "Stream: " << stream->getUri().toJson() << "\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue