index.ts
1.18 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
export interface VideoItemRecordType {
id: string
creator: string
createTime: string
name: string
enabled: boolean
tenantId: string
sn: string
organizationId: string
organizationName: string
status: boolean
accessMode: number
playProtocol: number
params?: Params
videoUrl: string
}
export interface Params {
channelNo?: string
deviceId?: string
}
export interface VideoChannelPlayAddressType {
code: number
message: string
data: Data
}
export interface Data {
app: string
stream: string
ip: any
flv: string
https_flv: string
ws_flv: string
wss_flv: string
fmp4: string
https_fmp4: string
ws_fmp4: string
wss_fmp4: string
hls: string
https_hls: string
ws_hls: string
wss_hls: string
ts: string
https_ts: string
ws_ts: string
wss_ts: any
rtmp: string
rtmps: string
rtsp: string
rtsps: string
rtc: string
rtcs: string
mediaServerId: string
tracks: Track[]
startTime: any
endTime: any
progress: number
}
export interface Track {
channels: number
codecId: number
codecIdName: any
codecType: number
ready: boolean
sampleBit: number
sampleRate: number
fps: number
height: number
width: number
}