move GetStreamsList body to Streaming.cpp

This commit is contained in:
PobreGato committed 2026-08-17 03:35:32 +03:00
1 parent 08ec42909a
commit 37acd98bdd
2 files changed
+10 -9

No files matched your search

+9
View File
@@ -2375,6 +2375,15 @@ namespace stream
}
}
std::vector<std::shared_ptr<const Stream> > StreamingDestination::GetStreamsList ()
{
std::vector<std::shared_ptr<const Stream> > streams;
std::lock_guard<std::mutex> l(m_StreamsMutex);
for (const auto& it: m_Streams)
streams.push_back (it.second);
return streams;
}
bool StreamingDestination::DeleteStream (uint32_t recvStreamID)
{
auto it = m_Streams.find (recvStreamID);