Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 5, 2024
1 parent f7a7547 commit 2fe74ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,10 @@ curl -X POST http://127.0.0.1:12025/api/v1/srs/register \

The listen endpoint format is `port`, or `protocol://ip:port`, or `protocol://:port`, for example:

* `1935`: Listen on port 1935 and any IP for RTMP protocol.
* `tcp://:1935`: Listen on port 1935 and any IP for RTMP protocol.
* `tcp://0.0.0.0:1935`: Listen on port 1935 and any IP for RTMP protocol.
* `tcp://192.168.3.10:1935`: Listen on port 1935 and specified IP for RTMP protocol.
* `1935`: Listen on port 1935 and any IP for TCP protocol.
* `tcp://:1935`: Listen on port 1935 and any IP for TCP protocol.
* `tcp://0.0.0.0:1935`: Listen on port 1935 and any IP for TCP protocol.
* `tcp://192.168.3.10:1935`: Listen on port 1935 and specified IP for TCP protocol.

You can also use SRS 5.0+ as backend server, which supports `heartbeat` feature to register itself
to proxy server.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -373,10 +373,10 @@ curl -X POST http://127.0.0.1:12025/api/v1/srs/register \

监听端点的格式可以是 `port`,或者 `protocol://ip:port`,或者 `protocol://:port`,例如:

* `1935`: 监听 RTMP 协议的 1935 端口,适用于任何 IP。
* `tcp://:1935`: 监听 RTMP 协议的 1935 端口,适用于任何 IP。
* `tcp://0.0.0.0:1935`: 监听 RTMP 协议的 1935 端口,适用于任何 IP。
* `tcp://192.168.3.10:1935`: 监听 RTMP 协议的 1935 端口,适用于指定的 IP。
* `1935`: 监听 TCP 协议的 1935 端口,适用于任何 IP。
* `tcp://:1935`: 监听 TCP 协议的 1935 端口,适用于任何 IP。
* `tcp://0.0.0.0:1935`: 监听 TCP 协议的 1935 端口,适用于任何 IP。
* `tcp://192.168.3.10:1935`: 监听 TCP 协议的 1935 端口,适用于指定的 IP。

您还可以使用 SRS 5.0+ 作为后端服务器,它支持 `heartbeat` 功能,可以自动注册到proxy server。

Expand Down

0 comments on commit 2fe74ed

Please sign in to comment.