From 4f90b65ce3e3249ea4d652e25a9614c7a48b3854 Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Fri, 24 Nov 2023 18:58:04 +0100 Subject: [PATCH] feat(toDash): Add `contentType` to audio and video adaption sets --- src/utils/DashManifest.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/DashManifest.tsx b/src/utils/DashManifest.tsx index 0d4d48522..bd5488072 100644 --- a/src/utils/DashManifest.tsx +++ b/src/utils/DashManifest.tsx @@ -97,6 +97,7 @@ function DashManifest({ lang={set.language} codecs={set.codecs} audioSamplingRate={set.audio_sample_rate} + contentType="audio" > { set.track_role && @@ -150,6 +151,7 @@ function DashManifest({ codecs={set.codecs} maxPlayoutRate="1" frameRate={set.fps} + contentType="video" > { set.color_info.primaries &&