videoChannelModel.ts
2 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
export interface VideoChannelQueryParamsType {
  page: number;
  pageSize: number;
  tbDeviceId?: string;
  name?: string;
  cameraCode?: string;
}
export interface VideoChannelItemType {
  id: string;
  createTime: string;
  updateTime: string;
  name: string;
  enabled: boolean;
  tenantId: string;
  channelId: string;
  cameraCode: string;
  deviceId: string;
  manufacturer: string;
  model: string;
  owner: string;
  civilCode: string;
  address: string;
  parental: number;
  safetyWay: number;
  registerWay: number;
  certifiable: number;
  errorCode: number;
  secrecy: number;
  status: string;
  longitude: number;
  latitude: number;
  longitudeGcj02: number;
  latitudeGcj02: number;
  longitudeWgs84: number;
  latitudeWgs84: number;
  subCount: number;
  hasAudio: boolean;
  channelType: number;
  ptztype: number;
  ifShowGBT?: boolean;
  accessMode?: number;
}
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;
}
export interface VideoChanneControlType {
  command?: string | number | object;
  horizonSpeed?: string | number | object;
  verticalSpeed?: string | number | object;
  zoomSpeed?: string | number | object;
  tbDeviceId?: string | number | object;
  channelId?: string | number | object;
}