diff --git a/dash/ngx_rtmp_dash_module.c b/dash/ngx_rtmp_dash_module.c index 0de9a27..5d7cc66 100644 --- a/dash/ngx_rtmp_dash_module.c +++ b/dash/ngx_rtmp_dash_module.c @@ -273,7 +273,7 @@ ngx_rtmp_dash_write_playlist(ngx_rtmp_session_t *s) #define NGX_RTMP_DASH_MANIFEST_VIDEO \ " \n" \ " width, codec_ctx->height, codec_ctx->frame_rate, - &ctx->name, + &ctx->name, codec_ctx->width, codec_ctx->height, codec_ctx->frame_rate, @@ -407,7 +407,7 @@ ngx_rtmp_dash_write_playlist(ngx_rtmp_session_t *s) if (ctx->has_audio) { p = ngx_slprintf(buffer, last, NGX_RTMP_DASH_MANIFEST_AUDIO, - &ctx->name, + &ctx->name, codec_ctx->audio_codec_id == NGX_RTMP_AUDIO_AAC ? "40.2" : "6b", codec_ctx->sample_rate, @@ -1191,7 +1191,7 @@ ngx_rtmp_dash_video(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h, if (htype != 1) { return NGX_OK; } - + p = (u_char *) &delay; p[0] = in->buf->pos[4];