Skip to content

Commit cba8876

Browse files
uliianlanghuihui
authored andcommitted
Update pull-proxy.md
修改错误的pullUrl配置
1 parent 75edb97 commit cba8876

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

docs/features/pull-proxy.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ global:
1616
- id: 1 # 唯一ID标识,必须大于0
1717
name: "camera-1" # 拉流代理名称
1818
type: "rtmp" # 拉流协议类型
19-
pullurl: "rtmp://example.com/live/stream1" # 拉流源地址
19+
pull:
20+
url: "rtmp://example.com/live/stream1" # 拉流源地址
2021
streampath: "live/camera1" # 在Monibuca中的流路径
2122
pullonstart: true # 是否在启动时自动开始拉流
2223
stoponidle: true # 是否在无人观看时停止拉流
@@ -59,7 +60,7 @@ go build -tags="sqlite" ...
5960
| id | 整数 || - | 拉流代理唯一标识,必须大于0 |
6061
| name | 字符串 || - | 拉流代理名称 |
6162
| type | 字符串 || - | 拉流协议类型,如rtmp、rtsp、srt等,不填会根据URL自动判断 |
62-
| pullurl | 字符串 || - | 拉流源地址 |
63+
| pull.url | 字符串 || - | 拉流源地址 |
6364
| streampath | 字符串 || pull/{type}/{id} | 流在系统中的路径,不填自动生成 |
6465
| pullonstart | 布尔值 || false | 是否在启动时自动开始拉流,设为false时启用按需拉流,即只有当有客户端请求该streamPath的流时才从远端拉流 |
6566
| stoponidle | 布尔值 || false | 是否在没有客户端观看时自动停止拉流 |
@@ -77,14 +78,16 @@ global:
7778
- id: 1
7879
name: "camera-1"
7980
type: "rtmp"
80-
pullurl: "rtmp://example.com/live/stream1"
81+
pull:
82+
url: "rtmp://example.com/live/stream1"
8183
streampath: "live/camera1"
8284
pullonstart: true
8385

8486
- id: 2
8587
name: "camera-2"
8688
type: "rtsp"
87-
pullurl: "rtsp://192.168.1.100:554/live"
89+
pull:
90+
url: "rtsp://192.168.1.100:554/live"
8891
streampath: "live/camera2"
8992
pullonstart: false
9093
stoponidle: true
@@ -270,4 +273,4 @@ Content-Type: application/json
270273
4. 源站故障
271274
- 检查源站健康状态
272275
- 确认自动切换配置
273-
- 监控故障切换日志
276+
- 监控故障切换日志

0 commit comments

Comments
 (0)