增加支持TCP暂停

This commit is contained in:
sunhui 2021-03-11 10:05:53 +08:00
parent f5e8bae760
commit ce80edffd2

View File

@ -851,7 +851,7 @@ void installWebApi() {
return;
}
auto server = it->second;
server->pauseRtpCheck();
server->pauseRtpCheck(allArgs["stream_id"]);
val["hit"] = 1;
});
@ -866,7 +866,7 @@ void installWebApi() {
return;
}
auto server = it->second;
server->resumeRtpCheck();
server->resumeRtpCheck(allArgs["stream_id"]);
val["hit"] = 1;
});