Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DNM] PR Test jwplayer/hls.js upgrade to v0.13.x #244

Closed
wants to merge 272 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
272 commits
Select commit Hold shift + click to select a range
a3a534e
include tag in idShort
Dec 15, 2018
3135618
Merge pull request #2048 from video-dev/format-commit-as-code
tjenkinson Dec 15, 2018
24fc00c
Merge pull request #2047 from video-dev/update-demo-links-issue-templ…
tjenkinson Dec 15, 2018
0bd2347
escape `
tjenkinson Dec 16, 2018
c415d5a
Merge pull request #2049 from video-dev/fix-escaping
tjenkinson Dec 16, 2018
41915f3
Merge pull request #1829 from mbeijen/isTypeSupported-audio-codecs
michaelcunningham19 Dec 17, 2018
cabcfc9
Check if PTS has wrapped after applying PTS time offset (#2056)
johnBartos Dec 21, 2018
a1df93a
Intialize vttCCs map with cc 0 (#2058)
johnBartos Dec 21, 2018
ee97e11
use the version from package.json when deploying
Dec 22, 2018
259c6c0
Merge pull request #2060 from video-dev/use-package-json-version-for-…
tjenkinson Dec 22, 2018
1adc39e
fix: abrFactor greater than in docs
jonnyboris Jan 8, 2019
253c861
Changes clone function used in webpack config to be the webpack recom…
itsjamie Jan 10, 2019
7021254
Merge pull request #2075 from itsjamie/update-webpack-merge
michaelcunningham19 Jan 12, 2019
88a084b
Merge pull request #2069 from jonnyboris/master
michaelcunningham19 Jan 15, 2019
1896cf7
prod: add bandwidthEstimate method
Beraliv Jan 21, 2019
16685b3
docs: add bandwidthEstimate
Beraliv Jan 21, 2019
c4e802c
test: add autotest
Beraliv Jan 21, 2019
ea3e1f0
Convert buffer-controller.js to TypeScript
itsjamie Jan 9, 2019
20ac9cb
test: review changes
Beraliv Jan 21, 2019
982f309
docs: review fix
Beraliv Jan 21, 2019
3eaa870
prod: add review fix
Beraliv Jan 21, 2019
a0465f6
docs: update
johnBartos Jan 21, 2019
86ec335
docs: update 2
Beraliv Jan 21, 2019
938eaba
docs: fix link
Beraliv Jan 21, 2019
77be93d
test: equal => strictEqual
Beraliv Jan 22, 2019
4af7ed9
test: add mocked _bwEstimator
Beraliv Jan 22, 2019
946ed07
test: change description
Beraliv Jan 22, 2019
fee36fd
test: (() => { ... }) => function () { ... }
Beraliv Jan 22, 2019
e2e480f
Merge pull request #2073 from itsjamie/buffer-controller-ts
michaelcunningham19 Jan 22, 2019
dc6c404
Merge pull request #2086 from Beraliv/master
michaelcunningham19 Jan 22, 2019
3fd4e2a
Increase BufferHelper test coverage to 100% (#2052)
springuper Jan 22, 2019
d8be3dc
Increase adts.js test coverage to 100% (#2053)
springuper Jan 22, 2019
4e2ae38
Convert eme-controller to TypeScript.
itsjamie Jan 10, 2019
63db40f
Listen to media detached
itsjamie Jan 23, 2019
3e43bf9
Choose bitrate in Bps (#2091)
Beraliv Jan 23, 2019
361b563
Merge pull request #2076 from itsjamie/eme-controller-ts
michaelcunningham19 Jan 25, 2019
86b4e15
Upgrade tests to Chai BDD & optimize runner (#2037)
johnBartos Jan 25, 2019
260a8a0
Fix #2061
itsjamie Jan 26, 2019
d93d453
configure netlify for PR's
Jan 26, 2019
e5a3a78
check if repo is shallow before fetching
Jan 26, 2019
35c4553
handle 'netlifyPr' in set-package-version
Jan 26, 2019
a8f99c4
tabs => spaces
Jan 26, 2019
f69bf3e
add commit to version when PR
Jan 26, 2019
e2e71c7
always trim command output
Jan 27, 2019
e7f9c9e
Merge pull request #2100 from itsjamie/patch-1
michaelcunningham19 Jan 28, 2019
dcb3db6
Merge pull request #2101 from video-dev/netlify
tjenkinson Jan 28, 2019
64f13c4
Update Fragment and LevelKey to typescript.
itsjamie Jan 29, 2019
af437da
Update usage of Fragment and LevelKey.
itsjamie Jan 29, 2019
40e81b8
Don't pass prevFrag into EXT-X-MAP handling.
itsjamie Jan 29, 2019
2a80ff2
Add tests for parsing byte range as seperate call.
itsjamie Jan 29, 2019
b37a351
Only parse byte range if it exists.
itsjamie Jan 29, 2019
a742c30
Apply suggestions from code review
tjenkinson Jan 29, 2019
2e2cb12
Review changes.
itsjamie Jan 29, 2019
c8b0048
Review comments pt.2
itsjamie Jan 29, 2019
150d1e6
Change tests to call setByteRange
itsjamie Jan 29, 2019
9329b55
Explicit handling of 'initSegment' conversion for bitwise operation.
itsjamie Jan 30, 2019
a0c28c5
Fix lint warnings in m3u8-parser.js in prep for TS conversion. (#2106)
itsjamie Jan 30, 2019
5b6d7fe
fix console null reference in logger (in webworkers) (#2095)
mad-gooze Jan 30, 2019
ec1700d
(misc) Adding ace editor to demo to enable advanced customization (#2…
michaelcunningham19 Jan 30, 2019
3902e1f
Add handling for AES-128 encrypted initialization segments needing IV.
itsjamie Jan 30, 2019
a31f1be
Change IV handling for initSegments to just log a warning.
itsjamie Feb 2, 2019
80d855b
Playlist-loader rename.
itsjamie Jan 30, 2019
a3ca2f1
Playlist Loader conversion to TypeScript.
itsjamie Jan 30, 2019
b0040fe
Lint fixes
itsjamie Feb 5, 2019
2bd34b8
Merge pull request #2107 from itsjamie/fragment-typescript
michaelcunningham19 Feb 5, 2019
5519a2c
Allow console statement in test bench and saucelabs code.
itsjamie Feb 5, 2019
0bbb9b8
Update webpack to use babel loader with support for TS. (#2119)
itsjamie Feb 7, 2019
ff0aa54
Basic typescript of event handler.
itsjamie Feb 11, 2019
48f64de
remove events/EventEmitter && move Observer to ts (#2097)
mad-gooze Feb 11, 2019
3a3f817
Merge pull request #2116 from itsjamie/lint-fixes
michaelcunningham19 Feb 12, 2019
fd7f6d3
Fixed case of 'They use hls.js in production!' header and updated Via…
brentsmith-dev Feb 12, 2019
421fe24
(misc) Removing IE8-specific (dead) vtt/cue code
michaelcunningham19 Feb 12, 2019
3ff8eb2
Merge pull request #2128 from video-dev/misc/remove-ie8-vtt-code
michaelcunningham19 Feb 13, 2019
52bc8fb
(misc): converting binary search to typescript (#2129)
michaelcunningham19 Feb 13, 2019
4b4a067
Reduce GC pressure from ID3._utf8ArrayToStr (#2035)
mfedderly Feb 13, 2019
2e9f2de
GH-2082: Replacing usage of Array.prototype.find/findIndex (#2117)
michaelcunningham19 Feb 14, 2019
29ad34d
Merge pull request #2130 from itsjamie/event-handler-ts
itsjamie Feb 14, 2019
90b1592
Merge branch 'master' of github.com:video-dev/hls.js into playlist-lo…
itsjamie Feb 22, 2019
8a18152
Callbacks are defined, removing TODO.
itsjamie Feb 22, 2019
3039420
Change responseType to string
itsjamie Feb 23, 2019
50e462e
Typo fix for destory -> destroy.
itsjamie Feb 23, 2019
e8a4085
mp4-remuxer / remuxAudio() : recompute mdatSize / dont rely on audioT…
mangui Feb 24, 2019
452b261
Change networkDetails type to "unknown".
itsjamie Feb 25, 2019
a3f95fc
Merge branch 'playlist-loader-typescript' of github.com:itsjamie/hls.…
itsjamie Feb 25, 2019
7e0c599
Merge pull request #2144 from itsjamie/playlist-loader-typescript
itsjamie Feb 26, 2019
96243b7
Update Karma to 3.1.4 for https://github.com/karma-runner/karma/commi…
itsjamie Mar 1, 2019
a321b50
Add sourcemap preprocessor back. Removed by accident during testing.
itsjamie Mar 9, 2019
2d2bf96
Add test coverage for a es6 module to test coverage.
itsjamie Mar 9, 2019
f3c6b27
Fixed some typos
Korilakkuma Mar 9, 2019
612c358
Merge pull request #2165 from Korilakkuma/fix/fix-api-doc
itsjamie Mar 10, 2019
656a681
Implement live VTT subtitle loading (#2148)
johnBartos Mar 11, 2019
a596e92
Fix XSS on metrics page (#2166)
itsjamie Mar 11, 2019
b6e76c3
stream-controller: fix maxBufLen calculation (#2000)
markx Mar 11, 2019
fe276d9
Merge pull request #2153 from video-dev/chore/istanbul-upgrade
itsjamie Mar 11, 2019
07cb6fb
update webworkify-webpack to 2.1.5
Mar 12, 2019
4425770
Adding the ability for CapLevelController to be enabled/disabled dyna…
darrennolan Mar 13, 2019
9a4e5e5
only deploy hlsjs-latest when we are on newest master commit (#2169)
tjenkinson Mar 13, 2019
8d9933d
fix error in deploy script
tjenkinson Mar 13, 2019
db182e7
Merge pull request #2176 from video-dev/tjenkinson-patch-1
tjenkinson Mar 13, 2019
75500e4
Fixed error on destroying the instance of `Hls` (#2177)
Korilakkuma Mar 14, 2019
e64789c
Update design.md (#2178)
kulakowka Mar 14, 2019
bfe9ef2
Merge pull request #2174 from video-dev/update-webworkify-webpack
tjenkinson Mar 16, 2019
e6c21f9
Config typescript (#2181)
itsjamie Mar 24, 2019
33de541
Init segment should not be treated as start segment (#2196)
mikrohard Mar 27, 2019
cc46ea0
GH-2143: Fix flush buffer not accepting undefined types meaning to fl…
itsjamie Mar 27, 2019
592860f
(misc) fixing incorrect default config values in API.md (#2184)
michaelcunningham19 Mar 27, 2019
1177e18
Utils typescript (#2182)
itsjamie Mar 27, 2019
a404f26
Type define the root hls.js entrypoint.
itsjamie Mar 26, 2019
567c7c8
Remove "types" key from package.json
itsjamie Mar 27, 2019
2664c8c
Updated package-lock.json with new version of npm.
itsjamie Mar 27, 2019
ebc1337
Fix lint errors
itsjamie Mar 27, 2019
1085713
Lint fix in buffer-helper.
itsjamie Mar 27, 2019
f98100f
Fix trailing spaces.
itsjamie Mar 27, 2019
eaeee2e
(misc) fix demo hlsjs config persistence issue (#2199)
michaelcunningham19 Mar 28, 2019
fda9891
Default values to null
itsjamie Apr 1, 2019
5139dde
Fix trailing comma
itsjamie Apr 1, 2019
278016f
fix lint
mad-gooze Apr 4, 2019
10f1737
Merge pull request #2211 from mad-gooze/patch-2
michaelcunningham19 Apr 4, 2019
496fd10
add netlify badge to readme (#2214)
tjenkinson Apr 7, 2019
fee971c
fix AudioStreamController when media is not attached (#2172)
mad-gooze Apr 10, 2019
364cbf3
Bump stale time to close from 7 days to 60, add more exempt labels
Apr 10, 2019
c1bbfd4
Merge pull request #2219 from video-dev/stalebot-improvements
itsjamie Apr 10, 2019
f33208f
use netlify endpoint that includes team
tjenkinson Apr 10, 2019
6de1679
Merge pull request #2220 from video-dev/update-netlify-team
tjenkinson Apr 10, 2019
0bef329
Update design.md
thiagopnts Apr 12, 2019
450b6cd
Merge pull request #2222 from thiagopnts/patch-1
michaelcunningham19 Apr 24, 2019
2ce18b0
id3 TXXX parsing should use exitOnNull (#2217)
Apr 24, 2019
b4f8cea
fix #2157 WEBVTT without X-TIMESTAMP-MAP (#2179)
mtoczko Apr 24, 2019
6ddd214
Fix type-check by removing emitDeclarationOnly from tsconfig.
itsjamie May 7, 2019
634946a
Remove cue position alignment by adding 50 for Firefox (#2229)
mackode May 7, 2019
f4792b4
Add SEI with resolution payloadType 5 based on H264 specification (Us…
bruce1i May 7, 2019
ff9c844
Adjust id3 samples with PTS greater than fragment's endPTS to avoid S…
ashCode0 May 7, 2019
516027c
fix subtitle default track autoselect (#1964)
gavr-pavel May 7, 2019
b4087f1
fix lint error in log statement (#2245)
mad-gooze May 10, 2019
05ade18
Added KayoSports to 'They use in production'. Updated foxsports url t…
darrennolan May 22, 2019
148e49c
Merge pull request #2254 from darrennolan/feature/adding-kayo-to-readme
michaelcunningham19 May 22, 2019
6d71a5e
Merge pull request #2200 from video-dev/typescript-publicapi
itsjamie May 25, 2019
1ea14ad
Fix test coverage reporting (#2248)
Jun 5, 2019
cf801df
Fix alt-audio #2006 (#2067)
JuliusThms Jun 5, 2019
2c7ecbb
Add TS to Cue utilities. (#2202)
itsjamie Jun 5, 2019
1bc61c7
docs: fix typo
Jason-Cooke Jun 8, 2019
b773cd7
Merge pull request #2269 from Jason-Cooke/patch-1
michaelcunningham19 Jun 9, 2019
e89f791
Add id prop back to track in buffer controler
gregdolby Jun 14, 2019
da620e7
Merge pull request #2276 from gkolb/master
itsjamie Jun 16, 2019
f723c06
fix: Remove unnecessary option (#2273)
Korilakkuma Jun 17, 2019
591d59b
support preprelease publishes from git tag
tjenkinson Jun 23, 2019
6d5060c
remove accidental -
tjenkinson Jun 23, 2019
19b0c60
add missing v
tjenkinson Jun 23, 2019
a919438
require tag to start with letter
tjenkinson Jun 23, 2019
e9bedc1
always use 1.
tjenkinson Jun 23, 2019
b13c460
Merge pull request #2284 from video-dev/support-beta-tags
tjenkinson Jun 27, 2019
9063ded
convert errors to typescript
tjenkinson Jun 29, 2019
db011b3
convert TaskLoop to TypeScript (#2291)
tjenkinson Jul 1, 2019
5ec8093
Merge pull request #2292 from video-dev/typescript-errors
tjenkinson Jul 3, 2019
161c66c
fix: calling detatchMedia() followed by attachMedia() causes audio to…
OrenMe Jul 15, 2019
eb26c31
fix commented code
OrenMe Jul 15, 2019
8bcd7b1
also reaset fragmentTracker for audio on detach
OrenMe Jul 15, 2019
85c7d8f
Fix typo: unkown -> unknown (#2302)
tmm1 Jul 15, 2019
1c3baed
handle altAudio when main elementry stream has muxed AV
OrenMe Jul 16, 2019
25f0bbe
fix: change test streams hosting to mux (#2307)
OrenMe Jul 17, 2019
39109bd
Guard against undefined errors when accessing MediaSource in unsuppor…
Jul 17, 2019
31f6476
Guard against undefined bytes property when handling FRAG_PARSING_USE…
Jul 22, 2019
5d3b2e7
Fix TS errors (#2306)
Jul 25, 2019
8a687b2
Update README.md (#2313)
patrickmichalina Jul 26, 2019
2bf8ec6
ensure we fetch master before getting the latest commit (#2319)
tjenkinson Jul 26, 2019
001c7a9
Rename keyloader to typescript file.
itsjamie Aug 14, 2019
b3661a7
build demo page in debug, watch && dev scripts
mad-gooze Aug 17, 2019
a14e2c4
Typescript-ify keyloader.
itsjamie Aug 17, 2019
67026db
fix comments
mad-gooze Aug 18, 2019
70a3ee5
Apply suggestions from code review
itsjamie Aug 18, 2019
992b5db
Update key-loader.ts
itsjamie Aug 18, 2019
24a6f58
m3u8-parser typescripted
itsjamie Aug 17, 2019
62d9cc6
Merge pull request #2339 from yandex-pcode/build-demo-page
itsjamie Aug 19, 2019
702a892
Merge pull request #2341 from video-dev/key-loader-ts
itsjamie Aug 21, 2019
4d01a72
Apply suggestions from code review
itsjamie Aug 21, 2019
9cc22b1
Merge branch 'master' into m3u8-parser-ts
itsjamie Aug 21, 2019
024b546
Fragment Finders Typescriptify
itsjamie Aug 20, 2019
01b9ffe
Allow groupID to be undefined.
itsjamie Aug 21, 2019
703c0fd
Merge pull request #2347 from video-dev/fragment-finders-ts
itsjamie Aug 22, 2019
dad9d2b
fix break in promise chain
tjenkinson Aug 23, 2019
ce26024
Merge pull request #2350 from video-dev/tjenkinson-patch-1
itsjamie Aug 25, 2019
046d864
Merge pull request #2343 from video-dev/m3u8-parser-ts
itsjamie Aug 25, 2019
836ed6b
Update functional tests to ES6.
itsjamie Aug 25, 2019
a7a6d7d
findElement should not be used to test for existence.
itsjamie Aug 26, 2019
97e7288
Syntax fix.
itsjamie Aug 26, 2019
40c5e98
Revert local vars.
itsjamie Aug 26, 2019
9e11a19
Extended debugging.
itsjamie Aug 26, 2019
85ebeba
Use `until` API in Selenium.
itsjamie Aug 28, 2019
0a4ebc7
Add timeout and message.
itsjamie Aug 28, 2019
ac9fee4
Convert retrier.
itsjamie Aug 28, 2019
aa2658e
Remove extended debugging.
itsjamie Aug 28, 2019
b734013
Set direct domains for test streams.
itsjamie Aug 28, 2019
5a7410d
Addressing PR feedback from Tom.
itsjamie Aug 28, 2019
8df1413
Should probably read the page I found travis.dev on
itsjamie Aug 28, 2019
fd3a7bb
lint
tjenkinson Aug 29, 2019
597089d
update chromedriver to v76.0.1
tjenkinson Aug 29, 2019
39dbe85
increase timeout for beforeEach
tjenkinson Aug 29, 2019
382bda2
only disable web security on sauce labs
tjenkinson Aug 29, 2019
0ea1813
fix log
tjenkinson Aug 29, 2019
8333f2b
Enable extended debugging.
itsjamie Aug 30, 2019
936a5f0
Merge branch 'update-functional-es6' into increase-before-each-timeout
itsjamie Aug 30, 2019
e9461e6
Merge pull request #2358 from video-dev/increase-before-each-timeout
itsjamie Aug 30, 2019
2a9549c
Tunnel localhost
itsjamie Sep 4, 2019
9750a13
Open localhost.
itsjamie Sep 4, 2019
959489a
Revert "only disable web security on sauce labs"
tjenkinson Sep 4, 2019
6618a80
Merge pull request #2352 from video-dev/update-functional-es6
itsjamie Sep 4, 2019
85f5cc9
Fix for issue #2336: Remove misplaced timescale normalizing in delta …
tchakabam Sep 11, 2019
d82f680
Do merge
Sep 11, 2019
356f684
Fix linting
Sep 11, 2019
aeee6f9
Fix lint errors
Sep 11, 2019
9d3dc30
Fix failing test
Sep 11, 2019
d214bc9
Fix more lint errors
Sep 11, 2019
3d3ffea
Add upstream changes to timeline-controller
Sep 11, 2019
4d666ac
Merge TS changes in 608-parser
itsjamie Jun 5, 2019
a408b74
TS track utils
Sep 11, 2019
32bfc16
Improve 608 parser typings
Sep 11, 2019
3f97d88
Remove hooks
Sep 11, 2019
8480edd
Merge branch 'upgrade/v0.13.0' of github.com:jwplayer/hls.js into upg…
Sep 11, 2019
70c062c
Fix lint error
Sep 11, 2019
0818601
Fix type errors
Sep 11, 2019
5c46588
Fix createNativeTrack test
Sep 11, 2019
961398e
Handle rounding errors in bandwidth estimator tests
Sep 11, 2019
3b071c7
Add package version to prevent yarn add hls.js@git errors
Sep 11, 2019
7b3955a
Fix more errors
Sep 12, 2019
772479d
Fix exception parsing cues
Sep 12, 2019
83083cf
Fix bad conditional in key loader
Sep 12, 2019
1d7ae77
Add CDNBye to readme (#2349)
snowinszu Sep 12, 2019
ee2c877
Fix bad conditional in key loader
Sep 12, 2019
bc1644c
Remove Object.keys call from 608 channels array
Sep 13, 2019
18955e2
CR fixes
OrenMe Sep 22, 2019
5ea6526
less verbose webpack output on CI
tjenkinson Sep 25, 2019
3679dd5
also attempt to build docs on travis
tjenkinson Sep 25, 2019
043118a
Merge pull request #2368 from video-dev/bugfix/key-loader-ts-bug
robwalch Sep 25, 2019
5fa3cc9
Log error rather than throwing exception when `flushLiveBackBuffer` f…
Sep 25, 2019
2404aad
Merge pull request #2379 from video-dev/webpack-ci-less-verbose
robwalch Sep 25, 2019
230df65
Update jwplayer test stream urls
Sep 26, 2019
fe02dbf
Merge pull request #2380 from video-dev/bugfix/remove-thow-without-me…
robwalch Sep 26, 2019
2448d72
Fix typo in API.md
AndreasCag Oct 1, 2019
8556df5
use `npm ci` instead of `npm install`
tjenkinson Oct 5, 2019
af51c03
buffer-controller CR fixes
OrenMe Oct 6, 2019
10bf1b8
reset subtitle tracks state
OrenMe Oct 6, 2019
fff952e
Merge pull request #2392 from video-dev/npm-ci
tjenkinson Oct 6, 2019
6557166
Merge pull request #2388 from AndreasCag/patch-1
michaelcunningham19 Oct 7, 2019
eb35560
fix test
OrenMe Oct 7, 2019
cb263f9
add additional check for no subtitle tracks
OrenMe Oct 7, 2019
09797f5
Merge pull request #2303 from video-dev/bugfix/2099
robwalch Oct 8, 2019
efdaedf
Add "sanity-check" package script
Oct 15, 2019
06b86ea
Merge pull request #2405 from video-dev/bugfix/sanity-checks
robwalch Oct 18, 2019
047e7d5
Merge branch 'upstream/master' into upgrade/v0.13.0
Oct 28, 2019
12fa847
Merge branch 'master' into upgrade/v0.13.0
Oct 28, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .esdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
"destination": "./api-docs",
"plugins": [
{"name": "esdoc-standard-plugin"},
{"name": "esdoc-typescript-plugin", "option": {"enable": true}}
{"name": "esdoc-typescript-plugin", "option": {"enable": true}},
{
"name": "esdoc-ecmascript-proposal-plugin",
"option": {
"objectRestSpread": true
}
}
]
}
9 changes: 8 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
module.exports = {
'env': {
'browser': true,
'commonjs': true,
'es6': true
},
Expand All @@ -19,9 +20,13 @@ module.exports = {
'eslint:recommended',
'standard'
],
'parser': 'typescript-eslint-parser',
'parserOptions': {
'sourceType': 'module'
'sourceType': 'module'
},
'plugins': [
'typescript'
],
'rules': {
// our basic style rules
'semi': [
Expand Down Expand Up @@ -70,10 +75,12 @@ module.exports = {
1,
'never'
],

'no-restricted-properties': [2,
{ 'property': 'findIndex' }, // Intended to block usage of Array.prototype.findIndex
{ 'property': 'find' } // Intended to block usage of Array.prototype.find
],

'standard/no-callback-literal': 1,
'import/first': 1,
'no-var': 1,
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ about: Create a report to help us improve
### Checklist
<!-- Replace [ ] with [x] to check off the list -->
- [ ] The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
- [ ] The issue occurs in the stable client on https://video-dev.github.io/hls.js/stable/demo and not just on my page
- [ ] The issue occurs in the stable client on https://hls-js.netlify.com/demo and not just on my page
<!-- The stable client is built from the latest release -->
- [ ] The issue occurs in the latest client on https://video-dev.github.io/hls.js/latest/demo and not just on my page
- [ ] The issue occurs in the latest client on https://hls-js-latest.netlify.com/demo and not just on my page
<!-- The latest client is built from the head of the master branch -->
- [ ] The stream has correct Access-Control-Allow-Origin headers (CORS)
- [ ] There are no network errors such as 404s in the browser console when trying to play the stream
Expand Down
5 changes: 4 additions & 1 deletion .github/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@
daysUntilStale: 60

# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
daysUntilClose: 30

# Issues with these labels will never be considered stale
exemptLabels:
- pinned
- security
- Confirmed
- Feature proposal
- Question


# Label to use when marking an issue as stale
staleLabel: Stale
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ coverage/

# Build
/dist
/gh-pages
/netlify
/api-docs
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
- stage: testFuncOptional
env: TRAVIS_MODE=funcTests UA=safari OS="OS X 10.11" UA_VERSION="9.0"
addons:
sauce_connect: true
sauce_connect:
tunnel_domains: localhost
jwt:
secure: TxJT041jqRf4raCwtNJRb0rz2gGvEaADZjWO41UQND2+YIZ//S9qB2C4YyrL1BBsn8/ebdHr0cd18PwCzoBSEmoCdoAWXmqBaaLvM1DOeQkKJbU3+pFmWtv1qGqRXJLEAysNvzhG0sLdvBc0M7a/CWxqRfx1O3lGhLnTlAW33LlQndjJ8vh3SGQm8HxFR1503ujPd7V1jGwduVwaQp4zbAKTnQ4MLugmJf6UKiTc+YILMrVWOwipOIyYHh2GqbChd/v1PXff26XCNJXcaRZKJ8JosWyBpq5t4zlPO0qDfHpqbEuYK44xm4vzbZS94P/KF8BYzdtxQYLrxoS1UlnUYU7RmzqgL3y3AM7nzX/cXvJcoNXfUK2BpsB754XNyQfRmXOdRiHoC8+wwPqGkH/KCrmS4UIOqv4THfmDbrtewfcDTgKOzHxGcT1IsUq9BTxMNtxSwpHTHUXTXrzpS/UBDvrlc+9qPTqf+e6QL1aG+JT5sOg5REm2hMy0j18/Kr+HLXkehxEgJ6JrybyHUkkJrfcuWgVDu7Lv3cxlrtSMXi7TIwSB75NMoM8AE71GEVjXwpOw/0giwnmGsJNNi01ztod0UFe2V2rS+yPI1WNZIJ7Fw66U0oOKJ1rb4Iksl86n5Y2snHsxK8q5jhKaAaiWgGK5kVTAgF89t/GXYyNH6cI=
34 changes: 20 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[![Build Status](https://api.travis-ci.org/video-dev/hls.js.svg?branch=master)](https://travis-ci.org/video-dev/hls.js)
[![npm](https://img.shields.io/npm/v/hls.js.svg?style=flat)](https://npmjs.org/package/hls.js)
[![npm](https://img.shields.io/npm/v/hls.js/canary.svg?style=flat)](https://www.npmjs.com/package/hls.js/v/canary)
[![](https://data.jsdelivr.com/v1/package/npm/hls.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/hls.js)
[![](https://data.jsdelivr.com/v1/package/npm/hls.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/hls.js)

[![](https://www.netlify.com/img/global/badges/netlify-color-accent.svg)](https://www.netlify.com)

Join the discussion via [video-dev.org](http://video-dev.org) in #hlsjs (our Slack channel)

Expand All @@ -18,7 +20,7 @@ hls.js does not need any player, it works directly on top of a standard HTML```<

