Skip to content

Commit f7e7ea0

Browse files
committed
fixed frame interleaving
1 parent f23075c commit f7e7ea0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ngx_rtmp_live_module.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,10 @@ ngx_rtmp_live_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
393393
ch.csid = NGX_RTMP_LIVE_CSID_AUDIO;
394394
}
395395

396+
if (lacf->interleave) {
397+
ch.csid = NGX_RTMP_LIVE_CSID_VIDEO;
398+
}
399+
396400
lh.csid = ch.csid;
397401
diff_timestamp = ch.timestamp - lh.timestamp;
398402

0 commit comments

Comments
 (0)