import { publicRequest } from '@/utils/request.js' // æ ¹æ®å°åŒºid获å–监控点 export const getVideoList = (params) => { return publicRequest({ url: '/monitorVideoStreaming/getAllByPoint', method: 'get', params }) } // å¼€å§‹è§†é¢‘ç‚¹æ’ export const getVideoMedia = (deviceId, channelId) => { return publicRequest({ url: `/monitorVideoStreaming/play/${deviceId}/${channelId}`, method: 'get', }) } // è§†é¢‘åœæ¢ç‚¹æ’ export const stopVideoMedia = (deviceId, channelId) => { return publicRequest({ url: `/monitorVideoStreaming/stop/${deviceId}/${channelId}`, method: 'get', }) } // ç»§ç»ç‚¹æ’ export const renewVideoMedia = (deviceId, channelId) => { return publicRequest({ url: `/monitorVideoStreaming/updateEndTime/${deviceId}/${channelId}`, method: 'get', }) }