hls.js is written in [ECMAScript6] (`*.js`) and [TypeScript] (`*.ts`) (strongly typed superset of ES6), and transpiled in ECMAScript5 using the [TypeScript compiler].

Modules written in TS and plain JS/ES6 can be interdepent and imported/required by each others.
Modules written in TS and plain JS/ES6 can be interdependent and imported/required by each other.

To build our distro bundle and serve our development environment we use [Webpack].

Expand All @@ -35,21 +37,21 @@ To build our distro bundle and serve our development environment we use [Webpack

* [API and usage docs, with code examples](./docs/API.md)

* [Auto-Generated Docs (Latest Release)](http://video-dev.github.io/hls.js/stable/api-docs)
* [Auto-Generated Docs (Master)](http://video-dev.github.io/hls.js/latest/api-docs)
* [Auto-Generated Docs (Latest Release)](https://hls-js.netlify.com/api-docs)
* [Auto-Generated Docs (Master)](https://hls-js-latest.netlify.com/api-docs)

_Note you can access the docs for a particular version using "http://video-dev.github.io/hls.js/v[x.y.z]/api-docs"_
_Note you can access the docs for a particular version using "[https://github.com/video-dev/hls.js/blob/deployments/README.md](https://github.com/video-dev/hls.js/blob/deployments/README.md)"_

## Demo

### Latest Release
[https://video-dev.github.io/hls.js/stable/demo](https://video-dev.github.io/hls.js/stable/demo)
[https://hls-js.netlify.com/demo](https://hls-js.netlify.com/demo)

### Master
[https://video-dev.github.io/hls.js/latest/demo](https://video-dev.github.io/hls.js/latest/demo)
[https://hls-js-latest.netlify.com/demo](https://hls-js-latest.netlify.com/demo)

### Specific Version
"http://video-dev.github.io/hls.js/v[x.y.z]/demo"
Find the commit on [https://github.com/video-dev/hls.js/blob/deployments/README.md](https://github.com/video-dev/hls.js/blob/deployments/README.md).


## Getting Started
Expand All @@ -70,7 +72,7 @@ _Note you can access the docs for a particular version using "http://video-dev.g
});
}
// hls.js is not supported on platforms that do not have Media Source Extensions (MSE) enabled.
// When the browser has built-in HLS support (check using `canPlayType`), we can provide an HLS manifest (i.e. .m3u8 URL) directly to the video element throught the `src` property.
// When the browser has built-in HLS support (check using `canPlayType`), we can provide an HLS manifest (i.e. .m3u8 URL) directly to the video element through the `src` property.
// This is using the built-in support of the plain video element, without using hls.js.
// Note: it would be more normal to wait on the 'canplay' event below however on Safari (where you are most likely to find built-in HLS support) the video.src URL must be on the user-driven
// white-list before a 'canplay' event will be emitted; the last video event that can be reliably listened-for when the URL is not on the white-list is 'loadedmetadata'.
Expand All @@ -89,18 +91,20 @@ Video is controlled through HTML ```<video>``` element.

HTMLVideoElement control and events could be used seamlessly.

## they use hls.js in production !
## They use hls.js in production!

|[<img src="http://i.cdn.turner.com/adultswim/big/img/global/adultswim.jpg" width="120">](http://www.adultswim.com/videos/streams)|[<img src="https://www.akamai.com/fr/fr/multimedia/images/logo/akamai-logo.png" width="120">](https://www.akamai.com)|[<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Canal%2B.svg/2000px-Canal%2B.svg.png" width="120">](https://www.canalplus.fr)|[<img src="https://avatars2.githubusercontent.com/u/115313" width="120">](http://www.dailymotion.com)|
|---|---|---|---|
|[<img src="https://user-images.githubusercontent.com/4006693/44003595-baff193c-9e8f-11e8-9848-7bb91563499f.png" width="120">](https://freshlive.tv)|[<img src="https://flowplayer.org/media/img/logo-blue.png" width="120">](http://www.flowplayer.org)|[<img src="https://avatars1.githubusercontent.com/u/12554082?s=240" width="120">](http://www.foxsports.com.au)|[<img src="https://cloud.githubusercontent.com/assets/244265/12556435/dfaceb48-c353-11e5-971b-2c4429725469.png" width="120">](http://www.globo.com)|
|[<img src="https://user-images.githubusercontent.com/4006693/44003595-baff193c-9e8f-11e8-9848-7bb91563499f.png" width="120">](https://freshlive.tv)|[<img src="https://flowplayer.org/media/img/logo-blue.png" width="120">](http://www.flowplayer.org)|[<img src="https://avatars1.githubusercontent.com/u/12554082?s=240" width="120">](https://www.foxsports.com.au)|[<img src="https://cloud.githubusercontent.com/assets/244265/12556435/dfaceb48-c353-11e5-971b-2c4429725469.png" width="120">](http://www.globo.com)|
|[<img src="https://images.gunosy.com/logo/gunosy_icon_company_logo.png" width="120">](https://gunosy.com)|[<img src="https://user-images.githubusercontent.com/1480052/35802840-f8e85b8a-0a71-11e8-8eb2-eee323e3f159.png" width="120">](https://www.gl-systemhaus.de/)|[<img src="https://cloud.githubusercontent.com/assets/6525783/20801836/700490de-b7ea-11e6-82bd-e249f91c7bae.jpg" width="120">](http://nettrek.de/)|[<img src="https://cloud.githubusercontent.com/assets/244265/12556385/999aa884-c353-11e5-9102-79df54384498.png" width="120">](https://www.nytimes.com/)|
|[<img src="https://cloud.githubusercontent.com/assets/1798553/20356424/ba158574-ac24-11e6-95e1-1ae591b11a0a.png" width="120">](https://www.peer5.com/)|[<img src="https://cloud.githubusercontent.com/assets/4909096/20925062/e26e6fc8-bbb4-11e6-99a5-d4762274a342.png" width="120">](http://qbrick.com/)|[<img src="https://www.radiantmediaplayer.com/images/radiantmediaplayer-new-logo-640.jpg" width="120">](https://www.radiantmediaplayer.com/)|[<img src="https://www.rts.ch/hummingbird-static/images/logos/logo_marts.svg" width="120">](http://www.rts.ch/)|
|[<img src="https://cloud.githubusercontent.com/assets/12702747/19316434/0a3601de-9067-11e6-85e2-936b1cb099a0.png" width="120">](https://www.snapstream.com/)|[<img src="https://www.streamamg.com/wp-content/themes/barebones/_assets/images/streamamg-logo.png" width="120">](https://www.streamamg.com/)|[<img src="https://streamsharkio.sa.metacdn.com/wp-content/uploads/2015/10/streamshark-dark.svg" width="120">](https://streamshark.io/)|[<img src="https://github.com/camo/9580f10e9bfa8aa7fba52c5cb447bee0757e33da/68747470733a2f2f7777772e7461626c6f74762e636f6d2f7374617469632f696d616765732f7461626c6f5f6c6f676f2e706e67" width="120">](http://my.tablotv.com/)|
|[<img src="https://user-images.githubusercontent.com/2803310/34083705-349c8fd0-e375-11e7-92a6-5c38509f4936.png" width="120">](https://www.streamroot.io/)|[<img src="http://vignette1.wikia.nocookie.net/tedtalks/images/c/c0/TED_logo.png/revision/20150915192527" width="120">](https://www.ted.com/)|[<img src="https://www.seeklogo.net/wp-content/uploads/2014/12/twitter-logo-vector-download.jpg" width="120">](https://twitter.com/)|[<img src="https://cloud.githubusercontent.com/assets/8201317/20566816/bc33f51c-b196-11e6-9bd3-afb71a06460b.png" width="120">](http://vwflow.com)|
|[<img src="http://media.mtvnservices.com/edge/hosted/Viacom_logo.svg" width="120">](https://www.viacom.com/)|[<img src="https://user-images.githubusercontent.com/1181974/29248959-efabc440-802d-11e7-8050-7c1f4ca6c607.png" width="120">](https://vk.com/)|[<img src="https://s3.amazonaws.com/uploads.hipchat.com/87223/4876411/7Rybnl26ReFzlt3/jw-logo-red.png" width="120">](https://www.jwplayer.com)|[<img src="https://staticftv-a.akamaihd.net/arches/francetv/default/img/og-image.jpg?20161007" width="120">](https://www.france.tv)|
|[<img src="https://player.mtvnservices.com/edge/hosted/Viacom_logo.svg" width="120">](https://www.viacom.com/)|[<img src="https://user-images.githubusercontent.com/1181974/29248959-efabc440-802d-11e7-8050-7c1f4ca6c607.png" width="120">](https://vk.com/)|[<img src="https://s3.amazonaws.com/uploads.hipchat.com/87223/4876411/7Rybnl26ReFzlt3/jw-logo-red.png" width="120">](https://www.jwplayer.com)|[<img src="https://staticftv-a.akamaihd.net/arches/francetv/default/img/og-image.jpg?20161007" width="120">](https://www.france.tv)|
|[<img src="http://showmax.akamaized.net/e/logo/showmax_black.png" width="120">](https://tech.showmax.com)|[<img src="https://static3.1tv.ru/assets/web/logo-ac67852f1625b338f9d1fb96be089d03557d50bfc5790d5f48dc56799f59dec6.svg" width="120" height="120">](https://www.1tv.ru/) | [<img src="https://user-images.githubusercontent.com/1480052/40482633-c013ebce-5f55-11e8-96d5-b776415de0ce.png" width="120">](https://www.zdf.de) | [<img src="https://github.com/cdnbye/hlsjs-p2p-engine/blob/master/figs/cdnbye.png" width="120">](https://github.com/cdnbye/hlsjs-p2p-engine)| |
|[<img src="https://streaming.cdn77.com/live-streaming-logo-dark.png" width="120">](https://streaming.cdn77.com/)| [<img src="https://avatars0.githubusercontent.com/u/7442371?s=200&v=4" width="120">](https://r7.com/)|[<img src="https://github.com/raw/Novage/p2p-media-loader/gh-pages/images/p2pml-logo.png" width="120">](https://github.com/Novage/p2p-media-loader)
|[<img src="https://streaming.cdn77.com/live-streaming-logo-dark.png" width="120">](https://streaming.cdn77.com/)| [<img src="https://avatars0.githubusercontent.com/u/7442371?s=200&v=4" width="120">](https://r7.com/)|[<img src="https://github.com/raw/Novage/p2p-media-loader/gh-pages/images/p2pml-logo.png" width="120">](https://github.com/Novage/p2p-media-loader)|[<img src="https://avatars3.githubusercontent.com/u/45617200?s=400" width="120">](https://kayosports.com.au)
|[<img src="https://user-images.githubusercontent.com/6701211/61649753-b3415600-ac77-11e9-9fbb-90a4d4c61628.png" width="120">](https://flosports.tv)


## Player Integration

Expand All @@ -114,6 +118,8 @@ hls.js is (being) integrated in the following players:
- [Videojs](http://videojs.com) through [videojs-hls.js](https://github.com/streamroot/videojs-hls.js). hls.js is integrated as a SourceHandler -- new feature in Video.js 5.
- [Videojs](http://videojs.com) through [videojs-contrib-hls.js](https://github.com/Peer5/videojs-contrib-hls.js). Production ready plug-in with full fallback compatibility built-in.
- [Fluid Player](https://www.fluidplayer.com)
- [OpenPlayerJS](https://www.openplayerjs.com), as part of the [OpenPlayer project](https://github.com/openplayerjs)
- [CDNBye](https://github.com/cdnbye/hlsjs-p2p-engine), a p2p engine for hls.js powered by WebRTC Datachannel.

## Chrome/Firefox integration

Expand Down Expand Up @@ -254,7 +260,7 @@ Pull requests are welcome. Here is a quick guide on how to start.
- First, checkout the repository and install required dependencies
```sh
git clone https://github.com/video-dev/hls.js.git
# setup dev environement
# setup dev environment
cd hls.js
npm install
# build dist/hls.js, watch file change for rebuild and launch demo page
Expand Down
Loading