Skip to content

Commit a5d43c4

Browse files
committed
doc: update push proxy doc
1 parent e8f3e0f commit a5d43c4

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

docs/en/features/push-proxy.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ global:
1616
- id: 1 # Unique ID identifier, must be greater than 0
1717
name: "target-1" # Push proxy name
1818
type: "rtmp" # Push protocol type
19-
pushurl: "rtmp://target-server:1935/live/stream1" # Push target URL
19+
push:
20+
url: "rtmp://target-server:1935/live/stream1" # Push target URL
2021
streampath: "live/camera1" # Source stream path to monitor
2122
pushonstart: true # Whether to start pushing automatically on stream publish
2223
audio: true # Whether to forward audio stream
@@ -70,21 +71,24 @@ global:
7071
- id: 1
7172
name: "target-1"
7273
type: "rtmp"
73-
pushurl: "rtmp://target1.com/live/stream1"
74+
push:
75+
url: "rtmp://target1.com/live/stream1"
7476
streampath: "live/camera1"
7577
pushonstart: true
7678

7779
- id: 2
7880
name: "target-2"
7981
type: "rtmp"
80-
pushurl: "rtmp://target2.com/live/stream1"
82+
push:
83+
url: "rtmp://target2.com/live/stream1"
8184
streampath: "live/camera1"
8285
pushonstart: true
8386

8487
- id: 3
8588
name: "backup-server"
8689
type: "srt"
87-
pushurl: "srt://backup.com:10080"
90+
push:
91+
url: "srt://backup.com:10080"
8892
streampath: "live/camera2"
8993
pushonstart: false
9094
audio: false

docs/features/push-proxy.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ global:
1616
- id: 1 # 唯一ID标识,必须大于0
1717
name: "target-1" # 推流代理名称
1818
type: "rtmp" # 推流协议类型
19-
pushurl: "rtmp://target-server:1935/live/stream1" # 推流目标地址
19+
push:
20+
url: "rtmp://target-server:1935/live/stream1" # 推流目标地址
2021
streampath: "live/camera1" # 监听的源流路径
2122
pushonstart: true # 是否在启动时自动开始推流
2223
audio: true # 是否转发音频流
@@ -70,21 +71,24 @@ global:
7071
- id: 1
7172
name: "target-1"
7273
type: "rtmp"
73-
pushurl: "rtmp://target1.com/live/stream1"
74+
push:
75+
url: "rtmp://target1.com/live/stream1"
7476
streampath: "live/camera1"
7577
pushonstart: true
7678

7779
- id: 2
7880
name: "target-2"
7981
type: "rtmp"
80-
pushurl: "rtmp://target2.com/live/stream1"
82+
push:
83+
url: "rtmp://target2.com/live/stream1"
8184
streampath: "live/camera1"
8285
pushonstart: true
8386

8487
- id: 3
8588
name: "backup-server"
8689
type: "srt"
87-
pushurl: "srt://backup.com:10080"
90+
push:
91+
url: "srt://backup.com:10080"
8892
streampath: "live/camera2"
8993
pushonstart: false
9094
audio: false

0 commit comments

Comments
 (0)