统一代码命名风格 (#2910)

openRtpServer时,如果开启tcp模式,从tcp端口池获取
This commit is contained in:
ljx0305
2023-10-19 17:55:30 +08:00
committed by GitHub
parent b8cb8957e4
commit 7ee2d66eaa
7 changed files with 47 additions and 13 deletions

View File

@@ -674,7 +674,7 @@ void installWebHook() {
});
});
NoticeCenter::Instance().addListener(&web_hook_tag, Broadcast::KBroadcastRtpServerTimeout, [](BroadcastRtpServerTimeoutArgs) {
NoticeCenter::Instance().addListener(&web_hook_tag, Broadcast::kBroadcastRtpServerTimeout, [](BroadcastRtpServerTimeoutArgs) {
GET_CONFIG(string, rtp_server_timeout, Hook::kOnRtpServerTimeout);
if (!hook_enable || rtp_server_timeout.empty()) {
return;
@@ -703,4 +703,4 @@ void unInstallWebHook() {
void onProcessExited() {
reportServerExited();
}
}