| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- declare namespace CVS {
- interface space {
- description: string
- deviceCount: number | null
- deviceMode: string | null
- edgeId: number | null
- edgeName: string | null
- serialId: string | null
- spaceId: number | null
- status: 'RUNNING' | 'STOPPED' | 'OPERATING' | ''
- type: 'RTMP' | 'GB28181' | 'ONVIF' | 'BVCP' | 'RTSP' | 'JT808' | '',
- upstreamAuth: {
- enabled: boolean
- key: string
- expire: number
- },
- downstreamAuth: {
- enabled: boolean
- key: string
- expire: number
- }
- recording: {
- 'enabled': boolean,
- 'duration': number, // 单个文件市长,显示分钟 传递秒
- 'format': 'FLV',
- 'recordType': 'PERIOD' // 这个保留 只有周期录制
- 'bucket': string
- }
- thumbnail: {
- enabled: boolean
- interval: number
- bucket: string
- }
- // ai 配置
- 'aiConfig': {
- 'enabled': boolean,
- 'configuration': [],
- 'bucket': string,
- }
- }
- interface device {
- deviceId: number, // 设备id
- deviceName: string // 设备名称
- type: 'RTSP' | 'RTMP' | 'GB28181' // 空间类型 RTSP RTMP GB28181
- description: string
- status: 'ONLINE' | 'OFFLINE' | 'PUSHING' | 'PULLING' | 'ERROR' // 设备状态,对应的值有 ONLINE 在线 OFFLINE 离线 PUSHING 推流中 PULLING 拉流中 ERROR 异常
- spaceId: string // 空间id
- spaceName: string // 空间名称
- deviceStreamId: string // 视频流id
- gisLongitude: string
- gisLatitude: string
- gisName: string
- }
- }
|