mirror of
https://github.com/badaix/snapcast.git
synced 2025-09-26 01:13:59 +08:00
Rename stream.stream to stream.source
This commit is contained in:
@ -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";
|
||||
}
|
||||
|
Reference in New Issue
Block a user