mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-05-16 00:31:09 +02:00
fixed stream sync in wait_video mode
This commit is contained in:
parent
401d7e929c
commit
91c69aed28
|
@ -752,7 +752,7 @@ ngx_rtmp_live_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
|||
lh.timestamp = cs->timestamp;
|
||||
}
|
||||
|
||||
clh = ch;
|
||||
clh = lh;
|
||||
clh.type = (h->type == NGX_RTMP_MSG_AUDIO ? NGX_RTMP_MSG_VIDEO :
|
||||
NGX_RTMP_MSG_AUDIO);
|
||||
|
||||
|
|
Loading…
Reference in a new issue