From 848c14d9ab339797d9d8cb5601a2cb8a0a23f9b4 Mon Sep 17 00:00:00 2001 From: wenlele Date: Fri, 28 Oct 2022 10:35:49 +0800 Subject: [PATCH] =?UTF-8?q?bye=20=E8=A7=86=E9=A2=91=E6=8E=A8=E6=B5=81?= =?UTF-8?q?=E5=85=B3=E9=97=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../web/client/src/components/videoPlayer/videoPlay.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 44b1239..a104c0d 100644 --- a/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx +++ b/code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx @@ -77,7 +77,7 @@ const VideoPlay = ({ dispatch, actions, playUrlHd: `ezopen://open.ys7.com/${videoObj.serialNo}/${videoObj.channelNo || '1'}.hd.live`, replayUrl: `ezopen://open.ys7.com/${videoObj.serialNo}/${videoObj.channelNo || '1'}.hd.local.rec`, } - }else { + } else { videoObj = { ...videoObj, playUrlSd: `${iotVideoPlayServer}/jessica/${videoObj.topSerialNo}/${videoObj.serialNo}`, @@ -306,6 +306,10 @@ const VideoPlay = ({ dispatch, actions, return () => { if (jessibucas.current) { jessibucas.current.destroy() + // console.log(1111111111111111111111); + const bye = request.get(`${iotVideoServer}/api/gb28181/bye?id=${videoObj.topSerialNo}&channel=${videoObj.serialNo}`).then(v=>{ + // console.log(1231313123); + }) } if (yingshiPlayer.current && videoObj.type == 'yingshi') { yingshiPlayer.current.stop()