diff --git a/front/src/api/file.js b/front/src/api/file.js index 094e0c4d..278aee62 100644 --- a/front/src/api/file.js +++ b/front/src/api/file.js @@ -116,11 +116,22 @@ export function getPlaceType() { //西海岸 根据标签树查询视频列表 export function CameraConditionPlaceType(params) { - return axios.post( - 'http://10.134.135.92:9537/data_service/getCamera/CameraConditionPlaceType', - params, - config2 - ) + return axios.post( + 'http://10.134.135.92:9537/data_service/getCamera/CameraConditionPlaceType' + + params, + config2 + ) +} + +// 西海岸视频wss流获取 +export function getCameraLiveStream(params) { + return axios.get( + 'http://10.134.135.92:9537/data_service/getCamera/getCameraLiveStream?cameraIndexCode=' + + params.channelId + + '&protocol=' + + 'wss' + '&transmode=1&streamType=1', + config2 + ) } // 西海岸--获取摄像头列表的后台地址 (测试环境地址:10.134.135.92:9537) let _cameraUrl = diff --git a/front/src/supermap/advance-init.js b/front/src/supermap/advance-init.js index 6068870d..6e28c3c6 100644 --- a/front/src/supermap/advance-init.js +++ b/front/src/supermap/advance-init.js @@ -1734,8 +1734,9 @@ export function MapFun(mapObj) { // }) // } marker.on('click', e => { - console.log('点位数据', e) - clickDataList.push(e.resourceData); + //console.log('点位数据', e) + //console.log('点位数据1', e.sourceTarget.resourceData) + clickDataList.push(e.sourceTarget.resourceData); // 判断是否需要选中之后更换marker的图标 //const layers = layerGroup.get(layerName).getLayers() // layers.forEach((layer) => { diff --git a/front/src/views/home/components/H5Player.vue b/front/src/views/home/components/H5Player.vue index 6ace8674..ccb06eb6 100644 --- a/front/src/views/home/components/H5Player.vue +++ b/front/src/views/home/components/H5Player.vue @@ -7,6 +7,7 @@