getMediaList接口可以刷选stream:#669

This commit is contained in:
xiongziliang 2021-01-02 20:12:33 +08:00
parent 122c853119
commit bca2b403ae

View File

@ -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));
}); });
}); });