|
@ -306,6 +306,10 @@ const VideoPlay = ({ dispatch, actions, |
|
|
return () => { |
|
|
return () => { |
|
|
if (jessibucas.current) { |
|
|
if (jessibucas.current) { |
|
|
jessibucas.current.destroy() |
|
|
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') { |
|
|
if (yingshiPlayer.current && videoObj.type == 'yingshi') { |
|
|
yingshiPlayer.current.stop() |
|
|
yingshiPlayer.current.stop() |
|
|