Browse Source

jessibuca 调试

release_1.3.0
wenlele 2 years ago
parent
commit
6aaff35ff5
  1. 20
      code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx
  2. 2
      code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx

20
code/VideoAccess-VCMP/web/client/src/components/videoPlayer/videoPlay.jsx

@ -56,9 +56,9 @@ const VideoPlay = ({ dispatch, actions,
// videoObj = {
// type: 'cascade',
// audio: false,
// serialNo: '34020000001310000001', //
// topSerialNo: '34020000001110000077', //
// playUrlSd: 'http://221.230.55.27:8081/jessica/34020000001110000077/34020000001310000001', //
// serialNo: '34020000001310000003', //
// topSerialNo: '34020000001110000079', //
// playUrlSd: 'http://221.230.55.27:8081/jessica/34020000001110000079/34020000001310000003', //
// // playUrlHd: 'ezopen://open.ys7.com/G75922040/1.hd.live',
// // replayUrl: 'ezopen://open.ys7.com/G75922040/1.rec',
// },
@ -67,7 +67,7 @@ const VideoPlay = ({ dispatch, actions,
iotVideoServer,
local, //
}) => {
// console.log('1754',videoStyle);
// console.log('1754',videoObj);
if (videoObj.type == 'yingshi') {
videoObj = {
...videoObj,
@ -141,7 +141,6 @@ const VideoPlay = ({ dispatch, actions,
} else {
setWritten('视频异常,问题处理中...')
}
});
}
@ -200,7 +199,7 @@ const VideoPlay = ({ dispatch, actions,
}
}, {
key: 'talk',
hide: !videoObj.audio,
hide: !videoObj.audio,
click: (e) => {
changeSelectState('talk')
}
@ -227,7 +226,7 @@ const VideoPlay = ({ dispatch, actions,
}
}, {
key: 'histroy',
hide: !Boolean(videoObj.replayUrl),
hide: !Boolean(videoObj.replayUrl),
click: () => {
changeSelectState('histroy')
videoFront = new moment(); //
@ -361,6 +360,7 @@ const VideoPlay = ({ dispatch, actions,
const createPlay = async () => {
if (videoObj.type != 'yingshi') {
// console.log(videoObj,iotVideoServer);
try {
// const inviteRes = await IotVideoServerRequest.get(VideoServeApi.invite, {
// id: '36011200002002021114',
@ -370,8 +370,12 @@ const VideoPlay = ({ dispatch, actions,
// }, err => {.
// console.log(err);
// })
const inviteRes_ = await request.get(`${iotVideoServer}/api/gb28181/invite?id=${videoObj.topSerialNo}&channel=${videoObj.serialNo}`)
const inviteRes_ = await request.get(`${iotVideoServer}/api/gb28181/invite?id=${videoObj.topSerialNo}&channel=${videoObj.serialNo}`).then((res) =>{
console.log(11111, res)
})
} catch (error) {
console.log(123151);
console.log(error.response);
}

2
code/VideoAccess-VCMP/web/client/src/sections/equipmentWarehouse/containers/nvr.jsx

@ -141,7 +141,7 @@ const NvrHeader = (props) => {
modalName="revise"
venderList={venderList}
close={() => {
dispatch(equipmentWarehouse.getNvr(searchb.current));
dispatch(equipmentWarehouse.getNvr(searchData.current));
}}
/>
</Button>

Loading…
Cancel
Save