Skip to content

Commit

Permalink
过年能不能回球去的
Browse files Browse the repository at this point in the history
  • Loading branch information
numberwolf committed Jan 17, 2022
1 parent 90d7567 commit 52ca5d7
Show file tree
Hide file tree
Showing 43 changed files with 1,913 additions and 54 deletions.
16 changes: 14 additions & 2 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,11 @@
* Email: [email protected]
* Discord:numberwolf#8694

#### DEMO <a href="https://www.zzsin.com/h265webjs.html"> h265webjs.html (请以Github最新为准,在线Demo已长时间未更新)
#### 在线DEMO <a href="https://www.zzsin.com/h265webjs.html"> h265webjs.html (请以Github最新为准,在线Demo已长时间未更新)
</a>

#### 简易Demo - 方便读代码 <a href="index-debug.html">index-debug.html</a>


<br>

Expand Down Expand Up @@ -216,6 +218,8 @@ token = "base64:QXV0aG9yOmNoYW5neWFubG9uZ3xudW1iZXJ3b2xmLEdpdGh1YjpodHRwczovL2dp

<a href="https://www.zzsin.com/h265webjs.html">https://www.zzsin.com/h265webjs.html</a>

简易Demo - 方便读代码 <a href="index-debug.html">index-debug.html</a>

<br>

#### 效果预览 ####
Expand All @@ -229,14 +233,16 @@ token = "base64:QXV0aG9yOmNoYW5neWFubG9uZ3xudW1iZXJ3b2xmLEdpdGh1YjpodHRwczovL2dp

## 1 快捷方式使用 ##

* 使用流程也可以直接看 `play.js``index.html`的Demo使用
* 简易Demo - 方便读代码 <a href="index-debug.html">index-debug.html</a>

* 本项目可以直接放在你的`web服务器`目录下访问`index.html`

<br>

## 2 播放器SDK使用文档 ##

简易Demo - 方便读代码 <a href="index-debug.html">index-debug.html</a>

———————— __API以及事件能力__

#### 如果想使用底层的265解码器能力 可以看 [h265web.js-wasm-decoder](https://github.com/numberwolf/h265web.js-wasm-decoder)
Expand All @@ -250,6 +256,8 @@ token = "base64:QXV0aG9yOmNoYW5neWFubG9uZ3xudW1iZXJ3b2xmLEdpdGh1YjpodHRwczovL2dp
#### 1)引入包

* 用普通js(不编译)直接引入原始js文件

* 简易Demo - 第一次使用看这里 <a href="index-debug.html">index-debug.html</a>

* demo: <a href="./example_normal">example_normal</a>

Expand Down Expand Up @@ -915,6 +923,10 @@ ffmpeg -ss 20 -t 10 -i ./res/xinxiaomen.mp4 \

| 更新日志 | 内容 |
| ---- | ---- |
| 时间 | 2022/01/17 |
| - | 0.解决ISSUE HLS 265内存泄露问题 https://github.com/numberwolf/h265web.js/issues/108 <img src="resource/mem-hls.jpg" width="300px"> |
| - | 1.解决ISSUE HLS Split Rules https://github.com/numberwolf/h265web.js/issues/105 |
| - | 2.增加新Demo <a href="index-debug.html">index-debug.html</a> |
| 时间 | 2021/12/31 |
| - | 0.增加 H.264 HTTP-FLV 失败后Retry |
| 时间 | 2021/12/24 |
Expand Down
14 changes: 12 additions & 2 deletions README_EN.MD
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ A hevc/h.265 web player, easy to play 1080P. `~^_^~ For love` if <a href="https:
* Discord:numberwolf#8694
* Wechat:numberwolf11

#### DEMO <a href="https://www.zzsin.com/h265webjs.html"> h265webjs.html (Demo is not newest version, you need to download from github and get newest version)
#### Online DEMO <a href="https://www.zzsin.com/h265webjs.html"> h265webjs.html (Demo is not newest version, you need to download from github and get newest version)
</a>

#### Simple Demo - for first use <a href="index-debug.html">index-debug.html</a>

