Skip to content

Commit

Permalink
fix an issue where transport option was always dash even if selected …
Browse files Browse the repository at this point in the history
…content was directfile
  • Loading branch information
Florent-Bouisset authored and peaBerberian committed Jan 23, 2024
1 parent bdb14e3 commit 883dc7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demo/full/scripts/lib/defaultOptionsValues.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ const defaultOptionsValues = {
wantedBufferAhead: 30,
},
loadVideo: {
transport: "dash",
autoPlay: true,
defaultAudioTrackSwitchingMode: "reload",
enableFastSwitching: true,
Expand All @@ -26,7 +25,7 @@ const defaultOptionsValues = {
},
onCodecSwitch: "continue",
},
} satisfies { player: IConstructorOptions, loadVideo: ILoadVideoOptions };
} satisfies { player: IConstructorOptions, loadVideo: Omit<ILoadVideoOptions, "transport"> };

export type IConstructorSettings = typeof defaultOptionsValues.player;
export type ILoadVideoSettings = typeof defaultOptionsValues.loadVideo;
Expand Down

0 comments on commit 883dc7f

Please sign in to comment.