tencentcloud-sdk-nodejs-live 4.0.707 → 4.0.708

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-live",
3
- "version": "4.0.707",
3
+ "version": "4.0.708",
4
4
  "description": "Tencent Cloud API NODEJS SDK",
5
5
  "main": "tencentcloud/index.js",
6
6
  "scripts": {
package/products.md CHANGED
@@ -14,7 +14,7 @@
14
14
  | apcas | [汽车精准获客服务](https://cloud.tencent.com/document/product/1244) | 2022-04-04 06:05:36 |
15
15
  | ape | [正版图库直通车](https://cloud.tencent.com/document/product/1181) | 2022-04-04 06:05:40 |
16
16
  | api | [云 API](https://cloud.tencent.com/document/product/1278) | 2023-01-05 01:02:52 |
17
- | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-10-12 01:07:58 |
17
+ | apigateway | [API 网关](https://cloud.tencent.com/document/product/628) | 2023-10-18 01:09:16 |
18
18
  | apm | [应用性能监控](https://cloud.tencent.com/document/product/1463) | 2023-09-25 01:06:12 |
19
19
  | as | [弹性伸缩](https://cloud.tencent.com/document/product/377) | 2023-10-10 01:07:51 |
20
20
  | asr | [语音识别](https://cloud.tencent.com/document/product/1093) | 2023-09-27 01:07:00 |
@@ -23,9 +23,9 @@
23
23
  | batch | [批量计算](https://cloud.tencent.com/document/product/599) | 2023-10-16 01:07:03 |
24
24
  | bda | [人体分析](https://cloud.tencent.com/document/product/1208) | 2023-10-11 01:10:01 |
25
25
  | bi | [商业智能分析 BI](https://cloud.tencent.com/document/product/590) | 2023-09-27 01:07:14 |
26
- | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-10-13 01:07:25 |
26
+ | billing | [费用中心](https://cloud.tencent.com/document/product/555) | 2023-10-18 01:13:22 |
27
27
  | bizlive | [商业直播](https://cloud.tencent.com/document/product) | 2020-03-10 01:08:07 |
28
- | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-10-17 01:07:29 |
28
+ | bm | [黑石物理服务器CPM](https://cloud.tencent.com/document/product/386) | 2023-10-18 01:14:30 |
29
29
  | bma | [品牌经营管家](https://cloud.tencent.com/document/product/1296) | 2023-08-31 01:07:17 |
30
30
  | bmeip | [黑石弹性公网IP](https://cloud.tencent.com/document/product/1028) | 2023-10-17 01:08:08 |
31
31
  | bmlb | [黑石负载均衡](https://cloud.tencent.com/document/product/1027) | 2023-10-17 01:08:12 |
@@ -41,7 +41,7 @@
41
41
  | cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-05-18 01:07:39 |
42
42
  | cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-09-20 01:08:08 |
43
43
  | ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2023-10-16 01:08:23 |
44
- | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-09-21 01:31:18 |
44
+ | cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2023-10-18 01:20:48 |
45
45
  | cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2023-09-12 01:18:51 |
46
46
  | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2023-10-09 01:08:48 |
47
47
  | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2023-08-17 01:43:06 |
@@ -69,7 +69,7 @@
69
69
  | csip | [云安全一体化平台](https://cloud.tencent.com/document/product/664) | 2023-10-16 01:11:35 |
70
70
  | csxg | [5G入云服务](https://cloud.tencent.com/document/product/1687) | 2023-05-19 11:26:14 |
71
71
  | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2023-10-16 01:11:44 |
72
- | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-10-12 01:38:16 |
72
+ | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2023-10-18 01:38:58 |
73
73
  | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 |
74
74
  | cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2023-10-13 01:13:55 |
75
75
  | dasb | [T-Sec-堡垒机(BH)](https://cloud.tencent.com/document/product/1025) | 2023-10-12 01:46:01 |
@@ -79,9 +79,9 @@
79
79
  | dbdc | [云数据库独享集群](https://cloud.tencent.com/document/product/1322) | 2023-08-22 01:11:33 |
80
80
  | dc | [专线接入](https://cloud.tencent.com/document/product/216) | 2023-08-17 02:50:46 |
81
81
  | dcdb | [TDSQL MySQL 版](https://cloud.tencent.com/document/product/557) | 2023-09-25 01:13:09 |
82
- | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-10-16 01:14:08 |
82
+ | dlc | [数据湖计算 DLC](https://cloud.tencent.com/document/product/1342) | 2023-10-18 01:49:18 |
83
83
  | dnspod | [DNSPod](https://cloud.tencent.com/document/product/1427) | 2023-09-12 01:43:38 |
84
- | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-09-20 01:34:26 |
84
+ | domain | [域名注册](https://cloud.tencent.com/document/product/242) | 2023-10-18 01:53:41 |
85
85
  | drm | [数字版权管理](https://cloud.tencent.com/document/product/1000) | 2023-08-17 02:59:36 |
86
86
  | ds | [文档服务](https://cloud.tencent.com/document/product/869) | 2023-08-17 02:59:40 |
87
87
  | dsgc | [数据安全治理中心](https://cloud.tencent.com/document/product/1087) | 2023-10-17 01:15:42 |
@@ -95,14 +95,14 @@
95
95
  | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 |
96
96
  | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2023-10-16 01:15:50 |
97
97
  | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2023-10-12 01:57:01 |
98
- | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-10-17 01:17:18 |
99
- | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-10-17 01:17:37 |
98
+ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2023-10-18 02:01:09 |
99
+ | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2023-10-18 02:03:31 |
100
100
  | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-09-18 01:48:33 |
101
101
  | faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2023-09-19 01:15:41 |
102
102
  | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-08-17 03:12:49 |
103
103
  | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2023-08-17 03:12:58 |
104
104
  | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-09-22 01:52:02 |
105
- | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-08-24 01:19:31 |
105
+ | gme | [游戏多媒体引擎](https://cloud.tencent.com/document/product/607) | 2023-10-18 02:07:09 |
106
106
  | goosefs | [数据加速器 GooseFS](https://cloud.tencent.com/document/product/1424) | 2023-10-12 02:01:46 |
107
107
  | gpm | [游戏玩家匹配](https://cloud.tencent.com/document/product/1294) | 2022-07-11 06:12:36 |
108
108
  | gs | [云游戏](https://cloud.tencent.com/document/product/1162) | 2023-05-18 01:29:42 |
@@ -129,8 +129,8 @@
129
129
  | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2023-07-19 01:29:34 |
130
130
  | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2023-08-17 03:51:31 |
131
131
  | lcic | [低代码互动课堂](https://cloud.tencent.com/document/product/1639) | 2023-10-12 02:11:22 |
132
- | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-10-11 02:02:31 |
133
- | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-10-13 01:19:37 |
132
+ | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2023-10-18 02:19:03 |
133
+ | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2023-10-18 02:20:12 |
134
134
  | lowcode | [云开发低码](https://cloud.tencent.com/document/product/1301) | 2022-04-04 06:56:51 |
135
135
  | lp | [登录保护](https://cloud.tencent.com/document/product/1190) | 2022-04-04 06:56:52 |
136
136
  | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2023-07-17 10:16:02 |
@@ -139,9 +139,9 @@
139
139
  | memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2023-08-29 01:18:58 |
140
140
  | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
141
141
  | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-05-18 01:39:20 |
142
- | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-08-30 01:19:09 |
142
+ | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-10-18 02:23:34 |
143
143
  | mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2023-09-15 02:08:53 |
144
- | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-10-17 01:21:47 |
144
+ | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2023-10-18 02:24:32 |
145
145
  | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2023-10-11 02:08:20 |
146
146
  | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2023-09-13 02:09:08 |
147
147
  | ms | [移动应用安全](https://cloud.tencent.com/document/product/283) | 2023-10-17 01:22:38 |
@@ -149,7 +149,7 @@
149
149
  | mvj | [营销价值判断](https://cloud.tencent.com/document/product) | 2020-03-19 08:11:44 |
150
150
  | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 |
151
151
  | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 |
152
- | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-10-17 01:22:49 |
152
+ | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2023-10-18 02:29:23 |
153
153
  | ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2023-10-13 01:21:21 |
154
154
  | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2023-09-18 02:11:06 |
155
155
  | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2023-09-22 02:15:37 |
@@ -165,7 +165,7 @@
165
165
  | rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
166
166
  | rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2023-10-13 01:22:31 |
167
167
  | scf | [云函数](https://cloud.tencent.com/document/product/583) | 2023-10-16 01:22:37 |
168
- | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-10-17 01:24:30 |
168
+ | ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-10-18 02:37:31 |
169
169
  | smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-07-11 01:37:49 |
170
170
  | smop | [腾讯安心用户运营平台](https://cloud.tencent.com/document/product/1310) | 2023-05-18 01:47:59 |
171
171
  | smpn | [营销号码安全](https://cloud.tencent.com/document/product/1127) | 2023-08-17 04:38:34 |
@@ -194,10 +194,10 @@
194
194
  | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 |
195
195
  | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2023-10-09 01:23:14 |
196
196
  | tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-09-11 02:43:38 |
197
- | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-09-22 02:29:25 |
197
+ | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2023-10-18 02:46:59 |
198
198
  | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 |
199
199
  | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2023-07-24 01:49:20 |
200
- | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-10-16 01:25:24 |
200
+ | tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2023-10-18 02:51:11 |
201
201
  | tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-05-18 01:55:50 |
202
202
  | tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-08-30 01:25:15 |
203
203
  | teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2023-10-11 02:31:17 |
@@ -232,7 +232,7 @@
232
232
  | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-07-18 01:58:58 |
233
233
  | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2023-10-17 01:32:14 |
234
234
  | wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-07-18 01:59:28 |
235
- | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-10-17 01:32:55 |
235
+ | wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2023-10-18 03:15:04 |
236
236
  | weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2023-09-12 09:30:48 |
237
237
  | wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
238
238
  | yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-08-10 01:50:27 |
@@ -22,7 +22,7 @@ import {
22
22
  ModifyPullStreamStatusRequest,
23
23
  DeleteLiveRecordTemplateRequest,
24
24
  DescribeLiveTranscodeTemplatesRequest,
25
- DescribeLiveStreamMonitorListRequest,
25
+ DescribeBackupStreamListResponse,
26
26
  DescribeLiveSnapshotTemplateRequest,
27
27
  DescribePlayErrorCodeDetailInfoListRequest,
28
28
  DescribeBillBandwidthAndFluxListRequest,
@@ -53,6 +53,7 @@ import {
53
53
  DeleteLiveWatermarkRuleRequest,
54
54
  DescribeLiveWatermarksRequest,
55
55
  DescribeLiveWatermarkRulesRequest,
56
+ EnableOptimalSwitchingRequest,
56
57
  ProIspPlaySumInfo,
57
58
  ModifyLiveTranscodeTemplateResponse,
58
59
  DescribeStreamDayPlayInfoListRequest,
@@ -95,6 +96,7 @@ import {
95
96
  ResumeLiveStreamRequest,
96
97
  DescribeBillBandwidthAndFluxListResponse,
97
98
  DescribeLiveDomainPlayInfoListResponse,
99
+ DescribeLiveStreamMonitorListRequest,
98
100
  HttpCodeValue,
99
101
  DeleteLiveStreamMonitorResponse,
100
102
  DeleteLiveCallbackTemplateRequest,
@@ -119,7 +121,6 @@ import {
119
121
  DeleteLiveCallbackRuleResponse,
120
122
  DescribeStreamPlayInfoListRequest,
121
123
  PushAuthKeyInfo,
122
- ForbidStreamInfo,
123
124
  DescribeLivePlayAuthKeyRequest,
124
125
  CreateLiveTimeShiftRuleResponse,
125
126
  DeleteLiveTranscodeRuleResponse,
@@ -143,6 +144,7 @@ import {
143
144
  DescribeDeliverLogDownListResponse,
144
145
  ModifyLivePullStreamTaskRequest,
145
146
  PullStreamConfig,
147
+ DescribeBackupStreamListRequest,
146
148
  DescribeDeliverLogDownListRequest,
147
149
  DescribeLiveStreamPushInfoListRequest,
148
150
  DescribeLiveTimeShiftTemplatesRequest,
@@ -154,6 +156,7 @@ import {
154
156
  CreateLivePadTemplateResponse,
155
157
  DescribeLiveRecordTemplatesResponse,
156
158
  DescribeScreenshotTaskRequest,
159
+ BackupStreamGroupInfo,
157
160
  ScreenshotTask,
158
161
  DeletePullStreamConfigResponse,
159
162
  DeleteLiveTimeShiftRuleResponse,
@@ -175,6 +178,7 @@ import {
175
178
  TemplateInfo,
176
179
  DescribeLiveStreamPushInfoListResponse,
177
180
  CancelCommonMixStreamRequest,
181
+ SwitchBackupStreamRequest,
178
182
  DeleteLiveStreamMonitorRequest,
179
183
  DescribeLiveDelayInfoListResponse,
180
184
  ClientIpPlaySumInfo,
@@ -205,6 +209,7 @@ import {
205
209
  DescribeLivePullStreamTaskStatusRequest,
206
210
  RestartLivePullStreamTaskRequest,
207
211
  DelayInfo,
212
+ EnableOptimalSwitchingResponse,
208
213
  DescribeLiveStreamMonitorRequest,
209
214
  DescribeLiveSnapshotRulesRequest,
210
215
  DeleteLiveRecordRuleResponse,
@@ -344,6 +349,7 @@ import {
344
349
  DescribeLiveTimeShiftRulesRequest,
345
350
  DescribePlayErrorCodeSumInfoListRequest,
346
351
  DescribeLiveTimeShiftBillInfoListRequest,
352
+ RecordTask,
347
353
  PushQualityData,
348
354
  DescribeLiveCertRequest,
349
355
  PlaySumStatInfo,
@@ -355,6 +361,7 @@ import {
355
361
  DescribeLivePackageInfoRequest,
356
362
  DescribeLiveStreamMonitorListResponse,
357
363
  DeleteLiveTimeShiftTemplateRequest,
364
+ SwitchBackupStreamResponse,
358
365
  CdnPlayStatData,
359
366
  AddLiveDomainResponse,
360
367
  ModifyPullStreamConfigResponse,
@@ -388,6 +395,7 @@ import {
388
395
  CreateLiveTranscodeRuleResponse,
389
396
  CreateLiveTranscodeTemplateResponse,
390
397
  ModifyLivePadTemplateRequest,
398
+ BackupStreamDetailData,
391
399
  CreateLiveSnapshotTemplateRequest,
392
400
  ModifyLiveCallbackTemplateRequest,
393
401
  DescribeMonitorReportRequest,
@@ -396,7 +404,7 @@ import {
396
404
  DescribeLiveXP2PDetailInfoListRequest,
397
405
  ModifyLivePushAuthKeyResponse,
398
406
  StopScreenshotTaskResponse,
399
- RecordTask,
407
+ ForbidStreamInfo,
400
408
  DescribeTimeShiftRecordDetailResponse,
401
409
  DeleteLiveDomainResponse,
402
410
  } from "./live_models"
@@ -834,6 +842,17 @@ export class Client extends TencentCloudCommon.AbstractClient {
834
842
  return this.request("DescribeLiveStreamOnlineList", req, cb)
835
843
  }
836
844
 
845
+ /**
846
+ * 启用择优调度。
847
+ 注意:流维度的择优调度,当主备流结束后自动失效。
848
+ */
849
+ async EnableOptimalSwitching(
850
+ req: EnableOptimalSwitchingRequest,
851
+ cb?: (error: string, rep: EnableOptimalSwitchingResponse) => void
852
+ ): Promise<EnableOptimalSwitchingResponse> {
853
+ return this.request("EnableOptimalSwitching", req, cb)
854
+ }
855
+
837
856
  /**
838
857
  * 删除回调模板。
839
858
  */
@@ -1586,6 +1605,16 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
1586
1605
  return this.request("DescribeDeliverBandwidthList", req, cb)
1587
1606
  }
1588
1607
 
1608
+ /**
1609
+ * 调用该接口实现切换当前播放所使用的主备流。
1610
+ */
1611
+ async SwitchBackupStream(
1612
+ req: SwitchBackupStreamRequest,
1613
+ cb?: (error: string, rep: SwitchBackupStreamResponse) => void
1614
+ ): Promise<SwitchBackupStreamResponse> {
1615
+ return this.request("SwitchBackupStream", req, cb)
1616
+ }
1617
+
1589
1618
  /**
1590
1619
  * 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
1591
1620
  查询实时的域名维度下行播放数据,由于数据处理有耗时,接口默认查询4分钟前的准实时数据。
@@ -1901,6 +1930,20 @@ DomainName+AppName+StreamName+TemplateId唯一标识单个转码规则,如需
1901
1930
  return this.request("DeleteLiveRecordTemplate", req, cb)
1902
1931
  }
1903
1932
 
1933
+ /**
1934
+ * 返回正在直播中的流列表。适用于推流成功后查询在线流信息。
1935
+
1936
+ 注意:
1937
+ 1. 该接口仅提供辅助查询在线流列表功能,业务重要场景不可强依赖该接口。
1938
+ 2. 该接口仅适用于流数少于2万路的情况,对于流数较大用户请联系售后。
1939
+ */
1940
+ async DescribeBackupStreamList(
1941
+ req: DescribeBackupStreamListRequest,
1942
+ cb?: (error: string, rep: DescribeBackupStreamListResponse) => void
1943
+ ): Promise<DescribeBackupStreamListResponse> {
1944
+ return this.request("DescribeBackupStreamList", req, cb)
1945
+ }
1946
+
1904
1947
  /**
1905
1948
  * 取消直播流设置的延时配置,恢复实时直播画面。
1906
1949
  */
@@ -73,17 +73,18 @@ export interface DeleteLiveRecordTemplateRequest {
73
73
  export type DescribeLiveTranscodeTemplatesRequest = null
74
74
 
75
75
  /**
76
- * DescribeLiveStreamMonitorList请求参数结构体
76
+ * DescribeBackupStreamList返回参数结构体
77
77
  */
78
- export interface DescribeLiveStreamMonitorListRequest {
78
+ export interface DescribeBackupStreamListResponse {
79
79
  /**
80
- * 查询列表时的起始偏移。
80
+ * 主备流分组信息列表。
81
+ 注意:此字段可能返回 null,表示取不到有效值。
81
82
  */
82
- Index: number
83
+ StreamInfoList?: Array<BackupStreamGroupInfo>
83
84
  /**
84
- * 本次查询的记录个数。最小值为1
85
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
85
86
  */
86
- Count: number
87
+ RequestId?: string
87
88
  }
88
89
 
89
90
  /**
@@ -866,6 +867,26 @@ export type DescribeLiveWatermarksRequest = null
866
867
  */
867
868
  export type DescribeLiveWatermarkRulesRequest = null
868
869
 
870
+ /**
871
+ * EnableOptimalSwitching请求参数结构体
872
+ */
873
+ export interface EnableOptimalSwitchingRequest {
874
+ /**
875
+ * 针对该流 ID 启用择优调度。
876
+ */
877
+ StreamName: string
878
+ /**
879
+ * 启用开关,默认为启用。
880
+ 0 - 禁用。
881
+ 1 - 启用。
882
+ */
883
+ EnableSwitch?: number
884
+ /**
885
+ * 要启用自动择优的流所属的域名分组名称。
886
+ */
887
+ HostGroupName?: string
888
+ }
889
+
869
890
  /**
870
891
  * 获取省份/运营商的播放信息。
871
892
  */
@@ -1980,6 +2001,20 @@ export interface DescribeLiveDomainPlayInfoListResponse {
1980
2001
  RequestId?: string
1981
2002
  }
1982
2003
 
2004
+ /**
2005
+ * DescribeLiveStreamMonitorList请求参数结构体
2006
+ */
2007
+ export interface DescribeLiveStreamMonitorListRequest {
2008
+ /**
2009
+ * 查询列表时的起始偏移。
2010
+ */
2011
+ Index: number
2012
+ /**
2013
+ * 本次查询的记录个数。最小值为1。
2014
+ */
2015
+ Count: number
2016
+ }
2017
+
1983
2018
  /**
1984
2019
  * HTTP返回码数据信息
1985
2020
  */
@@ -2509,36 +2544,6 @@ export interface PushAuthKeyInfo {
2509
2544
  AuthDelta: number
2510
2545
  }
2511
2546
 
2512
- /**
2513
- * 禁推流列表
2514
- */
2515
- export interface ForbidStreamInfo {
2516
- /**
2517
- * 流名称。
2518
- */
2519
- StreamName?: string
2520
- /**
2521
- * 创建时间。
2522
- 注:此字段为北京时间(UTC+8时区)。
2523
- */
2524
- CreateTime?: string
2525
- /**
2526
- * 禁推过期时间。
2527
- 注:此字段为北京时间(UTC+8时区)。
2528
- */
2529
- ExpireTime?: string
2530
- /**
2531
- * 推流路径。
2532
- 注意:此字段可能返回 null,表示取不到有效值。
2533
- */
2534
- AppName?: string
2535
- /**
2536
- * 推流域名。
2537
- 注意:此字段可能返回 null,表示取不到有效值。
2538
- */
2539
- DomainName?: string
2540
- }
2541
-
2542
2547
  /**
2543
2548
  * DescribeLivePlayAuthKey请求参数结构体
2544
2549
  */
@@ -3178,6 +3183,16 @@ UTC格式时间,例如:2019-01-08T10:00:00Z。
3178
3183
  Status: string
3179
3184
  }
3180
3185
 
3186
+ /**
3187
+ * DescribeBackupStreamList请求参数结构体
3188
+ */
3189
+ export interface DescribeBackupStreamListRequest {
3190
+ /**
3191
+ * 流名称,用于精确查询。
3192
+ */
3193
+ StreamName?: string
3194
+ }
3195
+
3181
3196
  /**
3182
3197
  * DescribeDeliverLogDownList请求参数结构体
3183
3198
  */
@@ -3357,6 +3372,34 @@ export interface DescribeScreenshotTaskRequest {
3357
3372
  ScrollToken?: string
3358
3373
  }
3359
3374
 
3375
+ /**
3376
+ * 主备流分组信息。
3377
+ */
3378
+ export interface BackupStreamGroupInfo {
3379
+ /**
3380
+ * 流名称。
3381
+ 注意:此字段可能返回 null,表示取不到有效值。
3382
+ */
3383
+ StreamName?: string
3384
+ /**
3385
+ * 主备流信息。
3386
+ 注意:此字段可能返回 null,表示取不到有效值。
3387
+ */
3388
+ BackupList?: Array<BackupStreamDetailData>
3389
+ /**
3390
+ * 是否对该流开启了择优调度。
3391
+ 0 - 未开启。
3392
+ 1 - 已开启。
3393
+ 注意:此字段可能返回 null,表示取不到有效值。
3394
+ */
3395
+ OptimalEnable?: number
3396
+ /**
3397
+ * 域名分组的分组名称。
3398
+ 注意:此字段可能返回 null,表示取不到有效值。
3399
+ */
3400
+ HostGroupName?: string
3401
+ }
3402
+
3360
3403
  /**
3361
3404
  * 截图任务
3362
3405
  */
@@ -3971,6 +4014,28 @@ export interface CancelCommonMixStreamRequest {
3971
4014
  MixStreamSessionId: string
3972
4015
  }
3973
4016
 
4017
+ /**
4018
+ * SwitchBackupStream请求参数结构体
4019
+ */
4020
+ export interface SwitchBackupStreamRequest {
4021
+ /**
4022
+ * 推流域名。
4023
+ */
4024
+ PushDomainName: string
4025
+ /**
4026
+ * 应用名称。
4027
+ */
4028
+ AppName: string
4029
+ /**
4030
+ * 流名称。
4031
+ */
4032
+ StreamName: string
4033
+ /**
4034
+ * 查询接口获取到该流所有在推的上行 Sequence。指定要切到的目标上行 Sequence。
4035
+ */
4036
+ UpstreamSequence: string
4037
+ }
4038
+
3974
4039
  /**
3975
4040
  * DeleteLiveStreamMonitor请求参数结构体
3976
4041
  */
@@ -4686,6 +4751,16 @@ export interface DelayInfo {
4686
4751
  Status: number
4687
4752
  }
4688
4753
 
4754
+ /**
4755
+ * EnableOptimalSwitching返回参数结构体
4756
+ */
4757
+ export interface EnableOptimalSwitchingResponse {
4758
+ /**
4759
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4760
+ */
4761
+ RequestId?: string
4762
+ }
4763
+
4689
4764
  /**
4690
4765
  * DescribeLiveStreamMonitor请求参数结构体
4691
4766
  */
@@ -8007,6 +8082,44 @@ export interface DescribeLiveTimeShiftBillInfoListRequest {
8007
8082
  PushDomains?: Array<string>
8008
8083
  }
8009
8084
 
8085
+ /**
8086
+ * 录制任务
8087
+ */
8088
+ export interface RecordTask {
8089
+ /**
8090
+ * 录制任务ID。
8091
+ */
8092
+ TaskId: string
8093
+ /**
8094
+ * 推流域名。
8095
+ */
8096
+ DomainName: string
8097
+ /**
8098
+ * 推流路径。
8099
+ */
8100
+ AppName: string
8101
+ /**
8102
+ * 流名称。
8103
+ */
8104
+ StreamName: string
8105
+ /**
8106
+ * 任务开始时间,Unix时间戳。
8107
+ */
8108
+ StartTime: number
8109
+ /**
8110
+ * 任务结束时间,Unix时间戳。
8111
+ */
8112
+ EndTime: number
8113
+ /**
8114
+ * 录制模板ID。
8115
+ */
8116
+ TemplateId: number
8117
+ /**
8118
+ * 调用 StopRecordTask 停止任务时间,Unix时间戳。值为0表示未曾调用接口停止任务。
8119
+ */
8120
+ Stopped: number
8121
+ }
8122
+
8010
8123
  /**
8011
8124
  * 某条流的推流质量详情数据。
8012
8125
  */
@@ -8386,6 +8499,16 @@ export interface DeleteLiveTimeShiftTemplateRequest {
8386
8499
  TemplateId: number
8387
8500
  }
8388
8501
 
8502
+ /**
8503
+ * SwitchBackupStream返回参数结构体
8504
+ */
8505
+ export interface SwitchBackupStreamResponse {
8506
+ /**
8507
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8508
+ */
8509
+ RequestId?: string
8510
+ }
8511
+
8389
8512
  /**
8390
8513
  * 下行播放统计指标
8391
8514
  */
@@ -9192,6 +9315,49 @@ export interface ModifyLivePadTemplateRequest {
9192
9315
  Type?: number
9193
9316
  }
9194
9317
 
9318
+ /**
9319
+ * 主备流详细信息。
9320
+ */
9321
+ export interface BackupStreamDetailData {
9322
+ /**
9323
+ * 推流域名。
9324
+ 注意:此字段可能返回 null,表示取不到有效值。
9325
+ */
9326
+ DomainName?: string
9327
+ /**
9328
+ * 推流路径。
9329
+ 注意:此字段可能返回 null,表示取不到有效值。
9330
+ */
9331
+ AppName?: string
9332
+ /**
9333
+ * UTC 格式,例如:2018-06-29T19:00:00Z。
9334
+ 注意:和北京时间相差8小时。
9335
+ 注意:此字段可能返回 null,表示取不到有效值。
9336
+ */
9337
+ PublishTime?: string
9338
+ /**
9339
+ * 推流唯一标识。
9340
+ 注意:此字段可能返回 null,表示取不到有效值。
9341
+ */
9342
+ UpstreamSequence?: string
9343
+ /**
9344
+ * 推流来源。示例:
9345
+ 直推流;
9346
+ 拉流转推(1234);
9347
+ 注意:拉流转推来源括号中为拉流转推的任务
9348
+ ID。
9349
+ 注意:此字段可能返回 null,表示取不到有效值。
9350
+ */
9351
+ SourceFrom?: string
9352
+ /**
9353
+ * 主备标识。
9354
+ 当前流为主流:1,
9355
+ 当前流为备流: 0。
9356
+ 注意:此字段可能返回 null,表示取不到有效值。
9357
+ */
9358
+ MasterFlag?: number
9359
+ }
9360
+
9195
9361
  /**
9196
9362
  * CreateLiveSnapshotTemplate请求参数结构体
9197
9363
  */
@@ -9395,41 +9561,33 @@ export interface StopScreenshotTaskResponse {
9395
9561
  }
9396
9562
 
9397
9563
  /**
9398
- * 录制任务
9564
+ * 禁推流列表
9399
9565
  */
9400
- export interface RecordTask {
9401
- /**
9402
- * 录制任务ID。
9403
- */
9404
- TaskId: string
9405
- /**
9406
- * 推流域名。
9407
- */
9408
- DomainName: string
9409
- /**
9410
- * 推流路径。
9411
- */
9412
- AppName: string
9566
+ export interface ForbidStreamInfo {
9413
9567
  /**
9414
9568
  * 流名称。
9415
9569
  */
9416
- StreamName: string
9570
+ StreamName?: string
9417
9571
  /**
9418
- * 任务开始时间,Unix时间戳。
9572
+ * 创建时间。
9573
+ 注:此字段为北京时间(UTC+8时区)。
9419
9574
  */
9420
- StartTime: number
9575
+ CreateTime?: string
9421
9576
  /**
9422
- * 任务结束时间,Unix时间戳。
9577
+ * 禁推过期时间。
9578
+ 注:此字段为北京时间(UTC+8时区)。
9423
9579
  */
9424
- EndTime: number
9580
+ ExpireTime?: string
9425
9581
  /**
9426
- * 录制模板ID。
9582
+ * 推流路径。
9583
+ 注意:此字段可能返回 null,表示取不到有效值。
9427
9584
  */
9428
- TemplateId: number
9585
+ AppName?: string
9429
9586
  /**
9430
- * 调用 StopRecordTask 停止任务时间,Unix时间戳。值为0表示未曾调用接口停止任务。
9587
+ * 推流域名。
9588
+ 注意:此字段可能返回 null,表示取不到有效值。
9431
9589
  */
9432
- Stopped: number
9590
+ DomainName?: string
9433
9591
  }
9434
9592
 
9435
9593
  /**