-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
延迟问题 #258
Comments
video.currentTime设到buffered.end(0)附近 |
@xqq 如果0缓存解码,那么在弱网络环境下如何结果因网络抖动引发的问题? |
所以说附近,往前减一两秒不就完了 |
@xqq |
访问前先检查 buffered.length > 0 |
又来麻烦您了 有几个问题想请教一下 buffered.length在什么情况下会出出现小于等于0得情况 还有现在得应用场景同时播放6个直播流 卡顿情况不一 是什么引起得?如何解决? |
请问一下,video.currentTime设到buffered.end(0)附近 这个代码具体应该在哪里进行设置呢? |
楼上同学 我大概明白了 就是让 currenttime 和 bufferend 时间保持一直吗?我有个问题,是我要随时,比如一秒就设置一次,还是说在播放的最开始 进行一次 时间同步就行了呢?谢谢 |
保持一致那播放过程中就一直在跳跃了 |
抱歉楼上的同学,可能我的确还是没理解。能不能给一个简单的demo呢?可能那样更快。我目前的测试是:开始上来就做一次相等,但没什么用,如果实时过程中 实时更新 就是一卡一卡的播放,也不行。我现在测试 延时都在5-6秒,求大神给个demo 吧 |
1.没有使用音频且使用
{
enableWorker: true,
enableStashBuffer: false,
stashInitialSize: 128,
}
后,直播的延迟在5s左右,如何降低延迟呢?或者该插件造成延迟的原因可能有哪些?
The text was updated successfully, but these errors were encountered: