@dialtribe/react-sdk 0.1.2 → 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.
@@ -1038,18 +1038,14 @@ function DialtribePlayer({
1038
1038
  const wasLiveStream = initialPlaybackTypeRef.current === "hls";
1039
1039
  const playerConfig = useMemo(
1040
1040
  () => ({
1041
- file: {
1042
- forceHLS: playbackType === "hls",
1043
- hlsOptions: isLiveStream ? {
1044
- maxLoadingDelay: 10,
1045
- minAutoBitrate: 0,
1046
- lowLatencyMode: true,
1047
- enableWorker: true
1048
- } : {}
1049
- }
1050
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
1041
+ hls: isLiveStream ? {
1042
+ maxLoadingDelay: 10,
1043
+ minAutoBitrate: 0,
1044
+ lowLatencyMode: true,
1045
+ enableWorker: true
1046
+ } : void 0
1051
1047
  }),
1052
- [playbackType, isLiveStream]
1048
+ [isLiveStream]
1053
1049
  );
1054
1050
  const formatTimestamp = (seconds) => {
1055
1051
  if (!seconds || isNaN(seconds) || !isFinite(seconds)) return "00:00:00";