Skip to content

Commit ac1b77a

Browse files
committed
[misc] update README files and recover some codes.
1 parent 3f3a162 commit ac1b77a

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

README.CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
}
183183

184184
rtmp_auto_push on; #Windows不支持
185-
rtmp_auto_push_reconnect 1s;
185+
rtmp_auto_push_reconnect 1s; #Windows不支持
186186
rtmp_socket_dir /tmp; #Windows不支持
187187

188188
rtmp {

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Since some players don't support HTTP chunked transmission, it's better **NOT**
183183
}
184184

185185
rtmp_auto_push on; #not supported by Windows
186-
rtmp_auto_push_reconnect 1s;
186+
rtmp_auto_push_reconnect 1s; #not supported by Windows
187187
rtmp_socket_dir /tmp; #not supported by Windows
188188

189189
rtmp {

ngx_rtmp_gop_cache_module.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -628,14 +628,6 @@ ngx_rtmp_gop_cache_send(ngx_rtmp_session_t *s)
628628
}
629629

630630
for (cache = gctx->cache_head; cache; cache = cache->next) {
631-
/**
632-
* send only one GOP to decrease probability of
633-
* 'TCP Window Full' which leads to playback lag
634-
**/
635-
if (gctx->gop_cache_count == 2 && cache->next) {
636-
continue;
637-
}
638-
639631
if (ctx->protocol == NGX_RTMP_PROTOCOL_HTTP) {
640632
r = s->data;
641633
if (r == NULL || (r->connection && r->connection->destroyed)) {

0 commit comments

Comments
 (0)