mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-29 14:45:55 +08:00
on_stream_not_found接口检查参数
This commit is contained in:
parent
e9e21e11a2
commit
a317ff8614
@ -507,6 +507,8 @@ void installWebApi() {
|
|||||||
|
|
||||||
API_REGIST_INVOKER(hook,on_stream_not_found,{
|
API_REGIST_INVOKER(hook,on_stream_not_found,{
|
||||||
//媒体未找到事件,我们都及时拉流hks作为替代品,目的是为了测试按需拉流
|
//媒体未找到事件,我们都及时拉流hks作为替代品,目的是为了测试按需拉流
|
||||||
|
CHECK_SECRET();
|
||||||
|
CHECK_ARGS("vhost","app","stream");
|
||||||
addStreamProxy(allArgs["vhost"],
|
addStreamProxy(allArgs["vhost"],
|
||||||
allArgs["app"],
|
allArgs["app"],
|
||||||
allArgs["stream"],
|
allArgs["stream"],
|
||||||
|
Loading…
Reference in New Issue
Block a user