Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[功能请求] 希望能够拉取常规的HTTP二进制直播流 #3638

Closed
Subdue0 opened this issue Jun 18, 2024 · 1 comment
Closed

[功能请求] 希望能够拉取常规的HTTP二进制直播流 #3638

Subdue0 opened this issue Jun 18, 2024 · 1 comment

Comments

@Subdue0
Copy link

Subdue0 commented Jun 18, 2024

if ((strcasecmp("http", prefix.data()) == 0 || strcasecmp("https", prefix.data()) == 0)) {
if (end_with(url, ".m3u8") || end_with(url_in, ".m3u8")) {
return PlayerBase::Ptr(new HlsPlayerImp(poller), release_func);
}
if (end_with(url, ".ts") || end_with(url_in, ".ts")) {
return PlayerBase::Ptr(new TsPlayerImp(poller), release_func);
}
if (end_with(url, ".flv") || end_with(url_in, ".flv")) {
return PlayerBase::Ptr(new FlvPlayerImp(poller), release_func);
}
}

这块代码已经卡死了,不支持不带后缀的常规二进制视频流。

Copy link

此issue由于不符合模板规范已经自动关闭,请重新按照模板规范确保包含模板中所有章节标题再提交

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant