-
Notifications
You must be signed in to change notification settings - Fork 141
chrome tab页切换引起播放延迟加大 #44
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
Comments
切换后,就把数据丢掉,然后缓存一下最后的关键帧,等切换回来后再把丢到播放buffer? |
Let me mark this after 4 years. t.onprogress = function() {
t.currentTime < t.seekable.end(0) - .3 && (t.currentTime = t.seekable.end(0) - .3)
} which t is the HtmlVideoElement. |
在onSBUpdateEnd函数中添加如下追赶代码:
|
tks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
chrome 版本 84.0.4147.105(正式版本) (64 位)
win10 64位
切换tab到其他页面,再切换回来,发现视频从切换前开始播放, 后来似乎在努力追赶播放进度, 但切换时间过长还是无法追赶上。
有没有什么定位思路?
The text was updated successfully, but these errors were encountered: