mirror of
https://github.com/zotanmew/nginx-rtmp-module.git
synced 2024-06-28 16:09:00 +02:00
fixed message priorirt
This commit is contained in:
parent
0c9254647b
commit
c1d21a76a9
|
@ -373,7 +373,7 @@ ngx_rtmp_live_av(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
|
||||||
ch.type = h->type;
|
ch.type = h->type;
|
||||||
lh.msid = ch.msid;
|
lh.msid = ch.msid;
|
||||||
if (h->type == NGX_RTMP_MSG_VIDEO) {
|
if (h->type == NGX_RTMP_MSG_VIDEO) {
|
||||||
prio = 1;/*ngx_rtmp_get_video_frame_type(in);*/
|
prio = ngx_rtmp_get_video_frame_type(in);
|
||||||
ch.csid = NGX_RTMP_LIVE_CSID_VIDEO;
|
ch.csid = NGX_RTMP_LIVE_CSID_VIDEO;
|
||||||
lh.timestamp = ctx->last_video;
|
lh.timestamp = ctx->last_video;
|
||||||
ctx->last_video = h->timestamp;
|
ctx->last_video = h->timestamp;
|
||||||
|
|
Loading…
Reference in a new issue