Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
videojs-contrib-hls
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
c56e61da
authored
2014-10-27 18:29:49 -0400
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Don't downswitch initial selection
1 parent
b986833f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
c56e61d
...
...
@@ -116,7 +116,8 @@ videojs.Hls.prototype.handleSourceOpen = function() {
// periodically check if new data needs to be downloaded or
// buffered data should be appended to the source buffer
if
(
this
.
bandwidth
!==
this
.
playlists
.
bandwidth
)
{
if
(
this
.
bandwidth
!==
this
.
playlists
.
bandwidth
||
(
this
.
bandwidth
&&
this
.
bandwidth
<
this
.
playlists
.
bandwidth
))
{
this
.
bandwidth
=
this
.
playlists
.
bandwidth
;
selectedPlaylist
=
this
.
selectPlaylist
();
...
...
Please
register
or
sign in
to post a comment