Multiple audio track support (#681)
* Support for multiple alternate audio tracks * Separated segment loading logic into a reusable piece of functionality so that we can have more than one segment loader and they can manage the segment fetch behavior unique to each playlist they are loading from * Introduced the MasterPlaylistController to coordinate the loading of the master playlist and separate the behavior of the player from videojs-contrib-hls.js leaving the latter to be the glue between HLS and the video element's events * Added the SourceUpdater to manage the asynchronous bahavior of SourceBuffers and MediaSource objects so that we can treat it as a non-blocking work queue * Added parsing for MediaGroups in master playlists * Added support for AudioTrackList objects and events * Add support for every HLS mime type possible (#684) * Flash live fixes (#682)
Showing
93 changed files
with
2975 additions
and
172 deletions
docs/multiple-alternative-audio-tracks.md
0 → 100644
docs/segment-loader-states.png
0 → 100644
58.2 KB
examples/index.html
0 → 100644
src/hls-audio-track.js
0 → 100644
src/master-playlist-controller.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
src/ranges.js
0 → 100644
src/segment-loader.js
0 → 100644
This diff is collapsed.
Click to expand it.
src/source-updater.js
0 → 100644
This diff is collapsed.
Click to expand it.
test/hls-audio-track.test.js
0 → 100644
test/master-playlist-controller.test.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
test/ranges.test.js
0 → 100644
test/segment-loader.test.js
0 → 100644
This diff is collapsed.
Click to expand it.
test/source-updater.test.js
0 → 100644
test/test-helpers.js
0 → 100644
This diff could not be displayed because it is too large.
utils/manifest/alternateAudio.js
0 → 100644
utils/manifest/alternateAudio.m3u8
0 → 100644
utils/manifest/alternateVideo.js
0 → 100644
utils/manifest/alternateVideo.m3u8
0 → 100644
utils/manifest/multipleAudioGroups.js
0 → 100644
utils/manifest/multipleAudioGroups.m3u8
0 → 100644
utils/manifest/multipleVideo.js
0 → 100644
utils/manifest/multipleVideo.m3u8
0 → 100644
utils/stats/audio-track-selector.js
0 → 100644
-
Please register or sign in to post a comment