mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
getMediaList接口可以刷选stream:#669
This commit is contained in:
parent
122c853119
commit
bca2b403ae
@ -441,6 +441,9 @@ void installWebApi() {
|
|||||||
if (!allArgs["app"].empty() && allArgs["app"] != media->getApp()) {
|
if (!allArgs["app"].empty() && allArgs["app"] != media->getApp()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if (!allArgs["stream"].empty() && allArgs["stream"] != media->getId()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
val["data"].append(makeMediaSourceJson(media));
|
val["data"].append(makeMediaSourceJson(media));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user