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()