Commit 6f5bd998 authored by mgabdev's avatar mgabdev

Updated video buffer interval check

• Updated:
- video buffer interval check
parent 61a40264
......@@ -209,7 +209,7 @@ class Video extends ImmutablePureComponent {
const { currentTime } = this.video
// Checking offset should be at most the check interval but allow for some margin
let offset = checkInterval / 1000
let offset = (checkInterval - 30) / 1000
if (!isBuffering && currentTime < (this.lastPlayPos + offset) && !paused) {
// If no buffering is currently detected, and the position does not seem to increase
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment