mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-13 11:41:44 +08:00
修复流注册事件track和regist字段缺失的bug
This commit is contained in:
@@ -301,14 +301,15 @@ void installWebHook(){
|
||||
return;
|
||||
}
|
||||
ArgsType body;
|
||||
body["regist"] = bRegist;
|
||||
if (bRegist) {
|
||||
body = makeMediaSourceJson(sender);
|
||||
body["regist"] = bRegist;
|
||||
} else {
|
||||
body["schema"] = sender.getSchema();
|
||||
body["vhost"] = sender.getVhost();
|
||||
body["app"] = sender.getApp();
|
||||
body["stream"] = sender.getId();
|
||||
body["regist"] = bRegist;
|
||||
}
|
||||
//执行hook
|
||||
do_http_hook(hook_stream_chaned,body, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user