From 883dc7ff697438891cb897cd3ba9ed32f0f51232 Mon Sep 17 00:00:00 2001 From: Florent Date: Mon, 8 Jan 2024 17:53:34 +0100 Subject: [PATCH] fix an issue where transport option was always dash even if selected content was directfile --- demo/full/scripts/lib/defaultOptionsValues.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demo/full/scripts/lib/defaultOptionsValues.ts b/demo/full/scripts/lib/defaultOptionsValues.ts index 6c62d4f952..d7764501a2 100644 --- a/demo/full/scripts/lib/defaultOptionsValues.ts +++ b/demo/full/scripts/lib/defaultOptionsValues.ts @@ -10,7 +10,6 @@ const defaultOptionsValues = { wantedBufferAhead: 30, }, loadVideo: { - transport: "dash", autoPlay: true, defaultAudioTrackSwitchingMode: "reload", enableFastSwitching: true, @@ -26,7 +25,7 @@ const defaultOptionsValues = { }, onCodecSwitch: "continue", }, -} satisfies { player: IConstructorOptions, loadVideo: ILoadVideoOptions }; +} satisfies { player: IConstructorOptions, loadVideo: Omit }; export type IConstructorSettings = typeof defaultOptionsValues.player; export type ILoadVideoSettings = typeof defaultOptionsValues.loadVideo;