修复推流测试工具查询流时的调用错误 (#1273)

* 修复推流测试工具查询流时的调用错误

* 确保选择正确类型的MediaSource

Co-authored-by: 夏楚 <771730766@qq.com>
This commit is contained in:
648540858
2021-12-14 11:02:30 +08:00
committed by GitHub
parent 54367fef31
commit 7aaa10eb3c

View File

@@ -148,7 +148,7 @@ int main(int argc, char *argv[]) {
proxy->play(in_url);
auto get_src = [schema]() {
return MediaSource::find(schema, DEFAULT_VHOST, "app", "test");
return MediaSource::find(schema, DEFAULT_VHOST, "app", "test", false);
};
//推流器map