Fix build

This commit is contained in:
Yukino Song
2025-02-06 18:16:55 +08:00
parent fd059e36f0
commit 78714e65fc
22 changed files with 907 additions and 434 deletions

View File

@@ -584,7 +584,7 @@ namespace rtsp_stream {
}
std::shared_ptr<stream::session_t>
find_session(const std::string& uuid) {
find_session(const std::string_view& uuid) {
auto lg = _session_slots.lock();
for (auto &slot : *_session_slots) {
@@ -638,7 +638,7 @@ namespace rtsp_stream {
return server.session_count();
}
std::shared_ptr<stream::session_t> find_session(const std::string& uuid) {
std::shared_ptr<stream::session_t> find_session(const std::string_view& uuid) {
return server.find_session(uuid);
}