|
|
|
|
@ -35,7 +35,10 @@ export const useLiveMatch = (profile: MatchInfo) => { |
|
|
|
|
onPlaylistSelect: handlePlaylistClick, |
|
|
|
|
resume: resume ?? fromStartIfStreamPaused, |
|
|
|
|
selectedPlaylist, |
|
|
|
|
streamUrl: `${API_ROOT}/video/stream/${sportType}/${matchId}.m3u8`, |
|
|
|
|
streamUrl: ( |
|
|
|
|
profile?.playbackUrl |
|
|
|
|
|| `${API_ROOT}/video/stream/${sportType}/${matchId}.m3u8` |
|
|
|
|
), |
|
|
|
|
...usePlayerProgressReporter(), |
|
|
|
|
...useLastPlayPosition(), |
|
|
|
|
} |
|
|
|
|
|