This commit is contained in:
cxh 2025-10-15 15:47:25 +08:00
parent acd63a7901
commit b011f97d47

View File

@ -287,3 +287,8 @@ void RTMPManager::stop_all()
LOG_INFO("[RTMP] stop_all completed.");
}
std::string RTMPManager::get_stream_url(const std::string &cam_name, StreamType type)
{
return "rtmp://127.0.0.1/live/" + make_stream_key(cam_name, type);
}