decrease buffer seconds for saving bandwidth
All checks were successful
Invidious CI / build (push) Successful in 7m43s
All checks were successful
Invidious CI / build (push) Successful in 7m43s
This commit is contained in:
parent
73ba53a327
commit
0c3e5baab0
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ videojs.Vhs.xhr.beforeRequest = function(options) {
|
|||
return options;
|
||||
};
|
||||
|
||||
videojs.Vhs.GOAL_BUFFER_LENGTH = 20;
|
||||
videojs.Vhs.MAX_GOAL_BUFFER_LENGTH = 30;
|
||||
|
||||
var player = videojs('player', options);
|
||||
|
||||
player.on('error', function () {
|
||||
|
|
Loading…
Reference in a new issue