tencentcloud-sdk-nodejs 4.1.304 → 4.1.306

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/apm/v20210622/apm_client.js +3 -0
  3. package/es/services/billing/v20180709/billing_client.js +8 -2
  4. package/es/services/bma/index.js +2 -2
  5. package/es/services/chdfs/index.js +2 -2
  6. package/es/services/cii/index.js +2 -2
  7. package/es/services/dlc/v20210125/dlc_client.js +785 -596
  8. package/es/services/es/index.js +2 -2
  9. package/es/services/essbasic/index.js +2 -2
  10. package/es/services/facefusion/index.js +2 -2
  11. package/es/services/ims/index.js +2 -2
  12. package/es/services/ioa/v20220601/ioa_client.js +3 -0
  13. package/es/services/iotvideo/index.js +2 -2
  14. package/es/services/irp/index.js +2 -2
  15. package/es/services/mongodb/index.js +2 -2
  16. package/es/services/ocr/v20181119/ocr_client.js +12 -6
  17. package/es/services/rce/index.js +2 -2
  18. package/es/services/tbp/index.js +2 -2
  19. package/es/services/tcb/v20180608/tcb_client.js +5 -2
  20. package/es/services/tdmysql/v20211122/tdmysql_client.js +15 -6
  21. package/es/services/tem/index.js +2 -2
  22. package/es/services/thpc/v20230321/thpc_client.js +22 -4
  23. package/es/services/tms/index.js +2 -2
  24. package/es/services/trro/v20220325/trro_client.js +32 -8
  25. package/es/services/trtc/v20190722/trtc_client.js +33 -12
  26. package/es/services/tsw/index.js +2 -2
  27. package/es/services/vm/index.js +4 -4
  28. package/es/services/vod/v20180717/vod_client.js +6 -0
  29. package/es/services/wedata/index.js +2 -2
  30. package/package.json +1 -1
  31. package/tencentcloud/common/sdk_version.d.ts +1 -1
  32. package/tencentcloud/common/sdk_version.js +1 -1
  33. package/tencentcloud/services/adp/v20260520/adp_client.d.ts +1 -1
  34. package/tencentcloud/services/adp/v20260520/adp_models.d.ts +113 -51
  35. package/tencentcloud/services/ags/v20250920/ags_models.d.ts +2 -2
  36. package/tencentcloud/services/apis/v20240801/apis_models.d.ts +118 -9
  37. package/tencentcloud/services/apm/v20210622/apm_client.d.ts +5 -1
  38. package/tencentcloud/services/apm/v20210622/apm_client.js +6 -0
  39. package/tencentcloud/services/apm/v20210622/apm_models.d.ts +125 -57
  40. package/tencentcloud/services/as/v20180419/as_models.d.ts +157 -173
  41. package/tencentcloud/services/batch/v20170312/batch_models.d.ts +1 -1
  42. package/tencentcloud/services/billing/v20180709/billing_client.d.ts +14 -6
  43. package/tencentcloud/services/billing/v20180709/billing_client.js +18 -6
  44. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +69 -45
  45. package/tencentcloud/services/bma/index.d.ts +4 -4
  46. package/tencentcloud/services/bma/index.js +2 -2
  47. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -11
  48. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +3 -3
  49. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +1 -1
  50. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  51. package/tencentcloud/services/chdfs/index.js +2 -2
  52. package/tencentcloud/services/cii/index.d.ts +4 -4
  53. package/tencentcloud/services/cii/index.js +2 -2
  54. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +5 -1
  55. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +76 -76
  56. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +8 -9
  57. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +1 -1
  58. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +140 -130
  59. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +4 -0
  60. package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +9 -6
  61. package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +848 -593
  62. package/tencentcloud/services/dlc/v20210125/dlc_client.js +1269 -888
  63. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +6497 -1472
  64. package/tencentcloud/services/drm/v20181115/drm_models.d.ts +4 -0
  65. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +80 -92
  66. package/tencentcloud/services/es/index.d.ts +4 -4
  67. package/tencentcloud/services/es/index.js +2 -2
  68. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +50 -70
  69. package/tencentcloud/services/ess/v20201111/ess_client.js +50 -70
  70. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +4 -0
  71. package/tencentcloud/services/essbasic/index.d.ts +4 -4
  72. package/tencentcloud/services/essbasic/index.js +2 -2
  73. package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +46 -63
  74. package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +46 -63
  75. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +4 -0
  76. package/tencentcloud/services/facefusion/index.d.ts +4 -4
  77. package/tencentcloud/services/facefusion/index.js +2 -2
  78. package/tencentcloud/services/gme/v20180711/gme_client.d.ts +1 -1
  79. package/tencentcloud/services/gme/v20180711/gme_client.js +1 -1
  80. package/tencentcloud/services/gme/v20180711/gme_models.d.ts +12 -8
  81. package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +51 -18
  82. package/tencentcloud/services/ims/index.d.ts +4 -4
  83. package/tencentcloud/services/ims/index.js +2 -2
  84. package/tencentcloud/services/ioa/v20220601/ioa_client.d.ts +5 -1
  85. package/tencentcloud/services/ioa/v20220601/ioa_client.js +6 -0
  86. package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +222 -163
  87. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  88. package/tencentcloud/services/iotvideo/index.js +2 -2
  89. package/tencentcloud/services/irp/index.d.ts +4 -4
  90. package/tencentcloud/services/irp/index.js +2 -2
  91. package/tencentcloud/services/live/v20180801/live_models.d.ts +27 -42
  92. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  93. package/tencentcloud/services/mongodb/index.js +2 -2
  94. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +31 -49
  95. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +260 -173
  96. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +20 -12
  97. package/tencentcloud/services/ocr/v20181119/ocr_client.js +26 -14
  98. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +198 -114
  99. package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +4 -0
  100. package/tencentcloud/services/rce/index.d.ts +4 -4
  101. package/tencentcloud/services/rce/index.js +2 -2
  102. package/tencentcloud/services/sms/v20210111/sms_models.d.ts +6 -9
  103. package/tencentcloud/services/tbp/index.d.ts +4 -4
  104. package/tencentcloud/services/tbp/index.js +2 -2
  105. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +7 -3
  106. package/tencentcloud/services/tcb/v20180608/tcb_client.js +9 -3
  107. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +84 -25
  108. package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.d.ts +19 -7
  109. package/tencentcloud/services/tdmysql/v20211122/tdmysql_client.js +27 -9
  110. package/tencentcloud/services/tdmysql/v20211122/tdmysql_models.d.ts +305 -29
  111. package/tencentcloud/services/tem/index.d.ts +4 -4
  112. package/tencentcloud/services/tem/index.js +2 -2
  113. package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +4 -0
  114. package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +51 -5
  115. package/tencentcloud/services/thpc/v20230321/thpc_client.js +64 -6
  116. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +343 -52
  117. package/tencentcloud/services/tms/index.d.ts +4 -4
  118. package/tencentcloud/services/tms/index.js +2 -2
  119. package/tencentcloud/services/tokenhub/v20260322/tokenhub_models.d.ts +4 -0
  120. package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +12 -3
  121. package/tencentcloud/services/trro/v20220325/trro_client.d.ts +41 -9
  122. package/tencentcloud/services/trro/v20220325/trro_client.js +60 -12
  123. package/tencentcloud/services/trro/v20220325/trro_models.d.ts +1339 -801
  124. package/tencentcloud/services/trtc/v20190722/trtc_client.d.ts +67 -25
  125. package/tencentcloud/services/trtc/v20190722/trtc_client.js +86 -30
  126. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +481 -192
  127. package/tencentcloud/services/tsw/index.d.ts +4 -4
  128. package/tencentcloud/services/tsw/index.js +2 -2
  129. package/tencentcloud/services/vm/index.d.ts +6 -6
  130. package/tencentcloud/services/vm/index.js +4 -4
  131. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +21 -7
  132. package/tencentcloud/services/vod/v20180717/vod_client.js +24 -6
  133. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +147 -38
  134. package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +1 -0
  135. package/tencentcloud/services/vpc/v20170312/vpc_client.js +1 -0
  136. package/tencentcloud/services/wedata/index.d.ts +4 -4
  137. package/tencentcloud/services/wedata/index.js +2 -2
  138. package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +1 -1
@@ -1,874 +1,1076 @@
1
1
  /**
2
- * 云端录制文件上传到云存储的参数(对象存储cos)
2
+ * StartPublishLiveStream返回参数结构体
3
3
  */
