web
2025-04-07 6acd20f3f37e988488b681a1a394b37a32f3ffe6
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { publicRequest } from '@/utils/request'
 
// 根据小区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',
    })
}