Skip to content

Commit ed90016

Browse files
committed
[dev] update README files.
1 parent 3f73b4d commit ed90016

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.CN.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ nginx-http-flv-module包含了[nginx-rtmp-module](https://github.com/arut/nginx-
116116

117117
`appname`用于匹配rtmp配置块中的application块(更多详情见下文)。
118118

119-
`streamname`可以随意指定。
119+
`streamname`可以随意指定,但是**不能**省略
120120

121121
**RTMP默认端口****1935**,如果要使用其他端口,必须指定`:port`
122122

@@ -138,9 +138,9 @@ nginx-http-flv-module包含了[nginx-rtmp-module](https://github.com/arut/nginx-
138138

139139
**RTMP默认端口****1935**,如果使用了其他端口,必须指定`port=xxx`
140140

141-
参数`app`用来匹配application块,但是如果请求的`app`出现在多个server块中,并且这些server块有相同的地址和端口配置,那么还需要用匹配主机名的`server_name`配置项来区分请求的是哪个application块,否则,将匹配第一个application块。
141+
参数`app`的值(appname)用来匹配application块,但是如果请求的`app`出现在多个server块中,并且这些server块有相同的地址和端口配置,那么还需要用匹配主机名的`server_name`配置项来区分请求的是哪个application块,否则,将匹配第一个application块。
142142

143-
参数`stream`用来匹配发布的流的名称。
143+
参数`stream`的值(streamname)用来匹配发布的流的名称。
144144

145145
### 例子
146146

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ For simplicity, transcoding is not used (so **-c copy** is used):
116116

117117
The `appname` is used to match an application block in rtmp block (see below for details).
118118

119-
The `streamname` can be specified at will.
119+
The `streamname` can be specified at will but can **NOT** be omitted.
120120

121121
The **default port for RTMP** is **1935**, if some other ports were used, `:port` must be specified.
122122

@@ -138,9 +138,9 @@ The **default port for HTTP** is **80**, if some other ports were used, `:port`
138138

139139
The **default port for RTMP** is **1935**, if some other ports were used, `port=xxx` must be specified.
140140

141-
The `app` is used to match an application block, but if the requested `app` appears in several server blocks and those blocks have the same address and port configuration, host name matches `server_name` directive will be additionally used to identify the requested application block, otherwise the first one is matched.
141+
The value of `app` (appname) is used to match an application block, but if the requested `app` appears in several server blocks and those blocks have the same address and port configuration, host name matches `server_name` directive will be additionally used to identify the requested application block, otherwise the first one is matched.
142142

143-
The `stream` is used to match the name of published stream.
143+
The value of `stream` (streamname) is used to match the name of published stream.
144144

145145
### Example
146146

0 commit comments

Comments
 (0)