Permalink
Browse files

fixed frame interleaving

  • Loading branch information...
1 parent f23075c commit f7e7ea0fc115d14ba0966b999ab0f5c2cf809a11 @arut committed Oct 10, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 ngx_rtmp_live_module.c
View
@@ -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;

0 comments on commit f7e7ea0

Please sign in to comment.