Skip to content

Commit

Permalink
updateWasm
Browse files Browse the repository at this point in the history
  • Loading branch information
numberwolf committed Dec 28, 2020
1 parent f36c49b commit 5fc8b2a
Show file tree
Hide file tree
Showing 8 changed files with 5,443 additions and 9,181 deletions.
1 change: 1 addition & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
| 时间 | 2020/12/28 |
| 内容1 | 1.增加 `import H265webjsModule from './dist/index';` 引入方式 |
| 内容2 | 2.修复Seek和restart的部分bug |
| 内容3 | 2.Wasm 文件体积下降 40%,经过nginx压缩后可 < 500kb |

| h265web.js | mpeg.js `(解析ts)` |
| ---- | ---- |
Expand Down
1 change: 1 addition & 0 deletions README_EN.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
| Time | 2020/12/28 |
| 1 | 1.New way to use it: `import H265webjsModule from './dist/index';` |
| 2 | 2.Fixed some bugs: Seek and restart |
| 3 | 2.Wasm file size drop 40% |

| h265web.js | mpeg.js `(ts demuxer)` |
| ---- | ---- |
Expand Down
12 changes: 6 additions & 6 deletions dist/h265webjs.js

Large diffs are not rendered by default.

Binary file modified dist/missile.wasm
Binary file not shown.
Binary file removed dist/missilets.wasm
Binary file not shown.
14,602 changes: 5,431 additions & 9,171 deletions dist/play.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,10 @@ <h1> h265web.js demo </h1>
// var url = "demo/res/veilside264.ts";
// var url = "res/hls/v-000.ts"

// var type = "hls";
var type = "hls";
// var url = "demo/res/m3u82/cg720phevc.m3u8";
// var url = "demo/res/m3u83/cg.m3u8";
// var url = "res/hls/veilside.m3u8";
var url = "res/m3u8/cg.m3u8";
var url = "res/hls/veilside.m3u8";
// var url = "res/hls1/test.m3u8";

var config = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "h265web.js",
"version": "2.0.5",
"version": "2.1.0",
"description": "H.265/Hevc Web端播放器,支持H.265编码的mp4/hls/m3u8/mpegts 的媒体播放,支持点播、直播。A Hevc Web Player , support file type: mp4/hls/m3u8/mpegts, support play type: vod/live。Github:https://github.com/numberwolf/h265web.js",
"repository": {
"type": "git",
Expand Down

0 comments on commit 5fc8b2a

Please sign in to comment.