mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-20 21:10:54 +08:00
新增发送rtp被动关闭hook
This commit is contained in:
@@ -1673,6 +1673,10 @@ void installWebApi() {
|
||||
val["close"] = true;
|
||||
});
|
||||
|
||||
api_regist("/index/hook/on_send_rtp_stopped",[](API_ARGS_JSON){
|
||||
//发送rtp(startSendRtp)被动关闭时回调
|
||||
});
|
||||
|
||||
static auto checkAccess = [](const string ¶ms){
|
||||
//我们假定大家都要权限访问
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user