Skip to content

Commit 2e90de1

Browse files
committed
update pro
1 parent e005f21 commit 2e90de1

File tree

5 files changed

+401
-5
lines changed

5 files changed

+401
-5
lines changed

demo/hls-vod-vs-stream.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ http://example.com/segment4.ts
3737
#EXT-X-ENDLIST
3838
```
3939

40-
### 解释:
40+
#### 解释:
4141
1. **#EXTM3U**:文件头,表示这是一个 M3U8 文件。
4242
2. **#EXT-X-VERSION:3**:指定 HLS 协议的版本,这里是版本 3。
4343
3. **#EXT-X-TARGETDURATION:10**:指定每个媒体段的最大持续时间(秒),这里是 10 秒。
@@ -46,7 +46,7 @@ http://example.com/segment4.ts
4646
6. **http://example.com/segment0.ts**:媒体段的 URL。
4747
7. **#EXT-X-ENDLIST**:表示播放列表的结束。
4848

49-
### 注意:
49+
#### 注意:
5050
- 每个媒体段(`.ts` 文件)的 URL 可以是绝对路径或相对路径。
5151
- 如果流是直播流,可能不会有 `#EXT-X-ENDLIST` 标签,因为播放列表会不断更新。
5252

@@ -75,7 +75,7 @@ http://example.com/live/segment125.ts
7575
http://example.com/live/segment126.ts
7676
```
7777

78-
### 直播流的特点:
78+
#### 直播流的特点:
7979
1. **没有 `#EXT-X-ENDLIST` 标签**
8080
- 直播流是动态生成的,播放列表会不断更新,因此不会标记结束。
8181

@@ -95,7 +95,7 @@ http://example.com/live/segment126.ts
9595

9696
---
9797

98-
### 直播流的工作流程:
98+
#### 直播流的工作流程:
9999
1. **客户端请求 M3U8 文件**
100100
- 客户端(如播放器)首先请求 M3U8 文件,获取当前的播放列表。
101101

@@ -111,7 +111,7 @@ http://example.com/live/segment126.ts
111111

112112
---
113113

114-
### 示例:更新后的 M3U8 文件
114+
#### 示例:更新后的 M3U8 文件
115115
假设直播流继续生成新的媒体段,更新后的 M3U8 文件可能如下:
116116

117117
```plaintext

demo/pro-demo.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,14 @@ vue2(单页面):[https://github.com/bosscheng/jessibuca-vue-demo/tree/pro-vue2](
349349
#### http
350350
[http://jessibuca.monibuca.com/pro/demo-mpeg4.html](http://jessibuca.monibuca.com/pro/demo-mpeg4.html)
351351

352+
### M7S格式
353+
------
354+
#### https
355+
[https://jessibuca.com/pro/demo-m7s.html](https://jessibuca.com/pro/demo-m7s.html)
356+
357+
#### http
358+
[http://jessibuca.monibuca.com/pro/demo-m7s.html](http://jessibuca.monibuca.com/pro/demo-m7s.html)
359+
352360

353361
### M7S加密流(H264/H265)
354362
------

demo/public/pro.zip

3.46 KB
Binary file not shown.

0 commit comments

Comments
 (0)