From 3c3b6fe351e6e425ceb7093f961244632cb52ec1 Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Tue, 15 Feb 2022 15:28:37 +0700 Subject: [PATCH] fix(#2253): delete playbackUrl from streamUrl --- src/features/MatchPage/components/LiveMatch/hooks/index.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/features/MatchPage/components/LiveMatch/hooks/index.tsx b/src/features/MatchPage/components/LiveMatch/hooks/index.tsx index 245f0b39..05cb804b 100644 --- a/src/features/MatchPage/components/LiveMatch/hooks/index.tsx +++ b/src/features/MatchPage/components/LiveMatch/hooks/index.tsx @@ -35,10 +35,7 @@ export const useLiveMatch = (profile: MatchInfo) => { onPlaylistSelect: handlePlaylistClick, resume: resume ?? fromStartIfStreamPaused, selectedPlaylist, - streamUrl: ( - profile?.playbackUrl - || `${API_ROOT}/video/stream/${sportType}/${matchId}.m3u8` - ), + streamUrl: `${API_ROOT}/video/stream/${sportType}/${matchId}.m3u8`, ...usePlayerProgressReporter(), ...useLastPlayPosition(), }