add rtp server timeout hook

This commit is contained in:
xiongguangjie
2022-11-10 16:58:02 +08:00
parent af554bc376
commit bc63142712
6 changed files with 58 additions and 2 deletions

View File

@@ -1761,6 +1761,11 @@ void installWebApi() {
api_regist("/index/hook/on_server_keepalive",[](API_ARGS_JSON){
//心跳hook
});
api_regist("/index/hook/on_rtp_server_timeout",[](API_ARGS_JSON){
//rtp server 超时
TraceL <<allArgs.getArgs().toStyledString();
});
}
void unInstallWebApi(){