mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
openRtpServerMultiplex接口统一url路径 (#2963)
This commit is contained in:
parent
6888f20d74
commit
7f25138b46
@ -1182,7 +1182,8 @@ void installWebApi() {
|
|||||||
//回复json
|
//回复json
|
||||||
val["port"] = port;
|
val["port"] = port;
|
||||||
});
|
});
|
||||||
api_regist("/media/api/openRtpServerMultiplex", [](API_ARGS_MAP) {
|
|
||||||
|
api_regist("/index/api/openRtpServerMultiplex", [](API_ARGS_MAP) {
|
||||||
CHECK_SECRET();
|
CHECK_SECRET();
|
||||||
CHECK_ARGS("port", "stream_id");
|
CHECK_ARGS("port", "stream_id");
|
||||||
auto stream_id = allArgs["stream_id"];
|
auto stream_id = allArgs["stream_id"];
|
||||||
|
Loading…
Reference in New Issue
Block a user