mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-04-02 11:40:52 +08:00
补充getMediaPlayerList接口注释及postman示例
This commit is contained in:
@@ -741,6 +741,8 @@ void installWebApi() {
|
||||
val["online"] = (bool) (MediaSource::find(allArgs["schema"],allArgs["vhost"],allArgs["app"],allArgs["stream"]));
|
||||
});
|
||||
|
||||
//获取媒体流播放器列表
|
||||
//测试url http://127.0.0.1/index/api/getMediaPlayerList?schema=rtsp&vhost=__defaultVhost__&app=live&stream=obs
|
||||
api_regist("/index/api/getMediaPlayerList",[](API_ARGS_MAP_ASYNC){
|
||||
CHECK_SECRET();
|
||||
CHECK_ARGS("schema", "vhost", "app", "stream");
|
||||
|
||||
Reference in New Issue
Block a user