mirror of
https://github.com/arut/nginx-rtmp-module.git
synced 2025-08-06 15:00:18 +08:00
fixed changing chunk size: input stream reset added
This commit is contained in:
@ -750,6 +750,7 @@ ngx_rtmp_set_chunk_size(ngx_rtmp_session_t *s, ngx_uint_t size)
|
|||||||
* we can simply ignore it */
|
* we can simply ignore it */
|
||||||
li = s->in_streams[n].in;
|
li = s->in_streams[n].in;
|
||||||
if (li == NULL || li->next == NULL) {
|
if (li == NULL || li->next == NULL) {
|
||||||
|
s->in_streams[n].in = NULL;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
/* move from last to the first */
|
/* move from last to the first */
|
||||||
|
Reference in New Issue
Block a user