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
83237357
authored
2014-11-05 14:14:33 -0500
by
Gary Katsevman
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Use setBandwidth in loadedmetadata
1 parent
831c403d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
src/videojs-hls.js
src/videojs-hls.js
View file @
8323735
...
...
@@ -125,8 +125,7 @@ videojs.Hls.prototype.handleSourceOpen = function() {
};
oldMediaPlaylist
=
this
.
playlists
.
media
();
this
.
bandwidth
=
this
.
playlists
.
bandwidth
;
this
.
trigger
(
'bandwidthupdate'
);
this
.
setBandwidth
(
this
.
playlists
);
selectedPlaylist
=
this
.
selectPlaylist
();
oldBitrate
=
oldMediaPlaylist
.
attributes
&&
...
...
Please
register
or
sign in
to post a comment