| h265web.js | mpeg.js `(ts demuxer)` | h265web.js's H.265 decoder | LICENSE |
| ---- | ---- | ---- | ---- |
| [h265web.js](https://github.com/numberwolf/h265web.js) | [MPEG-Demuxer.js](https://github.com/numberwolf/MPEG-Demuxer.js) | [h265web.js-wasm-decoder](https://github.com/numberwolf/h265web.js-wasm-decoder) | <a href="https://www.gnu.org/licenses/gpl-3.0.md">License GPL-3.0</a> |
Expand Down Expand Up @@ -216,6 +218,8 @@ token = "base64:QXV0aG9yOmNoYW5neWFubG9uZ3xudW1iZXJ3b2xmLEdpdGh1YjpodHRwczovL2dp

<a href="https://www.zzsin.com/h265webjs.html">https://www.zzsin.com/h265webjs.html</a>

Simple Demo - First <a href="index-debug.html">index-debug.html</a>

<br>

#### PreviewImage ####
Expand All @@ -229,7 +233,7 @@ token = "base64:QXV0aG9yOmNoYW5neWFubG9uZ3xudW1iZXJ3b2xmLEdpdGh1YjpodHRwczovL2dp

## 1、UseItByDemo ##

* You can use it by `play.js``index.html`
* Simple Demo - First <a href="index-debug.html">index-debug.html</a>

* You need to put project in your `web server` path, and open it with `index.html`

Expand All @@ -251,6 +255,8 @@ token = "base64:QXV0aG9yOmNoYW5neWFubG9uZ3xudW1iZXJ3b2xmLEdpdGh1YjpodHRwczovL2dp

* By github 1.1 <a href="https://github.com/numberwolf/h265web.js">h265web.js</a>

* Simple Demo - First <a href="index-debug.html">index-debug.html</a>

* demo: <a href="./example_normal">example_normal</a> (recommend)
```javascript
<script src="dist/missile.js"></script>
Expand Down Expand Up @@ -906,6 +912,10 @@ ffmpeg -ss 20 -t 10 -i ./res/xinxiaomen.mp4 \

| Update | Content |
| ---- | ---- |
| Time | 2022/01/17 |
| - | 0.Fixed ISSUE of HLS 265 OOM Case https://github.com/numberwolf/h265web.js/issues/108 <img src="resource/mem-hls.jpg" width="300px"> |
| - | 1.Fixed ISSUE of HLS Split Rules https://github.com/numberwolf/h265web.js/issues/105 |
| - | 2.Add New Demo <a href="index-debug.html">index-debug.html</a> |
| Time | 2021/12/31 |
| - | 0.Add H.264 HTTP-FLV Retry after error |
| Time | 2021/12/24 |
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Github: https://github.com/numberwolf/h265web.js
*
**********************************************************/
require('./h265webjs-v20211231');
require('./h265webjs-v20220117');
export default class h265webjs {
static createPlayer(videoURL, config) {
return window.new265webjs(videoURL, config);
Expand Down

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 1 addition & 1 deletion dist/missile-256mb.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 1 addition & 1 deletion dist/missile-512mb.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/missile-v20211120.js → dist/missile-v20220117.js

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 1 addition & 1 deletion dist/missile.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions example/dist/dist-play.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Github: https://github.com/numberwolf/h265web.js
*
**********************************************************/
require('./h265webjs-v20211231');
require('./h265webjs-v20220117');
export default class h265webjs {
static createPlayer(videoURL, config) {
return window.new265webjs(videoURL, config);
Expand Down

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 1 addition & 1 deletion example/dist/missile.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example_normal/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* Github: https://github.com/numberwolf/h265web.js
*
**********************************************************/
require('./h265webjs-v20211231');
require('./h265webjs-v20220117');
export default class h265webjs {
static createPlayer(videoURL, config) {
return window.new265webjs(videoURL, config);
Expand Down

Large diffs are not rendered by default.

Binary file not shown.
2 changes: 1 addition & 1 deletion example_normal/dist/missile.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example_normal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<link rel="stylesheet" type="text/css" href='player-view/css/progress.css'>
<script src="dist/missile.js"></script> <!-- IMPORTANT -->
<!--<script src="dist/missile-256mb-v20211104.js"></script>--> <!-- wasm for 265mb memory(with grow) -->
<script src="dist/h265webjs-v20211231.js"></script> <!-- IMPORTANT -->
<script src="dist/h265webjs-v20220117.js"></script> <!-- IMPORTANT -->
<script src="example.js"></script> <!-- IMPORTANT -->
<style>
</style>
Expand Down
Loading

0 comments on commit 52ca5d7

Please sign in to comment.