removed AAC header from HLS handler

This commit is contained in:
Roman Arutyunyan 2014-01-06 01:54:59 +04:00
parent 0a33c0575e
commit 5c8d5b34fb

View file

@ -1479,7 +1479,7 @@ ngx_rtmp_hls_audio(ngx_rtmp_session_t *s, ngx_rtmp_header_t *h,
}
if (codec_ctx->audio_codec_id != NGX_RTMP_AUDIO_AAC ||
codec_ctx->aac_header == NULL)
codec_ctx->aac_header == NULL || ngx_rtmp_is_codec_header(in))
{
return NGX_OK;
}