4
- export interface CloudStorage {
4
+ export interface StartPublishLiveStreamResponse {
5
5
  /**
6
- * 腾讯云对象存储COS以及第三方云存储账号信息
7
- 0:腾讯云对象存储 COS
8
- 1:AWS
9
- 【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
10
- 示例值:0
6
+ * 用于唯一标识转推任务,由腾讯云服务端生成,后续停止请求需要携带TaskiD参数。
11
7
  */
12
- Vendor: number;
8
+ TaskId?: string;
13
9
  /**
14
- * 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
15
- 示例值:cn-shanghai-1
16
-
17
- AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
18
- 示例值:ap-shanghai(cos, 具体参考云存储厂商支持的地域)
10
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
19
11
  */
20
- Region: string;
12
+ RequestId?: string;
13
+ }
14
+ /**
15
+ * DeleteProject请求参数结构体
16
+ */
17
+ export interface DeleteProjectRequest {
21
18
  /**
22
- * 云存储桶名称。
19
+ * 项目ID
23
20
  */
24
- Bucket: string;
21
+ ProjectId: string;
22
+ }
23
+ /**
24
+ * 权限信息
25
+ */
26
+ export interface PolicyInfo {
25
27
  /**
26
- * 云存储的access_key账号信息。
27
- 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
28
+ * 远端设备ID
28
29
  */
29
- AccessKey: string;
30
+ RemoteDeviceId: string;
30
31
  /**
31
- * 云存储的secret_key账号信息。
32
- 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
32
+ * 关联的现场设备ID
33
33
  */
34
- SecretKey: string;
34
+ FieldDeviceIds: Array<string>;
35
35
  /**
36
- * 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8。
36
+ * 最近添加时间
37
37
  */
38
- FileNamePrefix?: Array<string>;
38
+ ModifyTime: string;
39
39
  }
40
40
  /**
41
- * StartPublishLiveStream返回参数结构体
41
+ * GetDurationDetails返回参数结构体
42
42
  */
43
- export interface StartPublishLiveStreamResponse {
43
+ export interface GetDurationDetailsResponse {
44
44
  /**
45
- * 用于唯一标识转推任务,由腾讯云服务端生成,后续停止请求需要携带TaskiD参数。
45
+ * 列表总数
46
46
  */
47
- TaskId?: string;
47
+ TotalCount?: number;
48
+ /**
49
+ * 时长明细列表
50
+ */
51
+ DurationDetails?: Array<DurationDetails>;
48
52
  /**
49
53
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
50
54
  */
51
55
  RequestId?: string;
52
56
  }
53
57
  /**
54
- * DeleteProject请求参数结构体
58
+ * 会话数据详单(按设备区分)
55
59
  */
56
- export interface DeleteProjectRequest {
60
+ export interface SessionDeviceDetail {
57
61
  /**
58
- * 项目ID
62
+ * <p>设备类型:field或remote</p>
59
63
  */
60
- ProjectId: string;
61
- }
62
- /**
63
- * 按授权查看的license列表
64
- */
65
- export interface License {
64
+ DeviceType?: string;
66
65
  /**
67
- * 该类型的license个数
66
+ * <p>起始点位时间,单位:秒</p>
68
67
  */
69
- Count?: number;
68
+ StartTime?: number;
70
69
  /**
71
- * license状态:0:未绑定;1:已绑定;2:已停服;3:已退费
70
+ * <p>结束点位时间,单位:秒</p>
72
71
  */
73
- Status?: number;
72
+ EndTime?: number;
74
73
  /**
75
- * 到期时间戳:s
74
+ * <p>会话ID</p>
76
75
  */
77
- ExpireTime?: string;
76
+ SessionId?: string;
78
77
  /**
79
- * 服务时长:s
78
+ * <p>码率,单位:kbps</p>
80
79
  */
81
- Duration?: string;
80
+ Rate?: Array<number | bigint>;
82
81
  /**
83
- * 剩余天数:天
82
+ * <p>帧率</p>
84
83
  */
85
- RemainDay?: number;
84
+ Fps?: Array<number | bigint>;
86
85
  /**
87
- * 该类型的licenseId列表
86
+ * <p>丢包率,单位:%</p>
88
87
  */
89
- LicenseIds?: Array<string>;
90
- }
91
- /**
92
- * BoundLicenses请求参数结构体
93
- */
94
- export interface BoundLicensesRequest {
88
+ Lost?: Array<number>;
95
89
  /**
96
- * license数量
90
+ * <p>网络时延,单位:ms</p>
97
91
  */
98
- Count: number;
92
+ NetworkLatency?: Array<number | bigint>;
99
93
  /**
100
- * 设备id
94
+ * <p>视频时延,单位:ms</p>
101
95
  */
102
- DeviceId: string;
96
+ VideoLatency?: Array<number | bigint>;
103
97
  /**
104
- * 项目ID
98
+ * <p>CPU使用率,单位:%</p>
105
99
  */
106
- ProjectId: string;
100
+ CpuUsed?: Array<number>;
101
+ /**
102
+ * <p>内存使用率,单位:%</p>
103
+ */
104
+ MemUsed?: Array<number>;
105
+ /**
106
+ * <p>时间偏移量,单位:秒</p>
107
+ */
108
+ TimeOffset?: Array<number | bigint>;
109
+ /**
110
+ * <p>项目ID</p>
111
+ */
112
+ ProjectId?: string;
113
+ /**
114
+ * <p>设备ID</p>
115
+ */
116
+ DeviceId?: string;
117
+ /**
118
+ * <p>sdk版本</p>
119
+ */
120
+ Ver?: string;
121
+ /**
122
+ * <p>模式(p2p/server)</p>
123
+ */
124
+ SdkMode?: string;
125
+ /**
126
+ * <p>解码耗时,单位:ms</p>
127
+ */
128
+ DecodeCost?: Array<number | bigint>;
129
+ /**
130
+ * <p>【已废弃,使用RenderCost】</p>
131
+ 注意:此字段可能返回 null,表示取不到有效值。
132
+ * @deprecated
133
+ */
134
+ RenderConst?: Array<number | bigint>;
135
+ /**
136
+ * <p>卡顿k100</p>
137
+ */
138
+ K100?: Array<number>;
139
+ /**
140
+ * <p>卡顿k150</p>
141
+ */
142
+ K150?: Array<number>;
143
+ /**
144
+ * <p>nack请求数</p>
145
+ */
146
+ NACK?: Array<number | bigint>;
147
+ /**
148
+ * <p>服务端调控码率,单位:kbps</p>
149
+ */
150
+ BitRateEstimate?: Array<number | bigint>;
151
+ /**
152
+ * <p>宽度</p>
153
+ */
154
+ Width?: number;
155
+ /**
156
+ * <p>高度</p>
157
+ */
158
+ Height?: number;
159
+ /**
160
+ * <p>编码耗时,单位:ms</p>
161
+ */
162
+ EncodeCost?: Array<number | bigint>;
163
+ /**
164
+ * <p>采集耗时,单位:ms</p>
165
+ */
166
+ CaptureCost?: Array<number | bigint>;
167
+ /**
168
+ * <p>渲染耗时,单位:ms</p>
169
+ */
170
+ RenderCost?: Array<number | bigint>;
171
+ /**
172
+ * <p>配置宽度</p>
173
+ */
174
+ ConfigWidth?: number;
175
+ /**
176
+ * <p>配置高度</p>
177
+ */
178
+ ConfigHeight?: number;
179
+ /**
180
+ * <p>平均帧间隔</p>
181
+ */
182
+ FrameDelta?: Array<number | bigint>;
183
+ /**
184
+ * <p>最大帧间隔</p>
185
+ */
186
+ MaxFrameDelta?: Array<number | bigint>;
187
+ /**
188
+ * <p>总码率评估,单位:kbps</p>
189
+ */
190
+ TotalBitrateEstimate?: Array<number | bigint>;
191
+ /**
192
+ * <p>帧间隔大于100ms的卡顿时长</p>
193
+ */
194
+ Lag100Duration?: Array<number | bigint>;
195
+ /**
196
+ * <p>帧间隔大于150ms的卡顿时长</p>
197
+ */
198
+ Lag150Duration?: Array<number | bigint>;
199
+ /**
200
+ * <p>是否开启多网:0 单网,1 多网</p>
201
+ */
202
+ MultiMode?: number;
203
+ /**
204
+ * <p>多网卡信息</p>
205
+ */
206
+ MultiNet?: Array<MultiNet>;
207
+ /**
208
+ * <p>现场设备和远端设备消息通道往返延迟</p><p>单位:毫秒ms</p>
209
+ */
210
+ ControlLatency?: Array<number | bigint>;
107
211
  }
108
212
  /**
109
- * 权限信息
213
+ * 标注处理参数
110
214
  */
111
- export interface PolicyInfo {
215
+ export interface ProcessParams {
112
216
  /**
113
- * 远端设备ID
217
+ * <p>标注处理模式,预留字段</p>
114
218
  */
115
- RemoteDeviceId: string;
219
+ Mode?: string;
220
+ }
221
+ /**
222
+ * GetLicenseStat请求参数结构体
223
+ */
224
+ export type GetLicenseStatRequest = null;
225
+ /**
226
+ * DescribeProjectList返回参数结构体
227
+ */
228
+ export interface DescribeProjectListResponse {
116
229
  /**
117
- * 关联的现场设备ID
230
+ * 项目信息数组
118
231
  */
119
- FieldDeviceIds: Array<string>;
232
+ Projects: Array<ProjectInfo>;
120
233
  /**
121
- * 最近添加时间
234
+ * 项目总数
122
235
  */
123
- ModifyTime: string;
236
+ Total: number;
237
+ /**
238
+ * 本次返回的项目数
239
+ */
240
+ Num: number;
241
+ /**
242
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
243
+ */
244
+ RequestId?: string;
124
245
  }
125
246
  /**
126
- * CreateCloudRecording返回参数结构体
247
+ * GetLicenseStat返回参数结构体
127
248
  */
128
- export interface CreateCloudRecordingResponse {
249
+ export interface GetLicenseStatResponse {
129
250
  /**
130
- * 云录制服务分配的任务 ID。任务 ID 是对一次录制生命周期过程的唯一标识,结束录制时会失去意义。任务 ID需要业务保存下来,作为下次针对这个录制任务操作的参数。
251
+ * 有效授权
131
252
  */
132
- TaskId?: string;
253
+ Valid?: number;
254
+ /**
255
+ * 已绑定授权
256
+ */
257
+ Bound?: number;
258
+ /**
259
+ * 未绑定授权
260
+ */
261
+ UnBound?: number;
262
+ /**
263
+ * 过期授权
264
+ */
265
+ Expire?: number;
266
+ /**
267
+ * 当月用量超时授权个数
268
+ */
269
+ MonthlyExpire?: number;
133
270
  /**
134
271
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
135
272
  */
136
273
  RequestId?: string;
137
274
  }
138
275
  /**
139
- * ModifyProjectSecMode返回参数结构体
276
+ * RetryAnnotationTask返回参数结构体
140
277
  */
141
- export interface ModifyProjectSecModeResponse {
278
+ export interface RetryAnnotationTaskResponse {
142
279
  /**
143
280
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
144
281
  */
145
282
  RequestId?: string;
146
283
  }
147
284
  /**
148
- * StartPublishLiveStream请求参数结构体
285
+ * DescribeSessionStatistics请求参数结构体
149
286
  */
150
- export interface StartPublishLiveStreamRequest {
287
+ export interface DescribeSessionStatisticsRequest {
151
288
  /**
152
- * 是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转码费用。 示例值:1
289
+ * <p>项目ID</p>
153
290
  */
154
- WithTranscoding: number;
291
+ ProjectId: string;
155
292
  /**
156
- * 所有参与混流转推的主播持续离开TRTC房间或切换成观众超过MaxIdleTime的时长,自动停止转推,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
293
+ * <p>设备ID</p>
157
294
  */
158
- MaxIdleTime: number;
295
+ DeviceId?: string;
159
296
  /**
160
- * 转推视频参数
297
+ * <p>起始时间,单位:秒</p>
161
298
  */
162
- VideoParams: VideoParams;
299
+ StartTime?: number;
163
300
  /**
164
- * 转推的URL参数,一个任务最多支持10个推流URL
301
+ * <p>结束时间,单位:秒</p>
165
302
  */
166
- PublishParams: Array<PublishParams>;
303
+ EndTime?: number;
167
304
  }
168
305
  /**
169
- * ModifyDevice返回参数结构体
306
+ * DescribeAnnotationResults请求参数结构体
170
307
  */
171
- export interface ModifyDeviceResponse {
308
+ export interface DescribeAnnotationResultsRequest {
172
309
  /**
173
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
310
+ * <p>处理项 ID</p>
174
311
  */
175
- RequestId?: string;
312
+ TaskId: string;
176
313
  }
177
314
  /**
178
- * GetLicenses请求参数结构体
315
+ * 处理项信息
179
316
  */
180
- export interface GetLicensesRequest {
317
+ export interface Task {
181
318
  /**
182
- * 页码
319
+ * <p>处理项 ID</p>
183
320
  */
184
- PageNum: number;
321
+ TaskId?: string;
185
322
  /**
186
- * 页面数量
323
+ * <p>视频文件名</p>
187
324
  */
188
- PageSize: number;
325
+ FileName?: string;
189
326
  /**
190
- * projectId
327
+ * <p>处理项状态:1 未处理,2 处理中,3 超时,4 异常,5待确认,6 成功</p><p>枚举值:</p><ul><li>1: 未处理</li><li>2: 处理中</li><li>3: 超时</li><li>4: 异常</li><li>5: 待确认</li><li>6: 成功</li></ul>
191
328
  */
192
- ProjectId?: string;
329
+ Status?: number;
193
330
  /**
194
- * DeviceId
331
+ * <p>视频完整路径(S3源为桶名/文件key;HTTP源为完整URL)</p>
195
332
  */
196
- DeviceId?: string;
333
+ InputPath?: string;
197
334
  /**
198
- * license状态:0:未绑定;1:已绑定;2:已停服;3:已退费
335
+ * <p>失败原因,成功为空</p>
199
336
  */
200
- Status?: number;
337
+ ErrorMsg?: string;
338
+ /**
339
+ * <p>创建时间,Unix 时间戳(秒)</p>
340
+ */
341
+ CreateTime?: string;
342
+ /**
343
+ * <p>完成时间,Unix 时间戳(秒),进行中为 0</p>
344
+ */
345
+ FinishTime?: string;
201
346
  }
202
347
  /**
203
- * DescribePolicy返回参数结构体
348
+ * DescribeAnnotationTasks请求参数结构体
204
349
  */
205
- export interface DescribePolicyResponse {
350
+ export interface DescribeAnnotationTasksRequest {
206
351
  /**
207
- * 权限模式
352
+ * <p>任务 ID</p>
208
353
  */
209
- PolicyMode?: string;
354
+ JobId: string;
210
355
  /**
211
- * 返回的权限模式是否为当前生效的权限模式
356
+ * <p>分页偏移,默认 0</p>
212
357
  */
213
- PolicyEnabled?: boolean;
358
+ Offset?: number;
214
359
  /**
215
- * 权限信息列表
360
+ * <p>每页数量,默认 20,最大 100</p><p>取值范围:[10, 100]</p>
216
361
  */
217
- PolicyInfo?: Array<PolicyInfo>;
362
+ Limit?: number;
218
363
  /**
219
- * 本次返回的权限信息数量
364
+ * <p>按文件名前缀过滤,不传不过滤</p>
220
365
  */
221
- Num?: number;
366
+ FileName?: string;
222
367
  /**
223
- * 权限信息总数
368
+ * <p>按处理项状态过滤:1 未处理,2 处理中,3 超时,4 异常,5待确认,6 成功。不传查全部</p><p>枚举值:</p><ul><li>1: 未处理</li><li>2: 处理中</li><li>3: 超时</li><li>4: 异常</li><li>5: 待确认</li><li>6: 成功</li></ul>
224
369
  */
225
- Total?: number;
370
+ Status?: number;
371
+ }
372
+ /**
373
+ * ModifyDevice请求参数结构体
374
+ */
375
+ export interface ModifyDeviceRequest {
376
+ /**
377
+ * 要修改设备归属项目的项目ID
378
+ */
379
+ ProjectId: string;
380
+ /**
381
+ * 要修改设备的设备ID
382
+ */
383
+ DeviceId: string;
384
+ /**
385
+ * 修改后的设备名称,不填则不修改
386
+ */
387
+ DeviceName?: string;
388
+ /**
389
+ * 修改后的设备认证口令,不填则不修改
390
+ */
391
+ DeviceToken?: string;
392
+ }
393
+ /**
394
+ * DeleteAnnotationJob返回参数结构体
395
+ */
396
+ export interface DeleteAnnotationJobResponse {
226
397
  /**
227
398
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
228
399
  */
229
400
  RequestId?: string;
230
401
  }
231
402
  /**
232
- * BatchDeleteDevices请求参数结构体
403
+ * 项目信息
233
404
  */
234
- export interface BatchDeleteDevicesRequest {
405
+ export interface ProjectInfo {
235
406
  /**
236
- * 目标删除设备所属项目ID
407
+ * 项目ID
237
408
  */
238
- ProjectId: string;
409
+ ProjectId?: string;
239
410
  /**
240
- * 目标删除设备的设备ID数组
411
+ * 项目名称
241
412
  */
242
- DeviceIds: Array<string>;
413
+ ProjectName?: string;
414
+ /**
415
+ * 项目描述
416
+ */
417
+ ProjectDescription?: string;
418
+ /**
419
+ * 项目权限模式,black为黑名单,white为白名单
420
+ */
421
+ PolicyMode?: string;
422
+ /**
423
+ * 项目信息修改时间
424
+ */
425
+ ModifyTime?: string;
243
426
  }
244
427
  /**
245
- * ModifyProjectSecMode请求参数结构体
428
+ * CreateBatchVideoAnnotationJob请求参数结构体
246
429
  */
247
- export interface ModifyProjectSecModeRequest {
430
+ export interface CreateBatchVideoAnnotationJobRequest {
248
431
  /**
249
- * 项目ID
432
+ * <p>批量输入源信息(目录前缀)</p>
250
433
  */
251
- ProjectId: string;
434
+ InputStorage: BatchS3SourceInfo;
252
435
  /**
253
- * 安全模式
254
- 0:关闭项目共享密钥
255
- 1:开启项目共享密钥
436
+ * <p>标注模式(当前仅开放精标注)</p><p>枚举值:</p><ul><li>3: 精标注</li></ul>
256
437
  */
257
- Mode: number;
438
+ AnnotationType: number;
258
439
  /**
259
- * 项目密钥 32位 小写英文+数字; 项目密钥模式必填
440
+ * <p>标注上下文信息</p>
260
441
  */
261
- Key?: string;
442
+ AnnotationContext?: AnnotationContext;
262
443
  /**
263
- * 自动注册方式
264
- 0:关闭自动注册
265
- 1:仅允许现场设备自动注册
266
- 2:仅允许远端设备自动注册
267
- 3:允许现场和远端设备均自动注册
444
+ * <p>标注处理参数,预留字段,当前无效</p>
268
445
  */
269
- AutoRegister?: number;
446
+ ProcessParams?: ProcessParams;
270
447
  /**
271
- * 是否允许远端获取现场设备列表(getGwList)
272
- 0:不允许
273
- 1:允许
448
+ * <p>批量结果输出存储信息,不传则不投递</p>
274
449
  */
275
- FieldListEnable?: number;
450
+ OutputStorage?: OutputStorage;
451
+ /**
452
+ * <p>回调信息,配置后当任务下子处理项状态从处理中变为其他状态时,服务端会向回调地址发送请求(退避重试三次,不保证回调一定送达,需保证目标地址接收服务有效),建议接收方做好幂等处理。回调请求格式如下:<br><strong>请求头</strong></p><table><thead><tr><th>名称</th><th>值</th></tr></thead><tbody><tr><td>X-Annotation-Signature</td><td>hex(HMAC-SHA256(请求体原始字节, CallbackInfo.Secret))</td></tr></tbody></table><p><strong>请求体</strong>(application/json)</p><table><thead><tr><th>参数名</th><th>类型</th><th>必选</th><th>描述</th></tr></thead><tbody><tr><td>JobId</td><td>string</td><td>是</td><td>任务 ID</td></tr><tr><td>TaskId</td><td>string</td><td>是</td><td>处理项 ID</td></tr><tr><td>FileName</td><td>string</td><td>是</td><td>视频文件名</td></tr><tr><td>Status</td><td>int</td><td>是</td><td>触发本次回调的处理项状态:3 超时,4 异常,5 待确认,6 成功</td></tr><tr><td>StatusChangedAt</td><td>int</td><td>是</td><td>状态变更时间,Unix 时间戳(秒)</td></tr><tr><td>RawResult</td><td>string</td><td>否</td><td>当前生效的结果 JSON 原文:成功=标注产物;待确认=原始标注;确认后=确认版内容。超时/异常无内容</td></tr></tbody></table>
453
+ */
454
+ CallbackInfo?: CallbackInfo;
276
455
  }
277
456
  /**
278
- * DescribeDeviceInfo请求参数结构体
457
+ * BoundLicenses请求参数结构体
279
458
  */
280
- export interface DescribeDeviceInfoRequest {
459
+ export interface BoundLicensesRequest {
281
460
  /**
282
- * 目标设备所属项目ID
461
+ * license数量
283
462
  */
284
- ProjectId: string;
463
+ Count: number;
285
464
  /**
286
- * 目标设备ID
465
+ * 设备id
287
466
  */
288
467
  DeviceId: string;
468
+ /**
469
+ * 项目ID
470
+ */
471
+ ProjectId: string;
289
472
  }
290
473
  /**
291
- * DescribeSessionStatisticsByInterval返回参数结构体
474
+ * DescribeDeviceList请求参数结构体
292
475
  */
293
- export interface DescribeSessionStatisticsByIntervalResponse {
476
+ export interface DescribeDeviceListRequest {
294
477
  /**
295
- * <p>各时间段的会话统计数据</p>
478
+ * <p>设备所属项目ID</p>
296
479
  */
297
- SessionStatistics?: Array<SessionIntervalStatistic>;
480
+ ProjectId: string;
298
481
  /**
299
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
482
+ * <p>设备类型筛选,不填默认为全部设备类型</p>
300
483
  */
301
- RequestId?: string;
484
+ DeviceType?: string;
485
+ /**
486
+ * <p>对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配</p>
487
+ */
488
+ SearchWords?: string;
489
+ /**
490
+ * <p>每页返回的最大设备数,不填默认为10</p>
491
+ */
492
+ PageSize?: number;
493
+ /**
494
+ * <p>当前页码,不填默认为1(首页)</p>
495
+ */
496
+ PageNumber?: number;
497
+ /**
498
+ * <p>设备状态筛选,不填默认为不过滤。取值:[&quot;ready&quot;,&quot;connected&quot;,&quot;online&quot;],online代表ready或connected</p>
499
+ */
500
+ DeviceStatus?: string;
501
+ /**
502
+ * <p>标识查询项目下的设备注册类型,默认不包含免注册登录设备。 若存在免注册登录设备,该参数传&quot;1&quot;</p><p>枚举值:</p><ul><li>0: 项目不包含免注册登录设备</li><li>1: 项目包含免注册登录设备</li></ul><p>默认值:0</p>
503
+ */
504
+ RegisterType?: number;
302
505
  }
303
506
  /**
304
- * GetLicenseStat返回参数结构体
507
+ * DescribeSessionStatisticsByInterval请求参数结构体
305
508
  */
306
- export interface GetLicenseStatResponse {
307
- /**
308
- * 有效授权
309
- */
310
- Valid?: number;
509
+ export interface DescribeSessionStatisticsByIntervalRequest {
311
510
  /**
312
- * 已绑定授权
511
+ * <p>项目ID</p>
313
512
  */
314
- Bound?: number;
513
+ ProjectId: string;
315
514
  /**
316
- * 未绑定授权
515
+ * <p>统计时间间隔:hour|day|month</p>
317
516
  */
318
- UnBound?: number;
517
+ StatisticInterval: string;
319
518
  /**
320
- * 过期授权
519
+ * <p>设备ID</p>
321
520
  */
322
- Expire?: number;
521
+ DeviceId?: string;
323
522
  /**
324
- * 当月用量超时授权个数
523
+ * <p>起始时间,单位:秒</p>
325
524
  */
326
- MonthlyExpire?: number;
525
+ StartTime?: number;
327
526
  /**
328
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
527
+ * <p>结束时间,单位:秒</p>
329
528
  */
330
- RequestId?: string;
529
+ EndTime?: number;
331
530
  }
332
531
  /**
333
- * 会话信息
532
+ * 会话时长明细
334
533
  */
335
- export interface SessionInfo {
534
+ export interface DurationDetails {
336
535
  /**
337
- * 会话ID
536
+ * 会话时间
338
537
  */
339
- SessionId?: string;
538
+ SessionTime?: string;
340
539
  /**
341
- * 远端设备ID
540
+ * 语音:min
342
541
  */
343
- RemoteDeviceId?: string;
542
+ Voice?: number;
344
543
  /**
345
- * 现场设备ID
544
+ * 标清:min
346
545
  */
347
- FieldDeviceId?: string;
546
+ SD?: number;
348
547
  /**
349
- * 分辨率
548
+ * 高清:min
350
549
  */
351
- Resolution?: string;
550
+ HD?: number;
352
551
  /**
353
- * 会话开始时间
552
+ * 超高清:min
354
553
  */
355
- StartTime?: number;
554
+ FHD?: number;
356
555
  /**
357
- * 会话结束时间
556
+ * 2k:min
358
557
  */
359
- EndTime?: number;
558
+ TwoK?: number;
360
559
  /**
361
- * 通话质量:good|normal|bad,对应优良差
560
+ * 4k:min
362
561
  */
363
- Quality?: string;
364
- }
365
- /**
366
- * DescribeRecentSessionList请求参数结构体
367
- */
368
- export interface DescribeRecentSessionListRequest {
562
+ FourK?: number;
369
563
  /**
370
- * <p>项目ID</p>
564
+ * 在线时长:min
371
565
  */
372
- ProjectId: string;
566
+ Online?: number;
373
567
  /**
374
- * <p>页码,从1开始</p>
568
+ * 多网标清:min
375
569
  */
376
- PageNumber: number;
570
+ MultiSD?: number;
377
571
  /**
378
- * <p>每页个数</p>
572
+ * 多网高清:min
379
573
  */
380
- PageSize: number;
574
+ MultiHD?: number;
381
575
  /**
382
- * <p>设备ID,支持过滤远端设备或现场设备</p>
576
+ * 多网超高清:min
383
577
  */
384
- DeviceId?: string;
578
+ MultiFHD?: number;
385
579
  /**
386
- * <p>时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算</p>
580
+ * 多网2k:min
387
581
  */
388
- StartTime?: number;
582
+ MultiTwoK?: number;
389
583
  /**
390
- * <p>时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算</p>
584
+ * 多网4k:min
391
585
  */
392
- EndTime?: number;
586
+ MultiFourK?: number;
587
+ /**
588
+ * 多网在线时长:min
589
+ */
590
+ MultiOnline?: number;
591
+ /**
592
+ * 抵扣时长:min
593
+ */
594
+ DeductDuration?: number;
393
595
  }
394
596
  /**
395
- * DescribeDeviceSessionDetails返回参数结构体
597
+ * ModifyPolicy返回参数结构体
396
598
  */
397
- export interface DescribeDeviceSessionDetailsResponse {
599
+ export interface ModifyPolicyResponse {
398
600
  /**
399
- * <p>按设备区分的会话详细数据</p>
601
+ * 添加关联失败的现场设备ID列表
400
602
  */
401
- Details?: Array<SessionDeviceDetail>;
603
+ FailedInsertIds?: Array<string>;
604
+ /**
605
+ * 解除关联失败的现场设备ID列表
606
+ */
607
+ FailedDeleteIds?: Array<string>;
402
608
  /**
403
609
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
404
610
  */
405
611
  RequestId?: string;
406
612
  }
407
613
  /**
408
- * DescribeProjectInfo请求参数结构体
614
+ * 回调配置
409
615
  */
410
- export interface DescribeProjectInfoRequest {
616
+ export interface CallbackInfo {
411
617
  /**
412
- * 目标项目ID,必填参数
618
+ * <p>回调地址</p>
413
619
  */
414
- ProjectId: string;
620
+ Url: string;
621
+ /**
622
+ * <p>回调签名密钥,用于回调请求的签名校验</p>
623
+ */
624
+ Secret: string;
415
625
  }
416
626
  /**
417
- * ModifyPolicy请求参数结构体
627
+ * DescribeAnnotationJobs请求参数结构体
418
628
  */
419
- export interface ModifyPolicyRequest {
420
- /**
421
- * 修改权限配置的项目ID
422
- */
423
- ProjectId: string;
629
+ export interface DescribeAnnotationJobsRequest {
424
630
  /**
425
- * 修改权限配置的远端设备ID
631
+ * <p>分页偏移,默认 0</p>
426
632
  */
427
- RemoteDeviceId: string;
633
+ Offset?: number;
428
634
  /**
429
- * 权限修改涉及的现场设备ID数组
635
+ * <p>每页数量,默认 20,最大 100</p><p>取值范围:[10, 100]</p>
430
636
  */
431
- FieldDeviceIds: Array<string>;
637
+ Limit?: number;
432
638
  /**
433
- * 修改的目标权限模式,black为黑名单,white为白名单
639
+ * <p>按任务状态过滤:1 处理中,2 异常,3 成功。不传查全部</p><p>枚举值:</p><ul><li>1: 处理中</li><li>2: 异常</li><li>3: 成功</li></ul>
434
640
  */
435
- PolicyMode: string;
641
+ Status?: number;
436
642
  /**
437
- * 修改模式,add为新增(添加现场设备I关联),remove为删除(解除现场设备关联),set为设置(更新现场设备关联)
643
+ * <p>按输入路径前缀过滤,不传不过滤</p>
438
644
  */
439
- ModifyMode: string;
645
+ InputPath?: string;
440
646
  }
441
647
  /**
442
- * DescribeDeviceInfo返回参数结构体
648
+ * ModifyCallbackUrl请求参数结构体
443
649
  */
444
- export interface DescribeDeviceInfoResponse {
650
+ export interface ModifyCallbackUrlRequest {
445
651
  /**
446
- * 设备名称
652
+ * 项目id
447
653
  */
448
- DeviceName: string;
654
+ ProjectId: string;
449
655
  /**
450
- * 设备类型,field为现场设备(被控方),remote为远端设备(操控方)
656
+ * 回调URL
451
657
  */
452
- DeviceType: string;
658
+ CallbackUrl: string;
453
659
  /**
454
- * 设备状态,offline为离线,ready为在线准备,connected为会话中
660
+ * 回调签名密钥,用于校验回调信息的完整性
455
661
  */
456
- DeviceStatus: string;
662
+ SignKey?: string;
663
+ }
664
+ /**
665
+ * CreateProject请求参数结构体
666
+ */
667
+ export interface CreateProjectRequest {
457
668
  /**
458
- * 设备状态最后更新时间
669
+ * 项目名称,长度不超过24个字符
459
670
  */
460
- LastReportTime: string;
671
+ ProjectName: string;
461
672
  /**
462
- * 设备信息最后修改时间
673
+ * 项目描述,长度不超过120个字符,不填默认为空
463
674
  */
464
- ModifyTime: string;
675
+ ProjectDescription?: string;
465
676
  /**
466
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
677
+ * 权限模式,black为黑名单,white为白名单,不填默认为black
467
678
  */
468
- RequestId?: string;
679
+ PolicyMode?: string;
469
680
  }
470
681
  /**
471
- * GetLicenseStat请求参数结构体
472
- */
473
- export type GetLicenseStatRequest = null;
474
- /**
475
- * GetDurationDetails返回参数结构体
682
+ * 云端录制文件上传到云存储的参数(对象存储cos)
476
683
  */
477
- export interface GetDurationDetailsResponse {
684
+ export interface CloudStorage {
685
+ /**
686
+ * 腾讯云对象存储COS以及第三方云存储账号信息
687
+ 0:腾讯云对象存储 COS
688
+ 1:AWS
689
+ 【注意】目前第三方云存储仅支持AWS,更多第三方云存储陆续支持中
690
+ 示例值:0
691
+ */
692
+ Vendor: number;
693
+ /**
694
+ * 腾讯云对象存储的[地域信息](https://cloud.tencent.com/document/product/436/6224#.E5.9C.B0.E5.9F.9F)。
695
+ 示例值:cn-shanghai-1
696
+
697
+ AWS S3[地域信息](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html#concepts-regions)
698
+ 示例值:ap-shanghai(cos, 具体参考云存储厂商支持的地域)
699
+ */
700
+ Region: string;
701
+ /**
702
+ * 云存储桶名称。
703
+ */
704
+ Bucket: string;
478
705
  /**
479
- * 列表总数
706
+ * 云存储的access_key账号信息。
707
+ 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretId值。
480
708
  */
481
- TotalCount?: number;
709
+ AccessKey: string;
482
710
  /**
483
- * 时长明细列表
711
+ * 云存储的secret_key账号信息。
712
+ 若存储至腾讯云对象存储COS,请前往https://console.cloud.tencent.com/cam/capi 查看或创建,对应链接中密钥字段的SecretKey值。
484
713
  */
485
- DurationDetails?: Array<DurationDetails>;
714
+ SecretKey: string;
486
715
  /**
487
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
716
+ * 云存储bucket 的指定位置,由字符串数组组成。合法的字符串范围az,AZ,0~9,'_'和'-',举个例子,录制文件xxx.m3u8在 ["prefix1", "prefix2"]作用下,会变成prefix1/prefix2/TaskId/xxx.m3u8
488
717
  */
489
- RequestId?: string;
718
+ FileNamePrefix?: Array<string>;
490
719
  }
491
720
  /**
492
- * DescribeProjectList返回参数结构体
721
+ * BatchDeleteDevices返回参数结构体
493
722
  */
494
- export interface DescribeProjectListResponse {
495
- /**
496
- * 项目信息数组
497
- */
498
- Projects: Array<ProjectInfo>;
499
- /**
500
- * 项目总数
501
- */
502
- Total: number;
723
+ export interface BatchDeleteDevicesResponse {
503
724
  /**
504
- * 本次返回的项目数
725
+ * 删除失败的设备ID列表
505
726
  */
506
- Num: number;
727
+ FailedDeviceIds?: Array<string>;
507
728
  /**
508
729
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
509
730
  */
510
731
  RequestId?: string;
511
732
  }
512
733
  /**
513
- * ModifyProject返回参数结构体
734
+ * CreateCloudRecording返回参数结构体
514
735
  */
515
- export interface ModifyProjectResponse {
736
+ export interface CreateCloudRecordingResponse {
737
+ /**
738
+ * 云录制服务分配的任务 ID。任务 ID 是对一次录制生命周期过程的唯一标识,结束录制时会失去意义。任务 ID需要业务保存下来,作为下次针对这个录制任务操作的参数。
739
+ */
740
+ TaskId?: string;
516
741
  /**
517
742
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
518
743
  */
519
744
  RequestId?: string;
520
745
  }
521
746
  /**
522
- * BatchDeletePolicy返回参数结构体
747
+ * DescribeAnnotationResults返回参数结构体
523
748
  */
524
- export interface BatchDeletePolicyResponse {
749
+ export interface DescribeAnnotationResultsResponse {
525
750
  /**
526
- * 删除权限配置失败的远端设备ID列表
751
+ * <p>处理项 ID</p>
527
752
  */
528
- FailedRemoteDeviceIds: Array<string>;
753
+ TaskId?: string;
529
754
  /**
530
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
755
+ * <p>视频文件名</p>
531
756
  */
532
- RequestId?: string;
533
- }
534
- /**
535
- * CreateCloudRecording请求参数结构体
536
- */
537
- export interface CreateCloudRecordingRequest {
757
+ FileName?: string;
538
758
  /**
539
- * 项目id
759
+ * <p>处理项状态:1 未处理,2 处理中,3 超时,4 异常,5待确认,6 成功</p><p>枚举值:</p><ul><li>1: 未处理</li><li>2: 处理中</li><li>3: 超时</li><li>4: 异常</li><li>5: 待确认</li><li>6: 成功</li></ul>
540
760
  */
541
- ProjectId: string;
761
+ Status?: number;
542
762
  /**
543
- * 设备id
763
+ * <p>失败原因,成功为空</p>
544
764
  */
545
- DeviceId: string;
765
+ ErrorMsg?: string;
546
766
  /**
547
- * 视频流号
767
+ * <p>标注结果 JSON 原文,非成功状态为空</p>
548
768
  */
549
- VideoStreamId: number;
769
+ Result?: string;
550
770
  /**
551
- * 腾讯云对象存储COS以及第三方云存储的账号信息
771
+ * <p>标注结果字节数</p>
552
772
  */
553
- CloudStorage: CloudStorage;
773
+ ResultSize?: number;
554
774
  /**
555
- * 如果是aac或者mp4文件格式,超过长度限制后,系统会自动拆分视频文件。单位:分钟。默认为1440min(24h),取值范围为1-1440。【单文件限制最大为2G,满足文件大小 >2G 或录制时长度 > 24h任意一个条件,文件都会自动切分】 Hls 格式录制此参数不生效。
775
+ * <p>创建时间,Unix 时间戳(秒)</p>
556
776
  */
557
- MaxMediaFileDuration?: number;
777
+ CreateTime?: string;
558
778
  /**
559
- * 输出文件的格式(存储至COS等第三方存储时有效)。0:输出文件为hls格式。1:输出文件格式为hls+mp4。2:输出文件格式为hls+aac 。3:(默认)输出文件格式为mp4。4:输出文件格式为aac。
779
+ * <p>完成时间,Unix 时间戳(秒),进行中为 0</p>
560
780
  */
561
- OutputFormat?: number;
781
+ FinishTime?: string;
562
782
  /**
563
- * 房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时) 示例值:30
783
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId
564
784
  */
565
- MaxIdleTime?: number;
785
+ RequestId?: string;
566
786
  }
567
787
  /**
568
- * DescribePolicy请求参数结构体
788
+ * GetLicenses请求参数结构体
569
789
  */
570
- export interface DescribePolicyRequest {
571
- /**
572
- * 查看权限的项目ID
573
- */
574
- ProjectId: string;
790
+ export interface GetLicensesRequest {
575
791
  /**
576
- * 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式
792
+ * 页码
577
793
  */
578
- PolicyMode?: string;
794
+ PageNum: number;
579
795
  /**
580
- * 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch
796
+ * 页面数量
581
797
  */
582
- SearchMode?: string;
798
+ PageSize: number;
583
799
  /**
584
- * 模糊匹配关键字,不填默认不进行模糊匹配
800
+ * projectId
585
801
  */
586
- SearchWords?: string;
802
+ ProjectId?: string;
587
803
  /**
588
- * 每页返回的最大数量,不填默认为10
804
+ * DeviceId
589
805
  */
590
- PageSize?: number;
806
+ DeviceId?: string;
591
807
  /**
592
- * 当前页码,不填默认为1(首页)
808
+ * license状态:0:未绑定;1:已绑定;2:已停服;3:已退费
593
809
  */
594
- PageNumber?: number;
810
+ Status?: number;
595
811
  }
596
812
  /**
597
- * ModifyPolicy返回参数结构体
813
+ * DescribePolicy返回参数结构体
598
814
  */
599
- export interface ModifyPolicyResponse {
815
+ export interface DescribePolicyResponse {
600
816
  /**
601
- * 添加关联失败的现场设备ID列表
817
+ * 权限模式
602
818
  */
603
- FailedInsertIds?: Array<string>;
819
+ PolicyMode?: string;
604
820
  /**
605
- * 解除关联失败的现场设备ID列表
821
+ * 返回的权限模式是否为当前生效的权限模式
606
822
  */
607
- FailedDeleteIds?: Array<string>;
823
+ PolicyEnabled?: boolean;
608
824
  /**
609
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
825
+ * 权限信息列表
610
826
  */
611
- RequestId?: string;
612
- }
613
- /**
614
- * 查询用户设备的授权绑定情况
615
- */
616
- export interface Device {
827
+ PolicyInfo?: Array<PolicyInfo>;
617
828
  /**
618
- * 设备ID
829
+ * 本次返回的权限信息数量
619
830
  */
620
- DeviceId?: string;
831
+ Num?: number;
621
832
  /**
622
- * 设备名称
833
+ * 权限信息总数
623
834
  */
624
- DeviceName?: string;
835
+ Total?: number;
625
836
  /**
626
- * 已经绑定license数量
837
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
627
838
  */
628
- LicenseCount?: number;
839
+ RequestId?: string;
840
+ }
841
+ /**
842
+ * 会话信息
843
+ */
844
+ export interface SessionInfo {
629
845
  /**
630
- * 剩余天数:天
846
+ * 会话ID
631
847
  */
632
- RemainDay?: number;
848
+ SessionId?: string;
633
849
  /**
634
- * 过期时间:s
850
+ * 远端设备ID
635
851
  */
636
- ExpireTime?: string;
852
+ RemoteDeviceId?: string;
637
853
  /**
638
- * 服务时长:s
854
+ * 现场设备ID
639
855
  */
640
- Duration?: string;
856
+ FieldDeviceId?: string;
641
857
  /**
642
- * 已经绑定licenseId列表
858
+ * 分辨率
643
859
  */
644
- LicenseIds?: Array<string>;
860
+ Resolution?: string;
645
861
  /**
646
- * 每月license的限定时长
862
+ * 会话开始时间
647
863
  */
648
- MonthlyRemainTime?: number;
864
+ StartTime?: number;
649
865
  /**
650
- * 月封顶时长(分钟)
866
+ * 会话结束时间
651
867
  */
652
- LimitedTime?: number;
653
- }
654
- /**
655
- * DeleteCloudRecording返回参数结构体
656
- */
657
- export interface DeleteCloudRecordingResponse {
868
+ EndTime?: number;
658
869
  /**
659
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
870
+ * 通话质量:good|normal|bad,对应优良差
660
871
  */
661
- RequestId?: string;
872
+ Quality?: string;
662
873
  }
663
874
  /**
664
- * DescribeSessionStatistics请求参数结构体
875
+ * DescribeDeviceInfo请求参数结构体
665
876
  */
666
- export interface DescribeSessionStatisticsRequest {
877
+ export interface DescribeDeviceInfoRequest {
667
878
  /**
668
- * <p>项目ID</p>
879
+ * 目标设备所属项目ID
669
880
  */
670
881
  ProjectId: string;
671
882
  /**
672
- * <p>设备ID</p>
883
+ * 目标设备ID
673
884
  */
674
- DeviceId?: string;
885
+ DeviceId: string;
886
+ }
887
+ /**
888
+ * DescribeSessionStatisticsByInterval返回参数结构体
889
+ */
890
+ export interface DescribeSessionStatisticsByIntervalResponse {
675
891
  /**
676
- * <p>起始时间,单位:秒</p>
892
+ * <p>各时间段的会话统计数据</p>
677
893
  */
678
- StartTime?: number;
894
+ SessionStatistics?: Array<SessionIntervalStatistic>;
679
895
  /**
680
- * <p>结束时间,单位:秒</p>
896
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
681
897
  */
682
- EndTime?: number;
898
+ RequestId?: string;
683
899
  }
684
900
  /**
685
- * GetDurationDetails请求参数结构体
901
+ * 最新会话信息
686
902
  */
687
- export interface GetDurationDetailsRequest {
903
+ export interface RecentSessionInfo {
688
904
  /**
689
- * 开始时间
905
+ * 会话ID
690
906
  */
691
- StartTime: number;
907
+ SessionId?: string;
692
908
  /**
693
- * 结束时间
909
+ * 远端设备ID
694
910
  */
695
- EndTime: number;
911
+ RemoteDeviceId?: string;
696
912
  /**
697
- * 页码
913
+ * 现场设备ID
698
914
  */
699
- PageNum: number;
915
+ FieldDeviceId?: string;
700
916
  /**
701
- * 页面数量
917
+ * 分辨率
702
918
  */
703
- PageSize: number;
919
+ Resolution?: string;
704
920
  /**
705
- * 项目id
921
+ * 会话开始时间
706
922
  */
707
- ProjectId: string;
923
+ StartTime?: number;
708
924
  /**
709
- * 设备ID,不传查全部设备
925
+ * 最后更新时间
710
926
  */
711
- DeviceId?: string;
927
+ LatestUpdateTime?: number;
712
928
  }
713
929
  /**
714
- * BatchDeleteDevices返回参数结构体
930
+ * DescribeProjectInfo请求参数结构体
715
931
  */
716
- export interface BatchDeleteDevicesResponse {
717
- /**
718
- * 删除失败的设备ID列表
719
- */
720
- FailedDeviceIds?: Array<string>;
932
+ export interface DescribeProjectInfoRequest {
721
933
  /**
722
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
934
+ * 目标项目ID,必填参数
723
935
  */
724
- RequestId?: string;
936
+ ProjectId: string;
725
937
  }
726
938
  /**
727
- * ModifyProject请求参数结构体
939
+ * DescribeDeviceInfo返回参数结构体
728
940
  */
729
- export interface ModifyProjectRequest {
730
- /**
731
- * 目标修改项目的项目ID
732
- */
733
- ProjectId: string;
734
- /**
735
- * 修改后的项目名称,不填则不修改
736
- */
737
- ProjectName?: string;
941
+ export interface DescribeDeviceInfoResponse {
738
942
  /**
739
- * 修改后的项目描述,不填则不修改
943
+ * 设备名称
740
944
  */
741
- ProjectDescription?: string;
945
+ DeviceName: string;
742
946
  /**
743
- * 修改后的权限模式,black为黑名单,white为白名单,不填则不修改
947
+ * 设备类型,field为现场设备(被控方),remote为远端设备(操控方)
744
948
  */
745
- PolicyMode?: string;
746
- }
747
- /**
748
- * DescribeRecentSessionList返回参数结构体
749
- */
750
- export interface DescribeRecentSessionListResponse {
949
+ DeviceType: string;
751
950
  /**
752
- * <p>总个数</p>
951
+ * 设备状态,offline为离线,ready为在线准备,connected为会话中
753
952
  */
754
- Total?: number;
953
+ DeviceStatus: string;
755
954
  /**
756
- * <p>会话列表</p>
955
+ * 设备状态最后更新时间
757
956
  */
758
- RecentSessionList?: Array<RecentSessionInfo>;
957
+ LastReportTime: string;
759
958
  /**
760
- * <p>本页数量</p>
959
+ * 设备信息最后修改时间
761
960
  */
762
- Num?: number;
961
+ ModifyTime: string;
763
962
  /**
764
963
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
765
964
  */
766
965
  RequestId?: string;
767
966
  }
768
967
  /**
769
- * ModifyDevice请求参数结构体
968
+ * 任务信息
770
969
  */
771
- export interface ModifyDeviceRequest {
970
+ export interface Job {
772
971
  /**
773
- * 要修改设备归属项目的项目ID
972
+ * <p>任务 ID</p>
774
973
  */
775
- ProjectId: string;
974
+ JobId?: string;
776
975
  /**
777
- * 要修改设备的设备ID
976
+ * <p>任务类型:1 单视频,2 批量</p><p>枚举值:</p><ul><li>1: 单视频</li><li>2: 批量</li></ul>
778
977
  */
779
- DeviceId: string;
978
+ JobType?: number;
780
979
  /**
781
- * 修改后的设备名称,不填则不修改
980
+ * <p>标注模式:3 精标注</p><p>枚举值:</p><ul><li>3: 精标注</li></ul>
782
981
  */
783
- DeviceName?: string;
982
+ AnnotationType?: number;
784
983
  /**
785
- * 修改后的设备认证口令,不填则不修改
984
+ * <p>任务状态:1 处理中,2 异常,3 成功</p><p>枚举值:</p><ul><li>1: 处理中</li><li>2: 异常</li><li>3: 成功</li></ul>
786
985
  */
787
- DeviceToken?: string;
788
- }
789
- /**
790
- * DescribeProjectList请求参数结构体
791
- */
792
- export interface DescribeProjectListRequest {
986
+ Status?: number;
793
987
  /**
794
- * 每页返回的最大项目数量,不填默认为10
988
+ * <p>文件列举状态:0 列举中,1 全部加载,2 超过数量上限截断(仅批量任务)</p><p>枚举值:</p><ul><li>0: 列举中</li><li>1: 全部加载</li><li>2: 超过数量上限截断(仅批量任务)</li></ul>
795
989
  */
796
- PageSize?: number;
990
+ IngestStatus?: number;
797
991
  /**
798
- * 当前页码,不填默认为1(首页)
992
+ * <p>输入路径(S3源为桶名/对象路径:批量任务为目录前缀,单文件为文件完整路径;HTTP源为完整URL)</p>
799
993
  */
800
- PageNumber?: number;
994
+ InputPath?: string;
995
+ /**
996
+ * <p>处理项总数</p>
997
+ */
998
+ TotalNumber?: number;
999
+ /**
1000
+ * <p>创建时间,Unix 时间戳(秒)</p>
1001
+ */
1002
+ CreateTime?: string;
1003
+ /**
1004
+ * <p>完成时间,Unix 时间戳(秒),未完成为 0</p>
1005
+ */
1006
+ FinishTime?: string;
801
1007
  }
802
1008
  /**
803
- * 项目信息
1009
+ * DeleteAnnotationJob请求参数结构体
804
1010
  */
805
- export interface ProjectInfo {
1011
+ export interface DeleteAnnotationJobRequest {
806
1012
  /**
807
- * 项目ID
1013
+ * <p>任务 ID</p>
808
1014
  */
809
- ProjectId?: string;
1015
+ JobId: string;
1016
+ }
1017
+ /**
1018
+ * GetDurationDetails请求参数结构体
1019
+ */
1020
+ export interface GetDurationDetailsRequest {
810
1021
  /**
811
- * 项目名称
1022
+ * 开始时间
812
1023
  */
813
- ProjectName?: string;
1024
+ StartTime: number;
814
1025
  /**
815
- * 项目描述
1026
+ * 结束时间
816
1027
  */
817
- ProjectDescription?: string;
1028
+ EndTime: number;
818
1029
  /**
819
- * 项目权限模式,black为黑名单,white为白名单
1030
+ * 页码
820
1031
  */
821
- PolicyMode?: string;
1032
+ PageNum: number;
822
1033
  /**
823
- * 项目信息修改时间
1034
+ * 页面数量
824
1035
  */
825
- ModifyTime?: string;
826
- }
827
- /**
828
- * BatchDeletePolicy请求参数结构体
829
- */
830
- export interface BatchDeletePolicyRequest {
1036
+ PageSize: number;
831
1037
  /**
832
- * 删除权限配置的项目ID
1038
+ * 项目id
833
1039
  */
834
1040
  ProjectId: string;
835
1041
  /**
836
- * 删除权限配置的远端设备ID列表
837
- */
838
- RemoteDeviceIds: Array<string>;
839
- /**
840
- * 删除权限配置的权限模式, black为黑名单,white为白名单
1042
+ * 设备ID,不传查全部设备
841
1043
  */
842
- PolicyMode: string;
1044
+ DeviceId?: string;
843
1045
  }
844
1046
  /**
845
- * 最新会话信息
1047
+ * 单文件 COS 输入源
846
1048
  */
847
- export interface RecentSessionInfo {
1049
+ export interface S3SourceInfo {
848
1050
  /**
849
- * 会话ID
1051
+ * <p>存储桶名称</p>
850
1052
  */
851
- SessionId?: string;
1053
+ Bucket: string;
852
1054
  /**
853
- * 远端设备ID
1055
+ * <p>存储服务地址</p>
854
1056
  */
855
- RemoteDeviceId?: string;
1057
+ Endpoint: string;
856
1058
  /**
857
- * 现场设备ID
1059
+ * <p>存储区域</p>
858
1060
  */
859
- FieldDeviceId?: string;
1061
+ Region: string;
860
1062
  /**
861
- * 分辨率
1063
+ * <p>视频文件路径</p>
862
1064
  */
863
- Resolution?: string;
1065
+ Key: string;
864
1066
  /**
865
- * 会话开始时间
1067
+ * <p>访问凭证,需对该桶有读取权限</p>
866
1068
  */
867
- StartTime?: number;
1069
+ Secret: SecretInfo;
868
1070
  /**
869
- * 最后更新时间
1071
+ * <p>是否腾讯云 COS:1 是,0 否。使用腾讯云 COS 时必须传 1</p><p>取值范围:[0, 1]</p>
870
1072
  */
871
- LatestUpdateTime?: number;
1073
+ IsCos?: number;
872
1074
  }
873
1075
  /**
874
1076
  * CreateProject返回参数结构体
@@ -930,385 +1132,502 @@ export interface DescribeDeviceListResponse {
930
1132
  RequestId?: string;
931
1133
  }
932
1134
  /**
933
- * StopPublishLiveStream请求参数结构体
1135
+ * DeleteProject返回参数结构体
934
1136
  */
935
- export interface StopPublishLiveStreamRequest {
1137
+ export interface DeleteProjectResponse {
936
1138
  /**
937
- * 唯一标识转推任务。
1139
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
938
1140
  */
939
- TaskId: string;
1141
+ RequestId?: string;
940
1142
  }
941
1143
  /**
942
- * DeleteCloudRecording请求参数结构体
1144
+ * 访问凭证
943
1145
  */
944
- export interface DeleteCloudRecordingRequest {
1146
+ export interface SecretInfo {
945
1147
  /**
946
- * 录制任务的唯一Id,在启动录制成功后会返回。
1148
+ * <p>密钥 ID</p>
947
1149
  */
948
- TaskId: string;
949
- }
950
- /**
951
- * DeleteProject返回参数结构体
952
- */
953
- export interface DeleteProjectResponse {
1150
+ SecretId: string;
954
1151
  /**
955
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1152
+ * <p>密钥 Key</p>
956
1153
  */
957
- RequestId?: string;
1154
+ SecretKey: string;
958
1155
  }
959
1156
  /**
960
- * DescribeDeviceList请求参数结构体
1157
+ * GetTotalDuration返回参数结构体
961
1158
  */
962
- export interface DescribeDeviceListRequest {
1159
+ export interface GetTotalDurationResponse {
963
1160
  /**
964
- * <p>设备所属项目ID</p>
1161
+ * 语音:min
965
1162
  */
966
- ProjectId: string;
1163
+ Voice?: number;
967
1164
  /**
968
- * <p>设备类型筛选,不填默认为全部设备类型</p>
1165
+ * 标清:min
969
1166
  */
970
- DeviceType?: string;
1167
+ SD?: number;
971
1168
  /**
972
- * <p>对设备ID或Name按关键字进行模糊匹配,不填则不进行模糊匹配</p>
1169
+ * 高清:min
973
1170
  */
974
- SearchWords?: string;
1171
+ HD?: number;
975
1172
  /**
976
- * <p>每页返回的最大设备数,不填默认为10</p>
1173
+ * 超高清:min
977
1174
  */
978
- PageSize?: number;
1175
+ FHD?: number;
979
1176
  /**
980
- * <p>当前页码,不填默认为1(首页)</p>
1177
+ * 2k:min
981
1178
  */
982
- PageNumber?: number;
1179
+ TwoK?: number;
983
1180
  /**
984
- * <p>设备状态筛选,不填默认为不过滤。取值:[&quot;ready&quot;,&quot;connected&quot;,&quot;online&quot;],online代表ready或connected</p>
1181
+ * 4k:min
985
1182
  */
986
- DeviceStatus?: string;
1183
+ FourK?: number;
987
1184
  /**
988
- * <p>标识查询项目下的设备注册类型,默认不包含免注册登录设备。 若存在免注册登录设备,该参数传&quot;1&quot;</p><p>枚举值:</p><ul><li>0: 项目不包含免注册登录设备</li><li>1: 项目包含免注册登录设备</li></ul><p>默认值:0</p>
1185
+ * 在线时长:min
989
1186
  */
990
- RegisterType?: number;
991
- }
992
- /**
993
- * 会话数据详单(按设备区分)
994
- */
995
- export interface SessionDeviceDetail {
1187
+ Online?: number;
996
1188
  /**
997
- * <p>设备类型:field或remote</p>
1189
+ * 多网标清:min
998
1190
  */
999
- DeviceType?: string;
1191
+ MultiSD?: number;
1000
1192
  /**
1001
- * <p>起始点位时间,单位:秒</p>
1193
+ * 多网高清:min
1002
1194
  */
1003
- StartTime?: number;
1195
+ MultiHD?: number;
1004
1196
  /**
1005
- * <p>结束点位时间,单位:秒</p>
1197
+ * 多网超高清:min
1006
1198
  */
1007
- EndTime?: number;
1199
+ MultiFHD?: number;
1008
1200
  /**
1009
- * <p>会话ID</p>
1201
+ * 多网2k:min
1010
1202
  */
1011
- SessionId?: string;
1203
+ MultiTwoK?: number;
1012
1204
  /**
1013
- * <p>码率,单位:kbps</p>
1205
+ * 多网4k:min
1014
1206
  */
1015
- Rate?: Array<number | bigint>;
1207
+ MultiFourK?: number;
1016
1208
  /**
1017
- * <p>帧率</p>
1209
+ * 多网在线时长:min
1018
1210
  */
1019
- Fps?: Array<number | bigint>;
1211
+ MultiOnline?: number;
1020
1212
  /**
1021
- * <p>丢包率,单位:%</p>
1213
+ * 总抵扣时长:min
1022
1214
  */
1023
- Lost?: Array<number>;
1215
+ DeductDuration?: number;
1024
1216
  /**
1025
- * <p>网络时延,单位:ms</p>
1217
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1026
1218
  */
1027
- NetworkLatency?: Array<number | bigint>;
1219
+ RequestId?: string;
1220
+ }
1221
+ /**
1222
+ * CreateDevice请求参数结构体
1223
+ */
1224
+ export interface CreateDeviceRequest {
1028
1225
  /**
1029
- * <p>视频时延,单位:ms</p>
1226
+ * <p>创建设备所归属的项目ID</p>
1030
1227
  */
1031
- VideoLatency?: Array<number | bigint>;
1228
+ ProjectId: string;
1032
1229
  /**
1033
- * <p>CPU使用率,单位:%</p>
1230
+ * <p>创建设备ID,项目内需要唯一,由小写英文字母、数字和下划线构成,长度不超过32</p>
1034
1231
  */
1035
- CpuUsed?: Array<number>;
1232
+ DeviceId: string;
1036
1233
  /**
1037
- * <p>内存使用率,单位:%</p>
1234
+ * <p>创建设备名称,长度小于24, 可包含中文、数字、英文字母和下划线</p>
1038
1235
  */
1039
- MemUsed?: Array<number>;
1236
+ DeviceName: string;
1040
1237
  /**
1041
- * <p>时间偏移量,单位:秒</p>
1238
+ * <p>设备类型</p><p>枚举值:</p><ul><li>field: 现场设备(受控设备)</li><li>remote: 远端设备(操控设备)</li></ul>
1042
1239
  */
1043
- TimeOffset?: Array<number | bigint>;
1240
+ DeviceType: string;
1044
1241
  /**
1045
- * <p>项目ID</p>
1242
+ * <p>设备认证口令,由大小写英文字母和数字构成,须为16位</p>
1046
1243
  */
1047
- ProjectId?: string;
1244
+ DeviceToken: string;
1245
+ }
1246
+ /**
1247
+ * GetDevices返回参数结构体
1248
+ */
1249
+ export interface GetDevicesResponse {
1048
1250
  /**
1049
- * <p>设备ID</p>
1251
+ * 设备授权列表
1050
1252
  */
1051
- DeviceId?: string;
1253
+ Devices?: Array<Device>;
1052
1254
  /**
1053
- * <p>sdk版本</p>
1255
+ * 列表数量
1054
1256
  */
1055
- Ver?: string;
1257
+ TotalCount?: number;
1056
1258
  /**
1057
- * <p>模式(p2p/server)</p>
1259
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1058
1260
  */
1059
- SdkMode?: string;
1261
+ RequestId?: string;
1262
+ }
1263
+ /**
1264
+ * BoundLicenses返回参数结构体
1265
+ */
1266
+ export interface BoundLicensesResponse {
1060
1267
  /**
1061
- * <p>解码耗时,单位:ms</p>
1268
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1269
+ */
1270
+ RequestId?: string;
1271
+ }
1272
+ /**
1273
+ * ModifyProjectSecMode请求参数结构体
1274
+ */
1275
+ export interface ModifyProjectSecModeRequest {
1276
+ /**
1277
+ * 项目ID
1278
+ */
1279
+ ProjectId: string;
1280
+ /**
1281
+ * 安全模式
1282
+ 0:关闭项目共享密钥
1283
+ 1:开启项目共享密钥
1284
+ */
1285
+ Mode: number;
1286
+ /**
1287
+ * 项目密钥 32位 小写英文+数字; 项目密钥模式必填
1288
+ */
1289
+ Key?: string;
1290
+ /**
1291
+ * 自动注册方式
1292
+ 0:关闭自动注册
1293
+ 1:仅允许现场设备自动注册
1294
+ 2:仅允许远端设备自动注册
1295
+ 3:允许现场和远端设备均自动注册
1062
1296
  */
1063
- DecodeCost?: Array<number | bigint>;
1297
+ AutoRegister?: number;
1064
1298
  /**
1065
- * <p>【已废弃,使用RenderCost】</p>
1066
- 注意:此字段可能返回 null,表示取不到有效值。
1067
- * @deprecated
1299
+ * 是否允许远端获取现场设备列表(getGwList)
1300
+ 0:不允许
1301
+ 1:允许
1068
1302
  */
1069
- RenderConst?: Array<number | bigint>;
1303
+ FieldListEnable?: number;
1304
+ }
1305
+ /**
1306
+ * GetDevices请求参数结构体
1307
+ */
1308
+ export interface GetDevicesRequest {
1070
1309
  /**
1071
- * <p>卡顿k100</p>
1310
+ * 页码
1072
1311
  */
1073
- K100?: Array<number>;
1312
+ PageNum: number;
1074
1313
  /**
1075
- * <p>卡顿k150</p>
1314
+ * 页面数量
1076
1315
  */
1077
- K150?: Array<number>;
1316
+ PageSize: number;
1078
1317
  /**
1079
- * <p>nack请求数</p>
1318
+ * 项目 ID
1080
1319
  */
1081
- NACK?: Array<number | bigint>;
1320
+ ProjectId?: string;
1082
1321
  /**
1083
- * <p>服务端调控码率,单位:kbps</p>
1322
+ * 设备ID
1084
1323
  */
1085
- BitRateEstimate?: Array<number | bigint>;
1324
+ DeviceId?: string;
1325
+ }
1326
+ /**
1327
+ * DeleteAnnotationTask请求参数结构体
1328
+ */
1329
+ export interface DeleteAnnotationTaskRequest {
1086
1330
  /**
1087
- * <p>宽度</p>
1331
+ * <p>处理项 ID</p>
1088
1332
  */
1089
- Width?: number;
1333
+ TaskId: string;
1334
+ }
1335
+ /**
1336
+ * DescribeDeviceSessionDetails返回参数结构体
1337
+ */
1338
+ export interface DescribeDeviceSessionDetailsResponse {
1090
1339
  /**
1091
- * <p>高度</p>
1340
+ * <p>按设备区分的会话详细数据</p>
1092
1341
  */
1093
- Height?: number;
1342
+ Details?: Array<SessionDeviceDetail>;
1094
1343
  /**
1095
- * <p>编码耗时,单位:ms</p>
1344
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1096
1345
  */
1097
- EncodeCost?: Array<number | bigint>;
1346
+ RequestId?: string;
1347
+ }
1348
+ /**
1349
+ * DeleteAnnotationTask返回参数结构体
1350
+ */
1351
+ export interface DeleteAnnotationTaskResponse {
1098
1352
  /**
1099
- * <p>采集耗时,单位:ms</p>
1353
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1100
1354
  */
1101
- CaptureCost?: Array<number | bigint>;
1355
+ RequestId?: string;
1356
+ }
1357
+ /**
1358
+ * 标注上下文
1359
+ */
1360
+ export interface AnnotationContext {
1102
1361
  /**
1103
- * <p>渲染耗时,单位:ms</p>
1362
+ * <p>任务目标(整段视频的总目标)</p>
1104
1363
  */
1105
- RenderCost?: Array<number | bigint>;
1364
+ TaskGoal?: string;
1106
1365
  /**
1107
- * <p>配置宽度</p>
1366
+ * <p>关键物体列表</p>
1108
1367
  */
1109
- ConfigWidth?: number;
1368
+ KeyObjects?: Array<string>;
1110
1369
  /**
1111
- * <p>配置高度</p>
1370
+ * <p>原子动词参考列表</p>
1112
1371
  */
1113
- ConfigHeight?: number;
1372
+ AtomicVerbs?: Array<string>;
1373
+ }
1374
+ /**
1375
+ * BatchDeleteDevices请求参数结构体
1376
+ */
1377
+ export interface BatchDeleteDevicesRequest {
1114
1378
  /**
1115
- * <p>平均帧间隔</p>
1379
+ * 目标删除设备所属项目ID
1116
1380
  */
1117
- FrameDelta?: Array<number | bigint>;
1381
+ ProjectId: string;
1118
1382
  /**
1119
- * <p>最大帧间隔</p>
1383
+ * 目标删除设备的设备ID数组
1120
1384
  */
1121
- MaxFrameDelta?: Array<number | bigint>;
1385
+ DeviceIds: Array<string>;
1386
+ }
1387
+ /**
1388
+ * BatchDeletePolicy返回参数结构体
1389
+ */
1390
+ export interface BatchDeletePolicyResponse {
1122
1391
  /**
1123
- * <p>总码率评估,单位:kbps</p>
1392
+ * 删除权限配置失败的远端设备ID列表
1124
1393
  */
1125
- TotalBitrateEstimate?: Array<number | bigint>;
1394
+ FailedRemoteDeviceIds: Array<string>;
1126
1395
  /**
1127
- * <p>帧间隔大于100ms的卡顿时长</p>
1396
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1128
1397
  */
1129
- Lag100Duration?: Array<number | bigint>;
1398
+ RequestId?: string;
1399
+ }
1400
+ /**
1401
+ * DeleteCloudRecording返回参数结构体
1402
+ */
1403
+ export interface DeleteCloudRecordingResponse {
1130
1404
  /**
1131
- * <p>帧间隔大于150ms的卡顿时长</p>
1405
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1132
1406
  */
1133
- Lag150Duration?: Array<number | bigint>;
1407
+ RequestId?: string;
1408
+ }
1409
+ /**
1410
+ * ModifyCallbackUrl返回参数结构体
1411
+ */
1412
+ export interface ModifyCallbackUrlResponse {
1134
1413
  /**
1135
- * <p>是否开启多网:0 单网,1 多网</p>
1414
+ * 响应码,0:成功,其他:失败
1136
1415
  */
1137
- MultiMode?: number;
1416
+ Code?: number;
1138
1417
  /**
1139
- * <p>多网卡信息</p>
1418
+ * 响应消息,ok:成功,其他:失败
1140
1419
  */
1141
- MultiNet?: Array<MultiNet>;
1420
+ Msg?: string;
1142
1421
  /**
1143
- * <p>现场设备和远端设备消息通道往返延迟</p><p>单位:毫秒ms</p>
1422
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1144
1423
  */
1145
- ControlLatency?: Array<number | bigint>;
1424
+ RequestId?: string;
1146
1425
  }
1147
1426
  /**
1148
- * GetTotalDuration返回参数结构体
1427
+ * 查询用户设备的授权绑定情况
1149
1428
  */
1150
- export interface GetTotalDurationResponse {
1429
+ export interface Device {
1151
1430
  /**
1152
- * 语音:min
1431
+ * 设备ID
1153
1432
  */
1154
- Voice?: number;
1433
+ DeviceId?: string;
1155
1434
  /**
1156
- * 标清:min
1435
+ * 设备名称
1157
1436
  */
1158
- SD?: number;
1437
+ DeviceName?: string;
1159
1438
  /**
1160
- * 高清:min
1439
+ * 已经绑定license数量
1161
1440
  */
1162
- HD?: number;
1441
+ LicenseCount?: number;
1163
1442
  /**
1164
- * 超高清:min
1443
+ * 剩余天数:天
1165
1444
  */
1166
- FHD?: number;
1445
+ RemainDay?: number;
1167
1446
  /**
1168
- * 2k:min
1447
+ * 过期时间:s
1169
1448
  */
1170
- TwoK?: number;
1449
+ ExpireTime?: string;
1171
1450
  /**
1172
- * 4k:min
1451
+ * 服务时长:s
1173
1452
  */
1174
- FourK?: number;
1453
+ Duration?: string;
1175
1454
  /**
1176
- * 在线时长:min
1455
+ * 已经绑定licenseId列表
1177
1456
  */
1178
- Online?: number;
1457
+ LicenseIds?: Array<string>;
1179
1458
  /**
1180
- * 多网标清:min
1459
+ * 每月license的限定时长
1181
1460
  */
1182
- MultiSD?: number;
1461
+ MonthlyRemainTime?: number;
1183
1462
  /**
1184
- * 多网高清:min
1463
+ * 月封顶时长(分钟)
1185
1464
  */
1186
- MultiHD?: number;
1465
+ LimitedTime?: number;
1466
+ }
1467
+ /**
1468
+ * 批量输入源
1469
+ */
1470
+ export interface BatchS3SourceInfo {
1187
1471
  /**
1188
- * 多网超高清:min
1472
+ * <p>存储桶名称</p>
1189
1473
  */
1190
- MultiFHD?: number;
1474
+ Bucket: string;
1191
1475
  /**
1192
- * 多网2k:min
1476
+ * <p>存储服务地址</p>
1193
1477
  */
1194
- MultiTwoK?: number;
1478
+ Endpoint: string;
1195
1479
  /**
1196
- * 多网4k:min
1480
+ * <p>存储区域</p>
1197
1481
  */
1198
- MultiFourK?: number;
1482
+ Region: string;
1199
1483
  /**
1200
- * 多网在线时长:min
1484
+ * <p>视频目录前缀,如 video/,仅列举视频文件</p>
1201
1485
  */
1202
- MultiOnline?: number;
1486
+ Prefix: string;
1203
1487
  /**
1204
- * 总抵扣时长:min
1488
+ * <p>访问凭证,需对该桶有读取权限</p>
1205
1489
  */
1206
- DeductDuration?: number;
1490
+ Secret: SecretInfo;
1207
1491
  /**
1208
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1492
+ * <p>文件名正则过滤规则,仅文件名匹配的文件会处理,不传不过滤</p>
1209
1493
  */
1210
- RequestId?: string;
1494
+ Filter?: string;
1495
+ /**
1496
+ * <p>是否腾讯云 COS:1 是,0 否。使用腾讯云 COS 时必须传 1</p><p>取值范围:[0, 1]</p>
1497
+ */
1498
+ IsCos?: number;
1211
1499
  }
1212
1500
  /**
1213
- * GetDeviceLicense返回参数结构体
1501
+ * CreateDevice返回参数结构体
1214
1502
  */
1215
- export interface GetDeviceLicenseResponse {
1503
+ export interface CreateDeviceResponse {
1216
1504
  /**
1217
- * 指定设备已经绑定的可用license数量
1505
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1218
1506
  */
1219
- AvailableCount?: number;
1507
+ RequestId?: string;
1508
+ }
1509
+ /**
1510
+ * ModifyProjectSecMode返回参数结构体
1511
+ */
1512
+ export interface ModifyProjectSecModeResponse {
1220
1513
  /**
1221
1514
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1222
1515
  */
1223
1516
  RequestId?: string;
1224
1517
  }
1225
1518
  /**
1226
- * CreateDevice返回参数结构体
1519
+ * DescribeRecentSessionList返回参数结构体
1227
1520
  */
1228
- export interface CreateDeviceResponse {
1521
+ export interface DescribeRecentSessionListResponse {
1522
+ /**
1523
+ * <p>总个数</p>
1524
+ */
1525
+ Total?: number;
1526
+ /**
1527
+ * <p>会话列表</p>
1528
+ */
1529
+ RecentSessionList?: Array<RecentSessionInfo>;
1530
+ /**
1531
+ * <p>本页数量</p>
1532
+ */
1533
+ Num?: number;
1229
1534
  /**
1230
1535
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1231
1536
  */
1232
1537
  RequestId?: string;
1233
1538
  }
1234
1539
  /**
1235
- * 多网的网卡状态信息
1540
+ * 转推视频参数
1236
1541
  */
1237
- export interface MultiNet {
1542
+ export interface VideoParams {
1238
1543
  /**
1239
- * 网卡序号
1544
+ * 输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。
1240
1545
  */
1241
- NetId?: number;
1546
+ Width: number;
1242
1547
  /**
1243
- * 网卡IP
1548
+ * 输出流高,音视频输出时必填。取值范围[0,1080],单位为像素值。
1244
1549
  */
1245
- NetIp?: string;
1550
+ Height: number;
1246
1551
  /**
1247
- * 时延,单位ms
1552
+ * 输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。
1248
1553
  */
1249
- Rtt?: Array<number | bigint>;
1554
+ Fps: number;
1250
1555
  /**
1251
- * 丢包率,单位%
1556
+ * 输出流码率,音视频输出时必填。取值范围[1,10000],单位为kbps。
1252
1557
  */
1253
- Lost?: Array<number | bigint>;
1558
+ BitRate: number;
1254
1559
  /**
1255
- * 发送bps,单位kbps
1560
+ * 输出流gop,音视频输出时必填。取值范围[1,5],单位为秒。
1256
1561
  */
1257
- SendBps?: Array<number | bigint>;
1562
+ Gop: number;
1258
1563
  /**
1259
- * 接收bps,单位kbps
1564
+ * 转推视频流列表
1260
1565
  */
1261
- RecvBps?: Array<number | bigint>;
1566
+ VideoList: Array<VideoList>;
1262
1567
  }
1263
1568
  /**
1264
- * DescribeSessionStatisticsByInterval请求参数结构体
1569
+ * DescribeDeviceSessionList返回参数结构体
1265
1570
  */
1266
- export interface DescribeSessionStatisticsByIntervalRequest {
1267
- /**
1268
- * <p>项目ID</p>
1269
- */
1270
- ProjectId: string;
1571
+ export interface DescribeDeviceSessionListResponse {
1271
1572
  /**
1272
- * <p>统计时间间隔:hour|day|month</p>
1573
+ * <p>总个数</p>
1273
1574
  */
1274
- StatisticInterval: string;
1575
+ Total?: number;
1275
1576
  /**
1276
- * <p>设备ID</p>
1577
+ * <p>会话列表</p>
1277
1578
  */
1278
- DeviceId?: string;
1579
+ DeviceSessionList?: Array<SessionInfo>;
1279
1580
  /**
1280
- * <p>起始时间,单位:秒</p>
1581
+ * <p>本页数量</p>
1281
1582
  */
1282
- StartTime?: number;
1583
+ Num?: number;
1283
1584
  /**
1284
- * <p>结束时间,单位:秒</p>
1585
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1285
1586
  */
1286
- EndTime?: number;
1587
+ RequestId?: string;
1287
1588
  }
1288
1589
  /**
1289
- * CreateDevice请求参数结构体
1590
+ * 单文件结果投递
1290
1591
  */
1291
- export interface CreateDeviceRequest {
1592
+ export interface OutputInfo {
1292
1593
  /**
1293
- * <p>创建设备所归属的项目ID</p>
1594
+ * <p>存储桶名称</p>
1294
1595
  */
1295
- ProjectId: string;
1596
+ Bucket: string;
1296
1597
  /**
1297
- * <p>创建设备ID,项目内需要唯一,由小写英文字母、数字和下划线构成,长度不超过32</p>
1598
+ * <p>存储服务地址</p>
1298
1599
  */
1299
- DeviceId: string;
1600
+ Endpoint: string;
1300
1601
  /**
1301
- * <p>创建设备名称,长度小于24, 可包含中文、数字、英文字母和下划线</p>
1602
+ * <p>存储区域</p>
1302
1603
  */
1303
- DeviceName: string;
1604
+ Region: string;
1304
1605
  /**
1305
- * <p>设备类型</p><p>枚举值:</p><ul><li>field: 现场设备(受控设备)</li><li>remote: 远端设备(操控设备)</li></ul>
1606
+ * <p>输出文件路径,如 output/result.json</p>
1306
1607
  */
1307
- DeviceType: string;
1608
+ Key: string;
1308
1609
  /**
1309
- * <p>设备认证口令,由大小写英文字母和数字构成,须为16位</p>
1610
+ * <p>访问凭证,需对该桶有写入权限</p>
1310
1611
  */
1311
- DeviceToken: string;
1612
+ Secret: SecretInfo;
1613
+ }
1614
+ /**
1615
+ * StopPublishLiveStream请求参数结构体
1616
+ */
1617
+ export interface StopPublishLiveStreamRequest {
1618
+ /**
1619
+ * 唯一标识转推任务。
1620
+ */
1621
+ TaskId: string;
1622
+ }
1623
+ /**
1624
+ * DeleteCloudRecording请求参数结构体
1625
+ */
1626
+ export interface DeleteCloudRecordingRequest {
1627
+ /**
1628
+ * 录制任务的唯一Id,在启动录制成功后会返回。
1629
+ */
1630
+ TaskId: string;
1312
1631
  }
1313
1632
  /**
1314
1633
  * StopPublishLiveStream返回参数结构体
@@ -1362,167 +1681,223 @@ export interface PublishParams {
1362
1681
  IsTencentUrl: number;
1363
1682
  }
1364
1683
  /**
1365
- * GetDevices返回参数结构体
1684
+ * DescribeAnnotationTasks返回参数结构体
1366
1685
  */
1367
- export interface GetDevicesResponse {
1686
+ export interface DescribeAnnotationTasksResponse {
1368
1687
  /**
1369
- * 设备授权列表
1688
+ * <p>任务 ID</p>
1370
1689
  */
1371
- Devices?: Array<Device>;
1690
+ JobId?: string;
1372
1691
  /**
1373
- * 列表数量
1692
+ * <p>处理项总数</p>
1374
1693
  */
1375
1694
  TotalCount?: number;
1376
1695
  /**
1377
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1696
+ * <p>分页偏移</p>
1378
1697
  */
1379
- RequestId?: string;
1380
- }
1381
- /**
1382
- * BoundLicenses返回参数结构体
1383
- */
1384
- export interface BoundLicensesResponse {
1698
+ Offset?: number;
1699
+ /**
1700
+ * <p>每页数量</p>
1701
+ */
1702
+ Limit?: number;
1703
+ /**
1704
+ * <p>处理项列表</p>
1705
+ */
1706
+ Tasks?: Array<Task>;
1385
1707
  /**
1386
1708
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1387
1709
  */
1388
1710
  RequestId?: string;
1389
1711
  }
1390
1712
  /**
1391
- * DescribeDeviceSessionDetails请求参数结构体
1713
+ * DescribeDeviceSessionList请求参数结构体
1392
1714
  */
1393
- export interface DescribeDeviceSessionDetailsRequest {
1715
+ export interface DescribeDeviceSessionListRequest {
1394
1716
  /**
1395
- * <p>会话ID</p>
1717
+ * <p>项目ID</p>
1396
1718
  */
1397
- SessionId: string;
1719
+ ProjectId: string;
1398
1720
  /**
1399
- * <p>查询指标开始时间</p><p>单位:秒</p>
1721
+ * <p>页码,从1开始</p>
1722
+ */
1723
+ PageNumber: number;
1724
+ /**
1725
+ * <p>每页个数</p>
1726
+ */
1727
+ PageSize: number;
1728
+ /**
1729
+ * <p>设备ID</p>
1730
+ */
1731
+ DeviceId?: string;
1732
+ /**
1733
+ * <p>开始时间</p>
1400
1734
  */
1401
1735
  StartTime?: number;
1402
1736
  /**
1403
- * <p>查询指标结束时间</p><p>单位:秒</p>
1737
+ * <p>结束时间</p>
1404
1738
  */
1405
1739
  EndTime?: number;
1406
1740
  }
1407
1741
  /**
1408
- * GetLicenses返回参数结构体
1742
+ * GetTotalDuration请求参数结构体
1409
1743
  */
1410
- export interface GetLicensesResponse {
1744
+ export interface GetTotalDurationRequest {
1411
1745
  /**
1412
- * license列表
1746
+ * 开始时间
1413
1747
  */
1414
- Licenses?: Array<License>;
1748
+ StartTime: number;
1415
1749
  /**
1416
- * license列表项数量
1750
+ * 结束时间
1417
1751
  */
1418
- TotalCount?: number;
1752
+ EndTime: number;
1419
1753
  /**
1420
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1754
+ * 项目id
1421
1755
  */
1422
- RequestId?: string;
1756
+ ProjectId: string;
1757
+ /**
1758
+ * 设备id,不传查全部
1759
+ */
1760
+ DeviceId?: string;
1423
1761
  }
1424
1762
  /**
1425
- * 设备信息
1763
+ * CreateCloudRecording请求参数结构体
1426
1764
  */
1427
- export interface DeviceInfo {
1765
+ export interface CreateCloudRecordingRequest {
1428
1766
  /**
1429
- * 设备ID
1767
+ * 项目id
1768
+ */
1769
+ ProjectId: string;
1770
+ /**
1771
+ * 设备id
1430
1772
  */
1431
1773
  DeviceId: string;
1432
1774
  /**
1433
- * 设备名称
1775
+ * 视频流号
1434
1776
  */
1435
- DeviceName: string;
1777
+ VideoStreamId: number;
1436
1778
  /**
1437
- * 设备状态,offline为离线,ready为在线准备,connected为会话中
1779
+ * 腾讯云对象存储COS以及第三方云存储的账号信息
1438
1780
  */
1439
- DeviceStatus: string;
1781
+ CloudStorage: CloudStorage;
1440
1782
  /**
1441
- * 设备类型,field为现场设备(受控方),remote为远端设备(操控方)
1783
+ * 如果是aac或者mp4文件格式,超过长度限制后,系统会自动拆分视频文件。单位:分钟。默认为1440min(24h),取值范围为1-1440。【单文件限制最大为2G,满足文件大小 >2G 或录制时长度 > 24h任意一个条件,文件都会自动切分】 Hls 格式录制此参数不生效。
1442
1784
  */
1443
- DeviceType: string;
1785
+ MaxMediaFileDuration?: number;
1444
1786
  /**
1445
- * 设备信息最近修改时间
1787
+ * 输出文件的格式(存储至COS等第三方存储时有效)。0:输出文件为hls格式。1:输出文件格式为hls+mp4。2:输出文件格式为hls+aac 。3:(默认)输出文件格式为mp4。4:输出文件格式为aac。
1446
1788
  */
1447
- ModifyTime: string;
1789
+ OutputFormat?: number;
1448
1790
  /**
1449
- * 设备状态最近更新时间
1791
+ * 房间内持续没有主播的状态超过MaxIdleTime的时长,自动停止录制,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。 示例值:30
1450
1792
  */
1451
- LastReportTime: string;
1793
+ MaxIdleTime?: number;
1794
+ }
1795
+ /**
1796
+ * RetryAnnotationTask请求参数结构体
1797
+ */
1798
+ export interface RetryAnnotationTaskRequest {
1452
1799
  /**
1453
- * 设备所属项目Id
1800
+ * <p>处理项 ID,仅超时(3)或异常(4)状态可重试</p>
1801
+ */
1802
+ TaskId: string;
1803
+ }
1804
+ /**
1805
+ * GetDeviceLicense请求参数结构体
1806
+ */
1807
+ export interface GetDeviceLicenseRequest {
1808
+ /**
1809
+ * 目标设备所属项目ID
1454
1810
  */
1455
1811
  ProjectId: string;
1812
+ /**
1813
+ * 目标设备ID
1814
+ */
1815
+ DeviceId: string;
1456
1816
  }
1457
1817
  /**
1458
- * 会话时长明细
1818
+ * ModifyDevice返回参数结构体
1459
1819
  */
1460
- export interface DurationDetails {
1820
+ export interface ModifyDeviceResponse {
1461
1821
  /**
1462
- * 会话时间
1822
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1463
1823
  */
1464
- SessionTime?: string;
1824
+ RequestId?: string;
1825
+ }
1826
+ /**
1827
+ * CreateVideoAnnotationJob请求参数结构体
1828
+ */
1829
+ export interface CreateVideoAnnotationJobRequest {
1465
1830
  /**
1466
- * 语音:min
1831
+ * <p>输入源类型:1 S3 兼容存储,2 HTTP URL</p><p>枚举值:</p><ul><li>1: S3 兼容存储</li><li>2: HTTP URL</li></ul>
1467
1832
  */
1468
- Voice?: number;
1833
+ InputType: number;
1469
1834
  /**
1470
- * 标清:min
1835
+ * <p>标注模式(当前仅开放精标注)</p><p>枚举值:</p><ul><li>3: 精标注</li></ul>
1471
1836
  */
1472
- SD?: number;
1837
+ AnnotationType: number;
1473
1838
  /**
1474
- * 高清:min
1839
+ * <p>S3 存储输入源信息,InputType=1 时必填</p>
1475
1840
  */
1476
- HD?: number;
1841
+ S3SourceInfo?: S3SourceInfo;
1477
1842
  /**
1478
- * 超高清:min
1843
+ * <p>视频 HTTP URL。InputType=2 时必填。格式如 https://example.com/video.mp4</p>
1479
1844
  */
1480
- FHD?: number;
1845
+ HttpUrl?: string;
1481
1846
  /**
1482
- * 2k:min
1847
+ * <p>标注上下文信息</p>
1483
1848
  */
1484
- TwoK?: number;
1849
+ AnnotationContext?: AnnotationContext;
1485
1850
  /**
1486
- * 4k:min
1851
+ * <p>标注处理参数,预留字段,当前无效</p>
1487
1852
  */
1488
- FourK?: number;
1853
+ ProcessParams?: ProcessParams;
1489
1854
  /**
1490
- * 在线时长:min
1855
+ * <p>结果输出信息</p>
1491
1856
  */
1492
- Online?: number;
1857
+ OutputInfo?: OutputInfo;
1493
1858
  /**
1494
- * 多网标清:min
1859
+ * <p>回调信息,配置后当处理项状态从处理中变为其他状态时,服务端会向回调地址发送请求(退避重试三次,不保证回调一定送达,需保证目标地址接收服务有效),建议接收方做好幂等处理。回调请求格式如下:<br><strong>请求头</strong></p><table><thead><tr><th>名称</th><th>值</th></tr></thead><tbody><tr><td>X-Annotation-Signature</td><td>hex(HMAC-SHA256(请求体原始字节, CallbackInfo.Secret))</td></tr></tbody></table><p><strong>请求体</strong>(application/json)</p><table><thead><tr><th>参数名</th><th>类型</th><th>必选</th><th>描述</th></tr></thead><tbody><tr><td>JobId</td><td>string</td><td>是</td><td>任务 ID</td></tr><tr><td>TaskId</td><td>string</td><td>是</td><td>处理项 ID</td></tr><tr><td>FileName</td><td>string</td><td>是</td><td>视频文件名</td></tr><tr><td>Status</td><td>int</td><td>是</td><td>触发本次回调的处理项状态:3 超时,4 异常,5 待确认,6 成功</td></tr><tr><td>StatusChangedAt</td><td>int</td><td>是</td><td>状态变更时间,Unix 时间戳(秒)</td></tr><tr><td>RawResult</td><td>string</td><td>否</td><td>当前生效的结果 JSON 原文:成功=标注产物;待确认=原始标注;确认后=确认版内容。超时/异常无内容</td></tr></tbody></table>
1495
1860
  */
1496
- MultiSD?: number;
1861
+ CallbackInfo?: CallbackInfo;
1862
+ }
1863
+ /**
1864
+ * CreateBatchVideoAnnotationJob返回参数结构体
1865
+ */
1866
+ export interface CreateBatchVideoAnnotationJobResponse {
1497
1867
  /**
1498
- * 多网高清:min
1868
+ * <p>任务 ID</p>
1499
1869
  */
1500
- MultiHD?: number;
1870
+ JobId?: string;
1501
1871
  /**
1502
- * 多网超高清:min
1872
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1503
1873
  */
1504
- MultiFHD?: number;
1874
+ RequestId?: string;
1875
+ }
1876
+ /**
1877
+ * StartPublishLiveStream请求参数结构体
1878
+ */
1879
+ export interface StartPublishLiveStreamRequest {
1505
1880
  /**
1506
- * 多网2k:min
1881
+ * 是否转码,0表示无需转码,1表示需要转码。是否收取转码费是由WithTranscoding参数决定的,WithTranscoding为0,表示旁路转推,不会收取转码费用,WithTranscoding为1,表示混流转推,会收取转码费用。 示例值:1
1507
1882
  */
1508
- MultiTwoK?: number;
1883
+ WithTranscoding: number;
1509
1884
  /**
1510
- * 多网4k:min
1885
+ * 所有参与混流转推的主播持续离开TRTC房间或切换成观众超过MaxIdleTime的时长,自动停止转推,单位:秒。默认值为 30 秒,该值需大于等于 5秒,且小于等于 86400秒(24小时)。
1511
1886
  */
1512
- MultiFourK?: number;
1887
+ MaxIdleTime: number;
1513
1888
  /**
1514
- * 多网在线时长:min
1889
+ * 转推视频参数
1515
1890
  */
1516
- MultiOnline?: number;
1891
+ VideoParams: VideoParams;
1517
1892
  /**
1518
- * 抵扣时长:min
1893
+ * 转推的URL参数,一个任务最多支持10个推流URL
1519
1894
  */
1520
- DeductDuration?: number;
1895
+ PublishParams: Array<PublishParams>;
1521
1896
  }
1522
1897
  /**
1523
- * DescribeDeviceSessionList请求参数结构体
1898
+ * DescribeRecentSessionList请求参数结构体
1524
1899
  */
1525
- export interface DescribeDeviceSessionListRequest {
1900
+ export interface DescribeRecentSessionListRequest {
1526
1901
  /**
1527
1902
  * <p>项目ID</p>
1528
1903
  */
@@ -1536,151 +1911,240 @@ export interface DescribeDeviceSessionListRequest {
1536
1911
  */
1537
1912
  PageSize: number;
1538
1913
  /**
1539
- * <p>设备ID</p>
1914
+ * <p>设备ID,支持过滤远端设备或现场设备</p>
1540
1915
  */
1541
1916
  DeviceId?: string;
1542
1917
  /**
1543
- * <p>开始时间</p>
1918
+ * <p>时间范围的起始时间。时间范围最大为最近两小时,若不传或超出范围,则起始时间按两小时前计算</p>
1544
1919
  */
1545
1920
  StartTime?: number;
1546
1921
  /**
1547
- * <p>结束时间</p>
1922
+ * <p>时间范围的结束时间。时间范围最大为最近两小时,若不传或超出范围,则结束时间按当前时间计算</p>
1548
1923
  */
1549
1924
  EndTime?: number;
1550
1925
  }
1551
1926
  /**
1552
- * ModifyCallbackUrl请求参数结构体
1927
+ * ModifyPolicy请求参数结构体
1553
1928
  */
1554
- export interface ModifyCallbackUrlRequest {
1929
+ export interface ModifyPolicyRequest {
1555
1930
  /**
1556
- * 项目id
1931
+ * 修改权限配置的项目ID
1557
1932
  */
1558
1933
  ProjectId: string;
1559
1934
  /**
1560
- * 回调URL
1935
+ * 修改权限配置的远端设备ID
1936
+ */
1937
+ RemoteDeviceId: string;
1938
+ /**
1939
+ * 权限修改涉及的现场设备ID数组
1940
+ */
1941
+ FieldDeviceIds: Array<string>;
1942
+ /**
1943
+ * 修改的目标权限模式,black为黑名单,white为白名单
1944
+ */
1945
+ PolicyMode: string;
1946
+ /**
1947
+ * 修改模式,add为新增(添加现场设备I关联),remove为删除(解除现场设备关联),set为设置(更新现场设备关联)
1948
+ */
1949
+ ModifyMode: string;
1950
+ }
1951
+ /**
1952
+ * DescribeAnnotationJobs返回参数结构体
1953
+ */
1954
+ export interface DescribeAnnotationJobsResponse {
1955
+ /**
1956
+ * <p>符合条件的任务总数</p>
1957
+ */
1958
+ TotalCount?: number;
1959
+ /**
1960
+ * <p>分页偏移</p>
1961
+ */
1962
+ Offset?: number;
1963
+ /**
1964
+ * <p>每页数量</p>
1965
+ */
1966
+ Limit?: number;
1967
+ /**
1968
+ * <p>任务列表</p>
1969
+ */
1970
+ Jobs?: Array<Job>;
1971
+ /**
1972
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1973
+ */
1974
+ RequestId?: string;
1975
+ }
1976
+ /**
1977
+ * ModifyProject返回参数结构体
1978
+ */
1979
+ export interface ModifyProjectResponse {
1980
+ /**
1981
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1982
+ */
1983
+ RequestId?: string;
1984
+ }
1985
+ /**
1986
+ * CreateVideoAnnotationJob返回参数结构体
1987
+ */
1988
+ export interface CreateVideoAnnotationJobResponse {
1989
+ /**
1990
+ * <p>任务 ID</p>
1561
1991
  */
1562
- CallbackUrl: string;
1992
+ JobId?: string;
1563
1993
  /**
1564
- * 回调签名密钥,用于校验回调信息的完整性
1994
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1565
1995
  */
1566
- SignKey?: string;
1996
+ RequestId?: string;
1567
1997
  }
1568
1998
  /**
1569
- * 原视频流参数列表
1999
+ * DescribePolicy请求参数结构体
1570
2000
  */
1571
- export interface VideoList {
2001
+ export interface DescribePolicyRequest {
1572
2002
  /**
1573
- * 项目id
2003
+ * 查看权限的项目ID
1574
2004
  */
1575
2005
  ProjectId: string;
1576
2006
  /**
1577
- * 设备id
2007
+ * 查看的权限模式,black为黑名单,white为白名单,不填默认为当前项目生效的权限模式
1578
2008
  */
1579
- DeviceId: string;
2009
+ PolicyMode?: string;
1580
2010
  /**
1581
- * 流id
2011
+ * 模糊匹配模式,remoteMatch为远端设备ID匹配,fieldMatch为现场ID匹配,不填默认为remoteMatch
1582
2012
  */
1583
- VideoStreamId: number;
2013
+ SearchMode?: string;
1584
2014
  /**
1585
- * 子画面在输出时的宽度,单位为像素值,不填默认为0。
2015
+ * 模糊匹配关键字,不填默认不进行模糊匹配
1586
2016
  */
1587
- Width: number;
2017
+ SearchWords?: string;
1588
2018
  /**
1589
- * 子画面在输出时的高度,单位为像素值,不填默认为0。
2019
+ * 每页返回的最大数量,不填默认为10
1590
2020
  */
1591
- Height: number;
2021
+ PageSize?: number;
2022
+ /**
2023
+ * 当前页码,不填默认为1(首页)
2024
+ */
2025
+ PageNumber?: number;
1592
2026
  }
1593
2027
  /**
1594
- * GetDevices请求参数结构体
2028
+ * ModifyProject请求参数结构体
1595
2029
  */
1596
- export interface GetDevicesRequest {
2030
+ export interface ModifyProjectRequest {
1597
2031
  /**
1598
- * 页码
2032
+ * 目标修改项目的项目ID
1599
2033
  */
1600
- PageNum: number;
2034
+ ProjectId: string;
1601
2035
  /**
1602
- * 页面数量
2036
+ * 修改后的项目名称,不填则不修改
1603
2037
  */
1604
- PageSize: number;
2038
+ ProjectName?: string;
1605
2039
  /**
1606
- * 项目 ID
2040
+ * 修改后的项目描述,不填则不修改
1607
2041
  */
1608
- ProjectId?: string;
2042
+ ProjectDescription?: string;
1609
2043
  /**
1610
- * 设备ID
2044
+ * 修改后的权限模式,black为黑名单,white为白名单,不填则不修改
1611
2045
  */
1612
- DeviceId?: string;
2046
+ PolicyMode?: string;
1613
2047
  }
1614
2048
  /**
1615
- * GetTotalDuration请求参数结构体
2049
+ * 按授权查看的license列表
1616
2050
  */
1617
- export interface GetTotalDurationRequest {
2051
+ export interface License {
1618
2052
  /**
1619
- * 开始时间
2053
+ * 该类型的license个数
1620
2054
  */
1621
- StartTime: number;
2055
+ Count?: number;
1622
2056
  /**
1623
- * 结束时间
2057
+ * license状态:0:未绑定;1:已绑定;2:已停服;3:已退费
1624
2058
  */
1625
- EndTime: number;
2059
+ Status?: number;
1626
2060
  /**
1627
- * 项目id
2061
+ * 到期时间戳:s
1628
2062
  */
1629
- ProjectId: string;
2063
+ ExpireTime?: string;
1630
2064
  /**
1631
- * 设备id,不传查全部
2065
+ * 服务时长:s
1632
2066
  */
1633
- DeviceId?: string;
2067
+ Duration?: string;
2068
+ /**
2069
+ * 剩余天数:天
2070
+ */
2071
+ RemainDay?: number;
2072
+ /**
2073
+ * 该类型的licenseId列表
2074
+ */
2075
+ LicenseIds?: Array<string>;
1634
2076
  }
1635
2077
  /**
1636
- * DescribeDeviceSessionList返回参数结构体
2078
+ * DescribeProjectList请求参数结构体
1637
2079
  */
1638
- export interface DescribeDeviceSessionListResponse {
2080
+ export interface DescribeProjectListRequest {
1639
2081
  /**
1640
- * <p>总个数</p>
2082
+ * 每页返回的最大项目数量,不填默认为10
1641
2083
  */
1642
- Total?: number;
2084
+ PageSize?: number;
1643
2085
  /**
1644
- * <p>会话列表</p>
2086
+ * 当前页码,不填默认为1(首页)
1645
2087
  */
1646
- DeviceSessionList?: Array<SessionInfo>;
2088
+ PageNumber?: number;
2089
+ }
2090
+ /**
2091
+ * BatchDeletePolicy请求参数结构体
2092
+ */
2093
+ export interface BatchDeletePolicyRequest {
1647
2094
  /**
1648
- * <p>本页数量</p>
2095
+ * 删除权限配置的项目ID
1649
2096
  */
1650
- Num?: number;
2097
+ ProjectId: string;
1651
2098
  /**
1652
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2099
+ * 删除权限配置的远端设备ID列表
1653
2100
  */
1654
- RequestId?: string;
2101
+ RemoteDeviceIds: Array<string>;
2102
+ /**
2103
+ * 删除权限配置的权限模式, black为黑名单,white为白名单
2104
+ */
2105
+ PolicyMode: string;
1655
2106
  }
1656
2107
  /**
1657
- * 转推视频参数
2108
+ * 批量结果投递
1658
2109
  */
1659
- export interface VideoParams {
2110
+ export interface OutputStorage {
1660
2111
  /**
1661
- * 输出流宽,音视频输出时必填。取值范围[0,1920],单位为像素值。
2112
+ * <p>存储桶名称</p>
1662
2113
  */
1663
- Width: number;
2114
+ Bucket: string;
1664
2115
  /**
1665
- * 输出流高,音视频输出时必填。取值范围[0,1080],单位为像素值。
2116
+ * <p>存储服务地址</p>
1666
2117
  */
1667
- Height: number;
2118
+ Endpoint: string;
1668
2119
  /**
1669
- * 输出流帧率,音视频输出时必填。取值范围[1,60],表示混流的输出帧率可选范围为1到60fps。
2120
+ * <p>存储区域</p>
1670
2121
  */
1671
- Fps: number;
2122
+ Region: string;
1672
2123
  /**
1673
- * 输出流码率,音视频输出时必填。取值范围[1,10000],单位为kbps。
2124
+ * <p>访问凭证,需对该桶有写权限</p>
1674
2125
  */
1675
- BitRate: number;
2126
+ Secret: SecretInfo;
1676
2127
  /**
1677
- * 输出流gop,音视频输出时必填。取值范围[1,5],单位为秒。
2128
+ * <p>输出目录前缀,不传写入桶根目录</p>
1678
2129
  */
1679
- Gop: number;
2130
+ Prefix?: string;
1680
2131
  /**
1681
- * 转推视频流列表
2132
+ * <p>输出文件名规则,支持变量 $FileName、$FileType、$TaskId、$YYYY、$mm、$dd、$HH、$MM、$SS,须至少含一个变量,默认 $FileName_$TaskId.json</p>
1682
2133
  */
1683
- VideoList: Array<VideoList>;
2134
+ NameRule?: string;
2135
+ }
2136
+ /**
2137
+ * GetDeviceLicense返回参数结构体
2138
+ */
2139
+ export interface GetDeviceLicenseResponse {
2140
+ /**
2141
+ * 指定设备已经绑定的可用license数量
2142
+ */
2143
+ AvailableCount?: number;
2144
+ /**
2145
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2146
+ */
2147
+ RequestId?: string;
1684
2148
  }
1685
2149
  /**
1686
2150
  * 单位时间间隔的会话统计数据
@@ -1716,49 +2180,123 @@ export interface SessionIntervalStatistic {
1716
2180
  NotBadSessionRatio: number;
1717
2181
  }
1718
2182
  /**
1719
- * ModifyCallbackUrl返回参数结构体
2183
+ * 多网的网卡状态信息
1720
2184
  */
1721
- export interface ModifyCallbackUrlResponse {
2185
+ export interface MultiNet {
1722
2186
  /**
1723
- * 响应码,0:成功,其他:失败
2187
+ * 网卡序号
1724
2188
  */
1725
- Code?: number;
2189
+ NetId?: number;
1726
2190
  /**
1727
- * 响应消息,ok:成功,其他:失败
2191
+ * 网卡IP
1728
2192
  */
1729
- Msg?: string;
2193
+ NetIp?: string;
2194
+ /**
2195
+ * 时延,单位ms
2196
+ */
2197
+ Rtt?: Array<number | bigint>;
2198
+ /**
2199
+ * 丢包率,单位%
2200
+ */
2201
+ Lost?: Array<number | bigint>;
2202
+ /**
2203
+ * 发送bps,单位kbps
2204
+ */
2205
+ SendBps?: Array<number | bigint>;
2206
+ /**
2207
+ * 接收bps,单位kbps
2208
+ */
2209
+ RecvBps?: Array<number | bigint>;
2210
+ }
2211
+ /**
2212
+ * DescribeDeviceSessionDetails请求参数结构体
2213
+ */
2214
+ export interface DescribeDeviceSessionDetailsRequest {
2215
+ /**
2216
+ * <p>会话ID</p>
2217
+ */
2218
+ SessionId: string;
2219
+ /**
2220
+ * <p>查询指标开始时间</p><p>单位:秒</p>
2221
+ */
2222
+ StartTime?: number;
2223
+ /**
2224
+ * <p>查询指标结束时间</p><p>单位:秒</p>
2225
+ */
2226
+ EndTime?: number;
2227
+ }
2228
+ /**
2229
+ * GetLicenses返回参数结构体
2230
+ */
2231
+ export interface GetLicensesResponse {
2232
+ /**
2233
+ * license列表
2234
+ */
2235
+ Licenses?: Array<License>;
2236
+ /**
2237
+ * license列表项数量
2238
+ */
2239
+ TotalCount?: number;
1730
2240
  /**
1731
2241
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1732
2242
  */
1733
2243
  RequestId?: string;
1734
2244
  }
1735
2245
  /**
1736
- * GetDeviceLicense请求参数结构体
2246
+ * 设备信息
1737
2247
  */
1738
- export interface GetDeviceLicenseRequest {
2248
+ export interface DeviceInfo {
1739
2249
  /**
1740
- * 目标设备所属项目ID
2250
+ * 设备ID
1741
2251
  */
1742
- ProjectId: string;
2252
+ DeviceId: string;
1743
2253
  /**
1744
- * 目标设备ID
2254
+ * 设备名称
1745
2255
  */
1746
- DeviceId: string;
2256
+ DeviceName: string;
2257
+ /**
2258
+ * 设备状态,offline为离线,ready为在线准备,connected为会话中
2259
+ */
2260
+ DeviceStatus: string;
2261
+ /**
2262
+ * 设备类型,field为现场设备(受控方),remote为远端设备(操控方)
2263
+ */
2264
+ DeviceType: string;
2265
+ /**
2266
+ * 设备信息最近修改时间
2267
+ */
2268
+ ModifyTime: string;
2269
+ /**
2270
+ * 设备状态最近更新时间
2271
+ */
2272
+ LastReportTime: string;
2273
+ /**
2274
+ * 设备所属项目Id
2275
+ */
2276
+ ProjectId: string;
1747
2277
  }
1748
2278
  /**
1749
- * CreateProject请求参数结构体
2279
+ * 原视频流参数列表
1750
2280
  */
1751
- export interface CreateProjectRequest {
2281
+ export interface VideoList {
1752
2282
  /**
1753
- * 项目名称,长度不超过24个字符
2283
+ * 项目id
1754
2284
  */
1755
- ProjectName: string;
2285
+ ProjectId: string;
1756
2286
  /**
1757
- * 项目描述,长度不超过120个字符,不填默认为空
2287
+ * 设备id
1758
2288
  */
1759
- ProjectDescription?: string;
2289
+ DeviceId: string;
1760
2290
  /**
1761
- * 权限模式,black为黑名单,white为白名单,不填默认为black
2291
+ * 流id
1762
2292
  */
1763
- PolicyMode?: string;
2293
+ VideoStreamId: number;
2294
+ /**
2295
+ * 子画面在输出时的宽度,单位为像素值,不填默认为0。
2296
+ */
2297
+ Width: number;
2298
+ /**
2299
+ * 子画面在输出时的高度,单位为像素值,不填默认为0。
2300
+ */
2301
+ Height: number;
1764
2302
  }