From 752ce83e730d6435d651a32a7f0b9b3a59f9a68d Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Fri, 4 Nov 2022 08:45:13 +0800 Subject: [PATCH] =?UTF-8?q?hdl=20flv=20=E6=92=AD=E6=94=BE=E5=9B=BD?= =?UTF-8?q?=E6=A0=87=E8=A7=86=E9=A2=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/client/src/components/videoPlayer/videoPlay.jsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx index 545b714..d126a9c 100644 --- a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx +++ b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx @@ -124,8 +124,6 @@ const VideoPlay = ({ dispatch, actions, setRoll(false) }, [resolution]); - - useEffect(() => { if (disappear || !videoMask) { @@ -425,7 +423,8 @@ const VideoPlay = ({ dispatch, actions, const flv = flvjs.createPlayer({ type: 'flv', // url: 'ws://10.8.30.42:8081/jessica/34020000001110000001/34020000001310000001.flv', - url: `${iotVideoServer}/jessica/${videoObj.topSerialNo}/${videoObj.serialNo}.flv`, + // url: `${iotVideoServer}/jessica/${videoObj.topSerialNo}/${videoObj.serialNo}.flv`, + url: `${iotVideoServer}/hdl/${videoObj.topSerialNo}/${videoObj.serialNo}.flv`, isLive: true, hasAudio: false, hasVideo: true,