@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.
@@ -2947,18 +2947,14 @@ function DialtribePlayer({
2947
2947
  const wasLiveStream = initialPlaybackTypeRef.current === "hls";
2948
2948
  const playerConfig = React2.useMemo(
2949
2949
  () => ({
2950
- file: {
2951
- forceHLS: playbackType === "hls",
2952
- hlsOptions: isLiveStream ? {
2953
- maxLoadingDelay: 10,
2954
- minAutoBitrate: 0,
2955
- lowLatencyMode: true,
2956
- enableWorker: true
2957
- } : {}
2958
- }
2959
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
2950
+ hls: isLiveStream ? {
2951
+ maxLoadingDelay: 10,
2952
+ minAutoBitrate: 0,
2953
+ lowLatencyMode: true,
2954
+ enableWorker: true
2955
+ } : void 0
2960
2956
  }),
2961
- [playbackType, isLiveStream]
2957
+ [isLiveStream]
2962
2958
  );
2963
2959
  const formatTimestamp = (seconds) => {
2964
2960
  if (!seconds || isNaN(seconds) || !isFinite(seconds)) return "00:00:00";