mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-28 16:09:00 +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;
|
ch.csid = NGX_RTMP_LIVE_CSID_AUDIO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (lacf->interleave) {
|
||||||
|
ch.csid = NGX_RTMP_LIVE_CSID_VIDEO;
|
||||||
|
}
|
||||||
|
|
||||||
lh.csid = ch.csid;
|
lh.csid = ch.csid;
|
||||||
diff_timestamp = ch.timestamp - lh.timestamp;
|
diff_timestamp = ch.timestamp - lh.timestamp;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue