@dialtribe/react-sdk 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1067,18 +1067,14 @@ function DialtribePlayer({
1067
1067
  const wasLiveStream = initialPlaybackTypeRef.current === "hls";
1068
1068
  const playerConfig = React2.useMemo(
1069
1069
  () => ({
1070
- file: {
1071
- forceHLS: playbackType === "hls",
1072
- hlsOptions: isLiveStream ? {
1073
- maxLoadingDelay: 10,
1074
- minAutoBitrate: 0,
1075
- lowLatencyMode: true,
1076
- enableWorker: true
1077
- } : {}
1078
- }
1079
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1070
+ hls: isLiveStream ? {
1071
+ maxLoadingDelay: 10,
1072
+ minAutoBitrate: 0,
1073
+ lowLatencyMode: true,
1074
+ enableWorker: true
1075
+ } : void 0
1080
1076
  }),
1081
- [playbackType, isLiveStream]
1077
+ [isLiveStream]
1082
1078
  );
1083
1079
  const formatTimestamp = (seconds) => {
1084
1080
  if (!seconds || isNaN(seconds) || !isFinite(seconds)) return "00:00:00";