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

请问支持Safari吗 #1

Open
griffinqiu opened this issue Apr 27, 2016 · 11 comments
Open

请问支持Safari吗 #1

griffinqiu opened this issue Apr 27, 2016 · 11 comments

Comments

@griffinqiu
Copy link

如题

@nareix
Copy link
Owner

nareix commented Apr 27, 2016

目前不支持。以后可以试试看,有点担心 Safari 的 js 速度。

@roshanca
Copy link

@nareix Safari Technology Preview 的 js 运行速度杠杠的,不用担心。

@griffinqiu
Copy link
Author

既然是解决Mac上的问题, 希望能支持Safari ;)

@nareix
Copy link
Owner

nareix commented Apr 28, 2016

@griffinqiu 我尽力😄

@Artoria2e5
Copy link

@nareix
Copy link
Owner

nareix commented Apr 29, 2016

@Arthur2e5 不错!另外这个测试用例挺好。

@typcn
Copy link

typcn commented May 8, 2016

小心 Safari 的 MSE 有坑
参见这个问题 https://github.com/dailymotion/hls.js/issues/9

友谊的 fmp4 说炸就炸

@nareix
Copy link
Owner

nareix commented May 9, 2016

@typcn 😂 看上去是Safari对fmp4的sample的最后一个duration理解不大一样

@typcn
Copy link

typcn commented May 9, 2016

问题在于:

  1. 第一个分片的 pts 开始于 42ms 之后会导致浏览器卡住(如果没有像 YouTube
    这类视频网站一样做严格的处理,很大一部分都是超过这个值的)
  2. 不同分片之间 pts 间隔超过 42ms ,则不会继续播放

On Mon, May 9, 2016 at 08:05 nareix [email protected] wrote:

@typcn https://github.com/typcn 😂
看上去是Safari对fmp4的sample的最后一个duration理解不大一样


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#1 (comment)

@nareix
Copy link
Owner

nareix commented May 9, 2016

@typcn 国内的flv的h264包经常搞个200ms+的间隔出来,都不知道是缺了几帧还是咋的。。问题2已经手动处理了不然chrome都没法播。问题1就是safari比较挑了,符合safari的一贯作风,其本身的hls也一样,只要pts不大对那就各种诡异问题,播一半没声之类。。

@nareix
Copy link
Owner

nareix commented May 9, 2016

@typcn 多谢分析啊👍

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

5 participants