Skip to content

Commit

Permalink
修复worker报错
Browse files Browse the repository at this point in the history
  • Loading branch information
zhw2590582 committed May 15, 2020
1 parent b5ff2af commit dc102bb
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 28 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"rules": {
"no-bitwise": 0,
"no-console": 0,
"prefer-spread": 0,
"no-param-reassign": 0,
"prefer-destructuring": 0,
"import/no-named-as-default-member": 0,
Expand Down
2 changes: 1 addition & 1 deletion docs/uncompiled/flvplayer-control.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/uncompiled/flvplayer-decoder-baseline.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/uncompiled/flvplayer-decoder-baseline.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/uncompiled/flvplayer-decoder-multiple.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/uncompiled/flvplayer-decoder-multiple.js.map

Large diffs are not rendered by default.

26 changes: 14 additions & 12 deletions docs/uncompiled/flvplayer.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/uncompiled/flvplayer.js.map

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,33 @@
},
"homepage": "https://github.com/zhw2590582/FlvPlayer#readme",
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/core": "^7.9.6",
"@babel/plugin-external-helpers": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/runtime": "^7.9.2",
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/runtime": "^7.9.6",
"autoprefixer": "^9.7.6",
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"cssnano": "^4.1.10",
"eslint": "^6.8.0",
"eslint": "^7.0.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.20.2",
"node-sass": "^4.13.1",
"rollup": "^2.7.1",
"node-sass": "^4.14.1",
"rollup": "^2.10.2",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-babel-minify": "^10.0.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-eslint": "^7.0.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-postcss": "^2.9.0",
"rollup-plugin-postcss": "^3.1.1",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-string": "^3.0.0",
"rollup-plugin-terser": "^5.3.0",
"rollup-plugin-uglify": "^6.0.4",
"rollup-plugin-worker-inline": "^1.0.6",
"servor": "^3.2.0"
"servor": "^3.3.1"
},
"dependencies": {
"dida.js": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/demuxer/demuxer.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function readBufferSum(array, uint = true) {
}

function readString(array) {
return String.fromCharCode.call(String, ...array);
return String.fromCharCode.apply(String, array);
}

function readBuffer(buffer) {
Expand Down

0 comments on commit dc102bb

Please sign in to comment.