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

0.11.0 #5

Merged
merged 1,357 commits into from
Nov 12, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1357 commits
Select commit Hold shift + click to select a range
f2dd98d
preload the demo build
tjenkinson May 27, 2018
eb1ac1d
Add a FIXME: replace string test by a regex that matches also `m4s` `…
tjenkinson May 27, 2018
2ce100f
Merge branch 'master' of https://github.com/oldmtn/hls.js
oldmtn May 28, 2018
e45b6d1
move checkMP4Suffix to global.
oldmtn May 29, 2018
d6bf943
Remove playbackRate factor for setting lastCurrentTime (#1730)
johnBartos May 29, 2018
93b5348
correct fragLoadingTimeout doc according to config (#1736)
shacharz May 29, 2018
ae297c2
Refine code.
oldmtn May 30, 2018
a7e49cb
Merge pull request #1734 from oldmtn/master
tjenkinson Jun 1, 2018
7aa9ab8
Add Fluid Player to Player Integrations
cradonn Jun 1, 2018
d4d45d9
Merge pull request #1747 from cradonn/fluidplayer-support
tchakabam Jun 4, 2018
d4d7b6b
testbench: prevent from circular structures or unserializable things …
tchakabam Jun 4, 2018
63bef04
controllers: comment console logs
tchakabam Jun 4, 2018
02ae45a
cea and vtt parsers: comment console logs
tchakabam Jun 4, 2018
7367415
demo: remove console logs
tchakabam Jun 4, 2018
a7ca28d
Fixed `AudioStreamController` & `StreamController` not being cleaned …
bwallberg Jun 4, 2018
ad16891
Merge branch 'master' into feature/audio-track-fallback
tchakabam Jun 4, 2018
326926b
expose observer.once to public api
mad-gooze Jun 4, 2018
c378042
Make mp4-inspector a CLI tool
tchakabam Jun 4, 2018
65b7bc1
mp4-inspect: rm "loading file" print
tchakabam Jun 4, 2018
a9c81d7
Event.ERROR is undefined if don't import Event object.
oldmtn Jun 5, 2018
9805836
Merge pull request #1755 from oldmtn/master
tchakabam Jun 5, 2018
e131eda
Implement utility function for making an instance of Array
Korilakkuma Jun 5, 2018
85e217c
Change to named exports
Korilakkuma Jun 5, 2018
a64e67d
Remove 'use strict'
Korilakkuma Jun 5, 2018
897c4fc
Merge pull request #1722 from Korilakkuma/feature/remove-array-protot…
tchakabam Jun 5, 2018
1d58572
eslintrc: don't have any explicit globals or env.browser preset globals
tchakabam Jun 5, 2018
1f21784
use explicite window property for all previous globals
tchakabam Jun 5, 2018
1baef80
lint script: add quiet mode (only show fatal errors)
tchakabam Jun 5, 2018
b58112e
Globals: Fix accessing worker window global scope
tchakabam Jun 5, 2018
ec44fb0
Rever changes from #1755 since we did them in #1756 now
tchakabam Jun 5, 2018
40bd49c
add getSelfScope to get global window/worker scope
tchakabam Jun 5, 2018
380a28f
Update webpack@4.11.1 and Add webpack-cli
Korilakkuma Jun 6, 2018
a1cecf0
Correspond to webpack@4.11.1
Korilakkuma Jun 6, 2018
38bff19
Update packages for funcTests
Korilakkuma Jun 6, 2018
4b262a8
jsdoc misprint `booelan` -> `boolean`
mad-gooze Jun 7, 2018
c2ed4f1
Merge pull request #1763 from mad-gooze/patch-1
tchakabam Jun 7, 2018
99b9abb
Merge pull request #1752 from mad-gooze/expose-once
tchakabam Jun 7, 2018
461d220
add getSelfScope to abstract from window/worker global scopes explici…
tchakabam Jun 7, 2018
18be7d8
decrypter: lint fix
tchakabam Jun 7, 2018
8d12a9a
simplify get-self-scope module
tchakabam Jun 7, 2018
a4bdebf
travis script: remove check for node require
tchakabam Jun 7, 2018
4ac5420
fix stream-controller unit-test not liking to grab performance ref on…
tchakabam Jun 7, 2018
77166d9
stream controller test cosmetics
tchakabam Jun 7, 2018
5dfa0a3
audio track fallback: don't check for language being equal since it's…
tchakabam Jun 7, 2018
eb049de
AudioTrackController: more extensive documentation
tchakabam Jun 8, 2018
d450f71
AudioTrackController: unit tests
tchakabam Jun 8, 2018
4b47218
TaskLoop: add some more explanation
tchakabam Jun 8, 2018
b1085a9
rm tests/tests.webpack.js (not needed)
tchakabam Jun 8, 2018
2b6623a
karma conf: glob input files and apply preprocessor on all paths (mak…
tchakabam Jun 8, 2018
224254a
require sinon explicitely in unit tests
tchakabam Jun 8, 2018
7158e54
Merge remote-tracking branch 'upstream/replace-babel-by-typescript' i…
Korilakkuma Jun 8, 2018
6a5695f
Merge pull request #1756 from video-dev/fix/bad-lint-globals
tchakabam Jun 8, 2018
7cd8d7d
Merge pull request #1767 from video-dev/unit-tests-sourcemaps
tchakabam Jun 8, 2018
fce0fb7
Merge branch 'master' into feature/audio-track-fallback
tchakabam Jun 8, 2018
0f10541
rm testNodeRequire in travis.sh
tchakabam Jun 8, 2018
50c9995
rename misc to tools
tchakabam Jun 8, 2018
3b3a001
Merge pull request #1753 from video-dev/feature/mp4-inspect-cli
tchakabam Jun 8, 2018
5a81d71
Use `ts-node` instead of `babel-register`
Korilakkuma Jun 8, 2018
84aafd2
Remove `cross-env`
Korilakkuma Jun 9, 2018
53c2c72
Add `mode`
Korilakkuma Jun 10, 2018
dea9614
Merge branch 'master' into feature/update-webpack
Korilakkuma Jun 10, 2018
18bb552
add CNDBye
lovefoodcode Jun 10, 2018
741d531
Merge pull request #1630 from video-dev/feature/audio-track-fallback
tchakabam Jun 11, 2018
c821376
Fixed `webpack.config.js` to display the names of all the configs bei…
Korilakkuma Jun 11, 2018
b0c64ec
Merge pull request #1771 from lovefoodcode/master
tchakabam Jun 11, 2018
a94b561
Removed comment
Korilakkuma Jun 11, 2018
f41389d
Removed `.tsx`
Korilakkuma Jun 11, 2018
8a9a257
Added comment for `globalObject` option
Korilakkuma Jun 12, 2018
afdd25f
Installed karma-webpack@3.0.0
Korilakkuma Jun 12, 2018
4105a42
Enable 'strict' option
Korilakkuma Jun 12, 2018
d684e23
Release 0.10.0
tchakabam Jun 14, 2018
886a46e
Update dist
tchakabam Jun 14, 2018
480078f
Update docs
tchakabam Jun 14, 2018
fd6c7d2
package-lock: update to 0.10.0
tchakabam Jun 14, 2018
09af09a
package lock: add events
tchakabam Jun 14, 2018
9f8cdb2
package: add events v3 explicitely as dependency
tchakabam Jun 14, 2018
3ad438f
observer pattern: save some code lines by doing smarter encapsulation…
tchakabam Jun 14, 2018
f385a8e
subtitle stream ctrl: use hls instance directly as observer
tchakabam Jun 14, 2018
1e3a7a2
demuxer: use Observer class instead of monkey-patching (faster & smal…
tchakabam Jun 14, 2018
664137f
Add stale-bot config
tchakabam Jun 15, 2018
d217360
Merge pull request #1785 from video-dev/stale-bot-config
tchakabam Jun 15, 2018
3630bf9
Avoid accessing undefined variable, avoid reassigning window, cleanup…
Jun 15, 2018
9b5d520
Revert "Use wrapper function"
Jun 15, 2018
1879842
Avoid more reassignments of window
Jun 15, 2018
452865e
Avoid throwing a preventable exception accessing crypto
Jun 15, 2018
bdacea1
Add no-global-assing lint rule
Jun 15, 2018
00d7421
Remove useless lint rules
Jun 15, 2018
ee43967
Remove all instances of Array.from
Jun 15, 2018
674ce79
Remove hex import
Jun 15, 2018
5b1c417
Revert dist
Jun 15, 2018
26bbb62
Merge pull request #1786 from video-dev/bugfix/ie-exceptions
tchakabam Jun 16, 2018
21ad3ac
Update dist
tchakabam Jun 16, 2018
c1f254c
Release 0.10.1
tchakabam Jun 16, 2018
a5fe074
Update dist
tchakabam Jun 18, 2018
740749b
Add CDN77 Streaming
mpecanek Jun 18, 2018
4fccc86
Merge pull request #1792 from mpecanek/patch-1
tchakabam Jun 21, 2018
8283b34
Trigger BUFFER_NUDGE_ON_STALL before currentTime update (#1795)
romsil Jun 23, 2018
44efa98
Merge pull request #1762 from Korilakkuma/feature/update-webpack
tchakabam Jun 25, 2018
6896ec5
add typescript eslint plugin
tchakabam Jun 25, 2018
67ac80d
typescript: configure eslint
tchakabam Jun 25, 2018
2ed170c
readme: mention typescript and remove Babel occurences
tchakabam Jun 25, 2018
fa617af
readme: mention webpack
tchakabam Jun 25, 2018
924f90f
precommit script: rename as .sh
tchakabam Jun 25, 2018
3dc704f
add lint script
tchakabam Jun 25, 2018
e1adecf
precommit script rename
tchakabam Jun 25, 2018
b26e1ed
foldersize script: use env node
tchakabam Jun 25, 2018
fdd52e8
esdoc config: use ts plugin
tchakabam Jun 25, 2018
35b61ea
rewrite package-lock
tchakabam Jun 25, 2018
42ccf7c
do not throw error if level details is not defined (#1754)
senaev Jun 27, 2018
ae8a4dc
Update m3u8-parser.js
Ady88w1 Jul 3, 2018
dc6339f
Update playlist-loader.js
Ady88w1 Jul 4, 2018
29a3d20
Merge pull request #1 from Ady88w1/patch-4
Ady88w1 Jul 4, 2018
0d0c80e
Update playlist-loader.js
Ady88w1 Jul 4, 2018
a7c9eef
Update playlist-loader.js
Ady88w1 Jul 4, 2018
09c58d2
Added R7.com in production list
Jul 5, 2018
4463892
Merge pull request #1815 from Ady88w1/patch-2
tjenkinson Jul 7, 2018
03d64ff
Prevent stalebot from closing #Confirmed issues
Jul 11, 2018
0bd694a
Set the label to stale instead of wontfix when Stalebot closes an issue
Jul 11, 2018
ca766a4
Update stale.yml
Jul 11, 2018
28492ac
key-loader: set maxRetry to 0, differ to stream-controller to handle …
ssreed Jul 17, 2018
3742194
add comment
ssreed Jul 18, 2018
9327fc6
fix(demo): update http to https
azu Jul 19, 2018
a4984f7
Merge branch 'master' into typescript-finalize
tchakabam Jul 19, 2018
301af92
Improve stall detection and resolution (#1808)
johnBartos Jul 19, 2018
82672f7
Stop level capping on media detaching (#1809)
johnBartos Jul 19, 2018
addb0f4
Merge branch 'master' into typescript-finalize
tchakabam Jul 19, 2018
e09eff0
webpack conf: use tsc for js files
tchakabam Jul 19, 2018
57f5bfa
add events package to deps
tchakabam Jul 19, 2018
f83cde5
use named imports and globs for external modules (needed by ts-loaded…
tchakabam Jul 19, 2018
6e64148
tsconfig: disable strict mode for now (fails in various scenarios in …
tchakabam Jul 19, 2018
db4acf2
use typescript@2.9.1 and latest ts-loader
tchakabam Jul 19, 2018
ec105a9
remove files added by mistake
tchakabam Jul 19, 2018
113d3ed
add another file added by mistake
tchakabam Jul 19, 2018
4732599
run build:watch in debug mode
tchakabam Jul 19, 2018
6300f72
Make sure module can be required in Node.js without throwing an error…
friday Jul 19, 2018
8f09e5e
Ensure that module can be required in node without errors
tjenkinson Mar 28, 2018
ed6225e
Merge pull request #1839 from video-dev/update-demo-to-https-resources
azu Jul 19, 2018
6bf67c4
Merge remote-tracking branch 'origin/master' into typescript-finalize
tchakabam Jul 23, 2018
eb918fc
Update lockfile
tchakabam Jul 23, 2018
ead9459
autofix lint error in src
tchakabam Jul 23, 2018
3baceab
autofix lint error in tests
tchakabam Jul 23, 2018
664986f
Fixed `FragmentLoader` not cleaning up properly timeout/error (#1823)
bwallberg Jul 25, 2018
bcef4a4
fix glob import of url-toolkit in level-key
tchakabam Jul 25, 2018
6491897
Prioritze api.md over generated docs
Aug 3, 2018
846a748
Update README.md
Aug 3, 2018
335158b
Merge pull request #1841 from friday/ssr
tchakabam Aug 8, 2018
cd33b58
Update readme on SSR support
tchakabam Aug 8, 2018
adfaab0
Only compute PTS using timeoffset when the ID3 timestamp is NaN (#1840)
johnBartos Aug 9, 2018
c721b7e
Improve fragment searching via PDT (#1854)
johnBartos Aug 9, 2018
79a81e3
Release with travis (#1810)
tjenkinson Aug 9, 2018
7b7aca3
Use demo build from cdn (#1864)
tjenkinson Aug 9, 2018
803f820
demuxer inline code: fix usage of performance.now in various ways
tchakabam Aug 10, 2018
207df66
demuxer-worker: we should not catch exceptions of enableLogs here
tchakabam Aug 10, 2018
0cb933a
Merge pull request #1819 from r7com/master
tchakabam Aug 10, 2018
1838705
fix initial audio track selection (#1853)
OrenMe Aug 10, 2018
04eee54
v0.11.0 regression fixes (#1867)
johnBartos Aug 13, 2018
d3ddc8c
Added link to P2P Media Loader GitHub project (#1860)
mrlika Aug 14, 2018
efe3e22
Add bitrate test fragment to fragment-tracker if it later demuxed (#1…
johnBartos Aug 14, 2018
38416a7
Update FRESH LIVE icon (#1870)
Korilakkuma Aug 14, 2018
9ad4eed
Merge branch 'master' into fix/worker-performance-now-usage
tchakabam Aug 14, 2018
227008c
demuxer inline module: fix binding performance.now function, replace …
tchakabam Aug 14, 2018
ffd3cd7
Merge pull request #1866 from video-dev/fix/worker-performance-now-usage
tchakabam Aug 14, 2018
de96b84
add work around tagging issue in Travis CI deployment
tjenkinson Aug 14, 2018
33440d9
test-streams: remove broken issue-649 stream until replacement found
tchakabam Aug 14, 2018
e208f78
readme: remove greenkeeper badge
tchakabam Aug 14, 2018
1497b88
readme: fix travis status svg
tchakabam Aug 14, 2018
49df6cf
readme: fix line about slack
tchakabam Aug 14, 2018
9f2315b
add script to deploy gh-pages branch (#1875)
tjenkinson Aug 14, 2018
92b3530
readme: improve links to slack channel
tchakabam Aug 14, 2018
f9690f0
build docs before preparing gh-pages
Aug 15, 2018
54ee476
remove dist dir reference from readme
Aug 15, 2018
7db6e75
travis: build gh-pages on master and tag
Aug 15, 2018
9caa141
gh-pages: use ci user as author
Aug 15, 2018
fac94b6
travis: add verbose option to pages deploy
Aug 15, 2018
ec6a914
gh-pages: don't use symlinks
Aug 15, 2018
e6fcd82
gh-pages: put latest tag in 'stable' dir too
Aug 15, 2018
bee41d8
committer-from-gh => committer_from_gh
Aug 15, 2018
4fd8869
disable sauce labs when not needed
Aug 15, 2018
d9a3949
don't schedule gh-pages if not necessary
Aug 15, 2018
b33069c
Merge pull request #1874 from video-dev/workaround-travis-release-bug
tjenkinson Aug 15, 2018
5174f67
no longer force-push gh-pages
Aug 15, 2018
8fcd792
Merge pull request #1877 from video-dev/disable-sauce-labs-when-not-n…
tjenkinson Aug 15, 2018
8228e77
Merge branch 'master' into typescript-finalize
tchakabam Aug 15, 2018
a877838
apply polyfill: number-is-finite along with string ends-with
tchakabam Aug 15, 2018
10078a7
Merge pull request #1800 from video-dev/typescript-finalize
tchakabam Aug 15, 2018
a6f85ba
Update issue templates
johnBartos Aug 15, 2018
7ad634f
Delete ISSUE_TEMPLATE.md
johnBartos Aug 15, 2018
5592c02
Add boilerplate feature template
johnBartos Aug 15, 2018
e56df97
Add question template
johnBartos Aug 15, 2018
8906096
push to gh-pages manually
Aug 15, 2018
6979f4d
fix gh-pages clone url
Aug 15, 2018
9ecc987
normal git push for gh-pages
Aug 15, 2018
8b66290
clone gh-pages branch to current directory
Aug 15, 2018
ce82e19
do not use symlinks on gh-pages
Aug 15, 2018
9291dde
also put demo at gh-pages root
Aug 15, 2018
8090708
gh-pages: top level demo should be for latest tag
Aug 15, 2018
b7efb76
gh-pages: fix replacing 'latest'
Aug 15, 2018
a2d7522
Update readme and demo for gh pages (#1879)
tjenkinson Aug 15, 2018
8cfc0b5
update release instructions to use annotated tag
tjenkinson Aug 15, 2018
fbba662
remove unneeded docs scripts
tjenkinson Aug 15, 2018
c083319
gh-pages: also put dist at top level
Aug 15, 2018
338bf0a
set version in build for gh-pages
Aug 15, 2018
f531954
deploy gh-pages in 'release' and 'releaseCanary' mode instead
Aug 15, 2018
c3d9218
gh-pages: don't set git username globaly
Aug 15, 2018
39ed497
gh-pages: remove readme from top level
Aug 15, 2018
a82609f
Number.isFinite: make ponyfill injected via webpack ProvidePlugin
tchakabam Aug 15, 2018
46a3f25
number polyfill: fix lint
tchakabam Aug 15, 2018
6b33394
string endsWith: this method is not used anywhere, global polyfill re…
tchakabam Aug 15, 2018
6b1eab6
karma webpack conf: use mode 'development' (otherwise tries to optimi…
tchakabam Aug 15, 2018
b2e2b5e
gh-pages: try setting username locally
Aug 16, 2018
c98f486
gh-pages: fix checking if changes
Aug 16, 2018
4e6aeff
gh-pages: check if anything staged
Aug 16, 2018
998fb9b
Merge pull request #1881 from video-dev/feature/ponyfill-the-polyfills
tchakabam Aug 16, 2018
d67ee2c
Merge branch 'master' into add-events-dep
tchakabam Aug 16, 2018
bc1d363
Merge pull request #1837 from ssreed/key-loading-error
tchakabam Aug 16, 2018
a76ca60
Observer: use eventemitter3 instead of events package
tchakabam Aug 16, 2018
ee62961
commit package-lock
tchakabam Aug 16, 2018
9b7be2b
Merge pull request #1783 from video-dev/add-events-dep
tchakabam Aug 17, 2018
0a8efad
webpack config: speed up build by avoiding to compile node_modules th…
tchakabam Aug 19, 2018
91ef051
Merge pull request #1889 from video-dev/fix/build-speed
tchakabam Aug 20, 2018
b79d89c
readme: improve docs on dev tooling / build system
tchakabam Aug 21, 2018
fd99b31
webpack config: when no configuration is returned, throw error (as we…
tchakabam Aug 21, 2018
07b77d1
Fix readme typos
johnBartos Aug 21, 2018
4cbca96
Merge pull request #1893 from video-dev/readme-typos
tchakabam Aug 21, 2018
52c3a9f
package: add dev dep git-tag-version
tchakabam Aug 22, 2018
44f5d1d
webpack conf: use version number from git tag if not in package json
tchakabam Aug 22, 2018
5b143df
package lock
tchakabam Aug 22, 2018
2efacbd
webpack: make version string contain git commitish in dev mode
tchakabam Aug 22, 2018
d252901
Merge pull request #1897 from video-dev/fix/dev-mode-version-no
tchakabam Aug 22, 2018
fef1bb6
fix-1439: allow spaces in fragment files
Aug 24, 2018
102c039
fix-1439: add unit tests
Aug 24, 2018
6db0112
fix(timeline-controller): reuse text tracks when not in same order (#…
OrenMe Aug 27, 2018
a98be32
update url-toolkit to 2.1.6
Aug 31, 2018
e8f2ad0
Merge pull request #1906 from video-dev/update-url-toolkit-2-1-5
tchakabam Sep 13, 2018
d6d83b1
Merge pull request #1899 from dtniland/fix-1439
tchakabam Sep 13, 2018
fe7ff65
playlist-loader: handle mp4 streams without sidx ranges in map (#1921)
mangui Sep 18, 2018
7794b4f
Don't try to load embedded audio tracks (#1907)
valotvince Sep 19, 2018
43d2a6a
fix chrome stream hang up when seeking (#1925)
vlyahovich Sep 25, 2018
a09ce4a
Fix ewma-bandwidth-estimator.js link (#1935)
springuper Sep 27, 2018
2d5efea
Fix design document event typo (#1933)
springuper Sep 27, 2018
77ac437
Fix broken link on the demo page
titouancreach Oct 4, 2018
4037496
Merge pull request #1940 from titouancreach/patch-1
tchakabam Oct 4, 2018
9ff3e12
fix api link on demo page
Oct 4, 2018
24f2a99
fix demo link on readme
tjenkinson Oct 4, 2018
0aa5a71
Merge pull request #1943 from video-dev/fix-api-link-on-demo
tjenkinson Oct 4, 2018
3e6651d
Bugfix/1220 cleanup live back buffer (#1845)
vitalibozhko Oct 26, 2018
1671c91
Refactor live backbuffer eviction to fit more closely to design goals…
johnBartos Oct 31, 2018
3352ba5
Add audio track loading tests (#1969)
robwalch Nov 1, 2018
fed6606
Remove es6 set to fix compatibility issues in old browsers (#1984)
johnBartos Nov 2, 2018
adca76c
Restore `response` data in playlist loader error events (#1977)
nhjm449 Nov 5, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

8 changes: 8 additions & 0 deletions .esdoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"source": "./src",
"destination": "./api-docs",
"plugins": [
{"name": "esdoc-standard-plugin"},
{"name": "esdoc-typescript-plugin", "option": {"enable": true}}
]
}
93 changes: 93 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
module.exports = {
'env': {
'commonjs': true,
'es6': true
},
'globals': {
// Allowed globals
'console': true,

// Compile-time defines
'__VERSION__': true,
'__USE_SUBTITLES__': true,
'__USE_ALT_AUDIO__': true,
'__USE_EME_DRM__': true
},
// see https://standardjs.com/
// see https://github.com/standard/eslint-config-standard
'extends': [
'eslint:recommended',
'standard'
],
'parser': 'typescript-eslint-parser',
'plugins': [
'typescript'
],
'parserOptions': {
'sourceType': 'module'
},
'rules': {
// our basic style rules
'semi': [
'error',
'always'
],
'indent': [
'error',
2
],
'quotes': [
'error',
'single'
],
'linebreak-style': [
'error',
'unix'
],
// spacing
'space-infix-ops': 2,
'space-unary-ops': [2, { 'words': true, 'nonwords': false }],
'space-in-parens': ['error', 'never'],
'keyword-spacing': [2, { 'before': true, 'after': true }],
// enforce litteral objects on multiple lines
'block-spacing': 'error',
'curly': 2,
'object-curly-spacing': ['error', 'always'],
'brace-style': ['error', '1tbs', { 'allowSingleLine': false }],

// limit code block and line length
/*
"max-len": 1,
"max-statements": 1,
"max-depth": 1,
"max-nested-callbacks": 1,
"max-params": 1,
"max-statements": 1,
"max-statements-per-line": 1
*/

// loosening of code-quality rules we may want to fix later
// (warnings for now)

// forbid "one var" style, enforce one declaration per variable
'one-var': [
1,
'never'
],

'standard/no-callback-literal': 1,
'import/first': 1,
'no-var': 1,
'no-empty': 1,
'no-mixed-operators': 1,
'no-unused-vars': 1,
'no-console': 1,
'no-fallthrough': 1,
'no-case-declarations': 1,
'no-irregular-whitespace': 1,
'no-self-assign': 1,
'new-cap': 1,
'no-undefined': 1,
'no-global-assign': 2
}
};
1 change: 0 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ npm run test

- Use [EditorConfig](http://editorconfig.org/) or at least stay consistent to the file formats defined in the `.editorconfig` file.
- Develop in a topic branch, not master
- Don't commit the updated `dist/hls.js` file in your PR. We'll take care of generating an updated build right before releasing a new tagged version.

Thanks! :heart: :heart: :heart:
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
name: Bug report
about: Create a report to help us improve

---

### What version of Hls.js are you using?

### What browser and OS are you using?

### Test stream:
<!-- If possible, please provide a test stream or page -->
<!-- You can paste your stream into the demo and provide the permalink here -->

### 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 latest reference client on https://video-dev.github.io/hls.js/demo and not just on my page
- [ ] The issue occurs in the canary client on https://video-dev.github.io/hls.js/demo?version=canary and not just on my page
- [ ] 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

### Steps to reproduce
1. Please provide clear steps to reproduce your problem
2. If the bug is intermittent, give a rough frequency

### Expected behavior
*What you expected to happen*

### Actual behavior
*What actually happened*

### Console output
```
Paste the contents of the browser console here.
```

```
For media errors reported on Chrome browser, please also paste the output of chrome://media-internals
```
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: Feature request
about: Suggest an idea for this project

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
9 changes: 9 additions & 0 deletions .github/ISSUE_TEMPLATE/question-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
name: 'Question '
about: Need some help?

---

**What do you want to do with Hls.js?**

**What have you tried so far?**
11 changes: 7 additions & 4 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
### Description of the Changes
### This PR will...

### Why is this Pull Request needed?

### CheckLists
### Are there any points in the code the reviewer needs to double check?

### Resolves issues:

### Checklist

- [ ] changes have been done against master branch, and PR does not conflict
- [ ] no commits have been done in dist folder (we will take care of updating it)
- [ ] new unit / functional tests have been added (whenever applicable)
- [ ] Travis tests are passing (or test results are not worse than on master branch :))
- [ ] API or design changes are documented in API.md
23 changes: 23 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60

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

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

# Label to use when marking an issue as stale
staleLabel: Stale

# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.

# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
19 changes: 15 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
# MacOS
.DS_Store

# npm
node_modules/*
bower_components/*
/streams.js
lib
npm-debug.log
bower_components/*

# NYC
.nyc_output/
coverage/

# JetBrains

# ignore JetBrains
.idea/*

# Build
/dist
/gh-pages
/api-docs
34 changes: 0 additions & 34 deletions .jshintrc

This file was deleted.

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
demo
docs/html
misc
test
API.md
Expand Down