openRtpServerMultiplex接口统一url路径 (#2963)

This commit is contained in:
waken 2023-11-09 20:36:51 +08:00 committed by GitHub
parent 6888f20d74
commit 7f25138b46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1182,7 +1182,8 @@ void installWebApi() {
//回复json
val["port"] = port;
});
api_regist("/media/api/openRtpServerMultiplex", [](API_ARGS_MAP) {
api_regist("/index/api/openRtpServerMultiplex", [](API_ARGS_MAP) {
CHECK_SECRET();
CHECK_ARGS("port", "stream_id");
auto stream_id = allArgs["stream_id"];