Skip to content

Commit 0bb2323

Browse files
committed
Merge pull request arut#458 from saintdev/for-upstream
Explicitly signal HE-AAC in DASH manifest
2 parents 7500b4b + 359d76b commit 0bb2323

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash/ngx_rtmp_dash_module.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ ngx_rtmp_dash_write_playlist(ngx_rtmp_session_t *s)
412412
p = ngx_slprintf(buffer, last, NGX_RTMP_DASH_MANIFEST_AUDIO,
413413
&ctx->name,
414414
codec_ctx->audio_codec_id == NGX_RTMP_AUDIO_AAC ?
415-
"40.2" : "6b",
415+
(codec_ctx->aac_sbr ? "40.5" : "40.2") : "6b",
416416
codec_ctx->sample_rate,
417417
(ngx_uint_t) (codec_ctx->audio_data_rate * 1000),
418418
name, sep,

0 commit comments

Comments
 (0)