Skip to content

Commit 27656f3

Browse files
committed
[dev] update README.md.
1 parent 2fc9a0e commit 27656f3

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

README.CN.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
* GOP缓存,降低播放延迟 (H.264视频和AAC音频)。
1212

13-
* 支持`Transfer-Encoding: chunked`方式的HTT回复
13+
* 支持`Transfer-Encoding: chunked`方式的HTTP回复
1414

1515
* rtmp配置的server块中可以省略`listen`配置项。
1616

@@ -116,7 +116,7 @@
116116

117117
# 注意
118118

119-
由于一些播放器不支持HTTP块传输, 这种情况下最好不要在指定了`flv_live on;`的location中指定`chunked on;`,否则播放会失败。
119+
由于一些播放器不支持HTTP块传输, 这种情况下最好**不要**在指定了`flv_live on;`的location中指定`chunked on;`,否则播放会失败。
120120

121121
# nginx.conf实例
122122

@@ -177,7 +177,7 @@
177177

178178
server {
179179
listen 1935;
180-
server_name www.test.*; #用于后缀通配
180+
server_name www.test.*; #用于虚拟主机名后缀通配
181181

182182
application myapp {
183183
live on;
@@ -187,7 +187,7 @@
187187

188188
server {
189189
listen 1935;
190-
server_name *.test.com; #用于前缀通配
190+
server_name *.test.com; #用于虚拟主机名前缀通配
191191

192192
application myapp {
193193
live on;
@@ -197,15 +197,15 @@
197197

198198
server {
199199
listen 1935;
200-
server_name www.test.com; #用于完全匹配
200+
server_name www.test.com; #用于虚拟主机名完全匹配
201201

202202
application myapp {
203203
live on;
204204
gop_cache on; #打开GOP缓存,降低播放延迟
205205
}
206206
}
207207

208-
#以下两个server块是用于`upstream`的
208+
#以下两个server块是用于upstream的
209209

210210
server {
211211
listen 1935;

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ So the url of play using HTTP is:
116116

117117
# Note
118118

119-
Since some players don't support HTTP chunked transmission, it's better not to specify `chunked on;` in location where `flv_live on;` is specifed in this case, or play will fail.
119+
Since some players don't support HTTP chunked transmission, it's better **NOT** to specify `chunked on;` in location where `flv_live on;` is specifed in this case, or play will fail.
120120

121121
# Example nginx.conf
122122

@@ -177,7 +177,7 @@ Since some players don't support HTTP chunked transmission, it's better not to s
177177

178178
server {
179179
listen 1935;
180-
server_name www.test.*; #for suffix wildcard
180+
server_name www.test.*; #for suffix wildcard matching of virtual host name
181181

182182
application myapp {
183183
live on;
@@ -187,7 +187,7 @@ Since some players don't support HTTP chunked transmission, it's better not to s
187187

188188
server {
189189
listen 1935;
190-
server_name *.test.com; #for prefix wildcard
190+
server_name *.test.com; #for prefix wildcard matching of virtual host name
191191

192192
application myapp {
193193
live on;
@@ -197,15 +197,15 @@ Since some players don't support HTTP chunked transmission, it's better not to s
197197

198198
server {
199199
listen 1935;
200-
server_name www.test.com; #for completely wildcard
200+
server_name www.test.com; #for completely matching of virtual host name
201201

202202
application myapp {
203203
live on;
204204
gop_cache on; #open GOP cache for low latency
205205
}
206206
}
207207

208-
#the following two server blocks are for `upstream`
208+
#the following two server blocks are for upstream
209209

210210
server {
211211
listen 1935;

0 commit comments

Comments
 (0)