Don't downswitch initial selection
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -116,7 +116,8 @@ videojs.Hls.prototype.handleSourceOpen = function() { | ... | @@ -116,7 +116,8 @@ videojs.Hls.prototype.handleSourceOpen = function() { |
116 | // periodically check if new data needs to be downloaded or | 116 | // periodically check if new data needs to be downloaded or |
117 | // buffered data should be appended to the source buffer | 117 | // buffered data should be appended to the source buffer |
118 | 118 | ||
119 | if (this.bandwidth !== this.playlists.bandwidth) { | 119 | if (this.bandwidth !== this.playlists.bandwidth || |
120 | (this.bandwidth && this.bandwidth < this.playlists.bandwidth)) { | ||
120 | this.bandwidth = this.playlists.bandwidth; | 121 | this.bandwidth = this.playlists.bandwidth; |
121 | 122 | ||
122 | selectedPlaylist = this.selectPlaylist(); | 123 | selectedPlaylist = this.selectPlaylist(); | ... | ... |
-
Please register or sign in to post a comment