mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-25 23:08:59 +02:00
fixed frame interleaving
This commit is contained in:
parent
f23075c78d
commit
f7e7ea0fc1
|
@ -393,6 +393,10 @@ ngx_rtmp_live_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
|||
ch.csid = NGX_RTMP_LIVE_CSID_AUDIO;
|
||||
}
|
||||
|
||||
if (lacf->interleave) {
|
||||
ch.csid = NGX_RTMP_LIVE_CSID_VIDEO;
|
||||
}
|
||||
|
||||
lh.csid = ch.csid;
|
||||
diff_timestamp = ch.timestamp - lh.timestamp;
|
||||
|
||||
|
|
Loading…
Reference in a new issue