mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 03:31:45 +08:00
统一代码风格
This commit is contained in:
@@ -881,8 +881,7 @@ void installWebApi() {
|
||||
//只是暂停流的检查,流媒体服务器做为流负载服务,收流就转发,RTSP/RTMP有自己暂停协议
|
||||
lock_guard<recursive_mutex> lck(s_rtpServerMapMtx);
|
||||
auto it = s_rtpServerMap.find(allArgs["stream_id"]);
|
||||
if (it == s_rtpServerMap.end())
|
||||
{
|
||||
if (it == s_rtpServerMap.end()) {
|
||||
val["hit"] = 0;
|
||||
return;
|
||||
}
|
||||
@@ -897,8 +896,7 @@ void installWebApi() {
|
||||
|
||||
lock_guard<recursive_mutex> lck(s_rtpServerMapMtx);
|
||||
auto it = s_rtpServerMap.find(allArgs["stream_id"]);
|
||||
if (it == s_rtpServerMap.end())
|
||||
{
|
||||
if (it == s_rtpServerMap.end()) {
|
||||
val["hit"] = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user