mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-11 06:41:08 +02:00
fixed changing chunk size: input stream reset added
This commit is contained in:
parent
f209925e4b
commit
17188b25eb
|
@ -750,6 +750,7 @@ ngx_rtmp_set_chunk_size(ngx_rtmp_session_t *s, ngx_uint_t size)
|
|||
* we can simply ignore it */
|
||||
li = s->in_streams[n].in;
|
||||
if (li == NULL || li->next == NULL) {
|
||||
s->in_streams[n].in = NULL;
|
||||
continue;
|
||||
}
|
||||
/* move from last to the first */
|
||||
|
|
Loading…
Reference in a new issue