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

Dash不支持范围加载 #1674

Open
manfwh opened this issue Dec 10, 2024 · 0 comments
Open

Dash不支持范围加载 #1674

manfwh opened this issue Dec 10, 2024 · 0 comments

Comments

@manfwh
Copy link

manfwh commented Dec 10, 2024

您使用的西瓜播放器版本是多少? What version of xgplayer are you using?
3.0.20

您使用的操作系统和浏览器分别是? What OS and browser are you using?
Windows chrome 131

如何复现问题? How to reproduce the problem?
官方仓库下 fixtures/dash 就可以复现
image
请求头的 Range 是 bytes=0,服务端会认为是加载全部,而且这个 bytes=0 格式也不符合HTTP 协议标准,应该是 bytes=0- https://dl.acm.org/doi/epdf/10.17487/RFC7233](https://dl.acm.org/doi/epdf/10.17487/RFC7233
如果视频资源放到阿里云的CDN上,会返回 416 Requested Range Not Satisfiable

您期望的播放器正常行为是? What did you expect to happen?
image
image

这个是Dash.js加载的同一个视频,能够正确解析到 mpd 里的 range。

实际播放器的表现是? What actually happened?

可填写您所在的公司和相关产品业务,方便我们提供更好的技术支持 You can write your company and product which uses xgplayer, for helping us provide better technical support.

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

No branches or pull requests

1 participant