Skip to content

Commit

Permalink
Merge pull request #616 from 3flex/patch-1
Browse files Browse the repository at this point in the history
Use Shaka Player for HLS playback
  • Loading branch information
nielsvanvelzen authored Oct 15, 2024
2 parents f5eebe8 + d1c85ab commit 6f0129f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/maincontroller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ if (!import.meta.env.PROD) {
window.castReceiverContext.setLoggerLevel(cast.framework.LoggerLevel.NONE);
}

options.useShakaForHls = true;
options.playbackConfig = new cast.framework.PlaybackConfig();
// Set the player to start playback as soon as there are five seconds of
// media content buffered. Default is 10.
Expand Down

0 comments on commit 6f0129f

Please sign in to comment.