From f60e107f309cfd3d50cc2b8fcb422dc4fb8d6ee1 Mon Sep 17 00:00:00 2001
From: "oussama.aftys" <oussama.aftys@marketingconfort.com>
Date: Thu, 6 Mar 2025 15:45:25 +0000
Subject: [PATCH] updated hls live url

---
 .../sections/lives/supervision/details-player-section.tsx       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/sections/lives/supervision/details-player-section.tsx b/src/shared/sections/lives/supervision/details-player-section.tsx
index 87cb14cd..2462430b 100644
--- a/src/shared/sections/lives/supervision/details-player-section.tsx
+++ b/src/shared/sections/lives/supervision/details-player-section.tsx
@@ -12,7 +12,7 @@ import { useLiveData } from "@/contexts/live-details";
 
 export default function VideoPlayerSection() {
     const {id,status,videoLink,keysWork} = useLiveData();
-    const liveUrl = status != LiveStatus.ONGOING ? videoLink : `${keysWork?.hlsServerAddress}/${keysWork?.keyStream}.m3u8`;
+    const liveUrl = status != LiveStatus.ONGOING ? videoLink : keysWork?.hlsServerAddress+':5443/live/streams/'+keysWork?.keyStream + '_adaptive.m3u8';
     const startConfirm = useBoolean();
     const playerRef = useRef<ReactPlayer>(null);
 
-- 
GitLab