mirror of https://github.com/VueTubeApp/VueTube
increase timeout to prevent buffering jitter loops
This commit is contained in:
parent
1ba6ddb0df
commit
b3140464db
|
@ -474,7 +474,7 @@ export default {
|
||||||
});
|
});
|
||||||
|
|
||||||
// buffering detection & sync
|
// buffering detection & sync
|
||||||
let threshold = 3; //ms after which user perceives buffering
|
let threshold = 100; //ms after which user perceives buffering
|
||||||
|
|
||||||
vid.addEventListener("waiting", () => {
|
vid.addEventListener("waiting", () => {
|
||||||
if (!vid.paused) {
|
if (!vid.paused) {
|
||||||
|
|
Loading…
Reference in New Issue