File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -96,25 +96,6 @@ http://192.168.1.1:5140/playlist.m3u
9696
9797详见 [ M3U 播放列表集成] ( m3u-integration.md ) 。
9898
99- ## 视频快照
100-
101- 在任意流媒体 URL 后添加 ` snapshot=1 ` 参数,或在 HTTP 请求头中添加 ` Accept: image/jpeg ` 或 ` X-Request-Snapshot: 1 ` ,即可获取视频流的 JPEG 快照。
102-
103- ** 示例** :
104-
105- ``` url
106- # 方式 1:URL 参数
107- http://192.168.1.1:5140/rtp/239.253.64.120:5140?snapshot =1
108-
109- # 方式 2:HTTP 请求头
110- curl -H " Accept: image/jpeg" http://192.168.1.1:5140/rtp/239.253.64.120:5140
111-
112- # 方式 3:自定义请求头
113- curl -H " X-Request-Snapshot: 1" http://192.168.1.1:5140/rtp/239.253.64.120:5140
114- ```
115-
116- 详见 [ 视频快照配置] ( video-snapshot.md ) 。
117-
11899## 内置 Web 播放器
119100
120101``` url
@@ -170,6 +151,25 @@ http://192.168.1.1:5140/udp/239.253.64.120:5140
170151
171152UDPxy 兼容模式默认启用,可以通过配置参数 ` udpxy = no ` 禁用。禁用后仅支持通过 m3u 提供服务。
172153
154+ ## 视频快照
155+
156+ 在任意流媒体 URL 后添加 ` snapshot=1 ` 参数,或在 HTTP 请求头中添加 ` Accept: image/jpeg ` 或 ` X-Request-Snapshot: 1 ` ,即可获取视频流的 JPEG 快照。
157+
158+ ** 示例** :
159+
160+ ``` url
161+ # 方式 1:URL 参数
162+ http://192.168.1.1:5140/rtp/239.253.64.120:5140?snapshot =1
163+
164+ # 方式 2:HTTP 请求头
165+ curl -H " Accept: image/jpeg" http://192.168.1.1:5140/rtp/239.253.64.120:5140
166+
167+ # 方式 3:自定义请求头
168+ curl -H " X-Request-Snapshot: 1" http://192.168.1.1:5140/rtp/239.253.64.120:5140
169+ ```
170+
171+ 详见 [ 视频快照配置] ( video-snapshot.md ) 。
172+
173173## 相关文档
174174
175175- [ M3U 播放列表集成] ( m3u-integration.md ) :播放列表配置
You can’t perform that action at this time.
0 commit comments