tencentcloud-sdk-nodejs-live 4.1.196 → 4.1.200
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.
|
@@ -35,11 +35,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
35
35
|
return this.request("DescribeCasterList", req, cb);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return this.request("DropLiveStream", req, cb);
|
|
38
|
+
* 调用该接口,查询数字人直播间话术信息列表。
|
|
39
|
+
*/
|
|
40
|
+
async DescribeLiveAvatarScripts(req, cb) {
|
|
41
|
+
return this.request("DescribeLiveAvatarScripts", req, cb);
|
|
43
42
|
}
|
|
44
43
|
/**
|
|
45
44
|
* 查询水印列表。
|
|
@@ -107,6 +106,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
107
106
|
async CreateLiveWatermarkRule(req, cb) {
|
|
108
107
|
return this.request("CreateLiveWatermarkRule", req, cb);
|
|
109
108
|
}
|
|
109
|
+
/**
|
|
110
|
+
* 断开推流连接,但可以重新推流。
|
|
111
|
+
注:对已经不活跃的流,调用该断流接口时,接口返回成功。
|
|
112
|
+
*/
|
|
113
|
+
async DropLiveStream(req, cb) {
|
|
114
|
+
return this.request("DropLiveStream", req, cb);
|
|
115
|
+
}
|
|
110
116
|
/**
|
|
111
117
|
* 用于查询推断流事件。<br>
|
|
112
118
|
|
|
@@ -165,6 +171,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
165
171
|
async DescribeLiveSnapshotRules(req, cb) {
|
|
166
172
|
return this.request("DescribeLiveSnapshotRules", req, cb);
|
|
167
173
|
}
|
|
174
|
+
/**
|
|
175
|
+
* 调用该接口,用于启动数字人直播间。
|
|
176
|
+
*/
|
|
177
|
+
async StartLiveAvatarRoom(req, cb) {
|
|
178
|
+
return this.request("StartLiveAvatarRoom", req, cb);
|
|
179
|
+
}
|
|
168
180
|
/**
|
|
169
181
|
* 使用该接口查询云端特效列表,特效列表中包含一部分官方精品特效,同时包含用户自定义生成的特效。
|
|
170
182
|
*/
|
|
@@ -272,6 +284,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
272
284
|
async DescribeLiveRecordTemplates(req, cb) {
|
|
273
285
|
return this.request("DescribeLiveRecordTemplates", req, cb);
|
|
274
286
|
}
|
|
287
|
+
/**
|
|
288
|
+
* 调用该接口,用于停止数字人直播间。
|
|
289
|
+
*/
|
|
290
|
+
async StopLiveAvatarRoom(req, cb) {
|
|
291
|
+
return this.request("StopLiveAvatarRoom", req, cb);
|
|
292
|
+
}
|
|
275
293
|
/**
|
|
276
294
|
* 该接口用来停止直播流监播任务。
|
|
277
295
|
*/
|
|
@@ -417,6 +435,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
417
435
|
async DeletePullStreamConfig(req, cb) {
|
|
418
436
|
return this.request("DeletePullStreamConfig", req, cb);
|
|
419
437
|
}
|
|
438
|
+
/**
|
|
439
|
+
* 该接口用来修改布局参数
|
|
440
|
+
*/
|
|
441
|
+
async ModifyCasterLayoutInfo(req, cb) {
|
|
442
|
+
return this.request("ModifyCasterLayoutInfo", req, cb);
|
|
443
|
+
}
|
|
420
444
|
/**
|
|
421
445
|
* 前提调用 DescribeTimeShiftStreamList 获得请求必要参数。查询指定范围内的时移流录制详情,最大支持24小时范围查询。
|
|
422
446
|
*/
|
|
@@ -466,10 +490,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
466
490
|
return this.request("DescribeLiveStreamMonitor", req, cb);
|
|
467
491
|
}
|
|
468
492
|
/**
|
|
469
|
-
*
|
|
493
|
+
* 使用该接口查询云端特效配置信息。
|
|
470
494
|
*/
|
|
471
|
-
async
|
|
472
|
-
return this.request("
|
|
495
|
+
async DescribeLiveCloudEffectConfig(req, cb) {
|
|
496
|
+
return this.request("DescribeLiveCloudEffectConfig", req, cb);
|
|
473
497
|
}
|
|
474
498
|
/**
|
|
475
499
|
* 使用该接口发送云端特效到线上正活跃的直播流,观众可在播放端看到特效从直播流画面中展示。
|
|
@@ -573,6 +597,13 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
573
597
|
async DeleteLivePullStreamTask(req, cb) {
|
|
574
598
|
return this.request("DeleteLivePullStreamTask", req, cb);
|
|
575
599
|
}
|
|
600
|
+
/**
|
|
601
|
+
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
602
|
+
支持查询某天或某段时间的转码详细信息。由于转码数据量较大,如果查询时间跨度太长可能会拉不到数据,可以尝试将查询时间范围缩小些再重试。
|
|
603
|
+
*/
|
|
604
|
+
async DescribeLiveTranscodeDetailInfo(req, cb) {
|
|
605
|
+
return this.request("DescribeLiveTranscodeDetailInfo", req, cb);
|
|
606
|
+
}
|
|
576
607
|
/**
|
|
577
608
|
* 修改直播垫片模板。
|
|
578
609
|
*/
|
|
@@ -585,6 +616,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
585
616
|
async DescribeLiveWatermark(req, cb) {
|
|
586
617
|
return this.request("DescribeLiveWatermark", req, cb);
|
|
587
618
|
}
|
|
619
|
+
/**
|
|
620
|
+
* 调用该接口,用于修改数字人直播间。
|
|
621
|
+
*/
|
|
622
|
+
async ModifyLiveAvatarRoom(req, cb) {
|
|
623
|
+
return this.request("ModifyLiveAvatarRoom", req, cb);
|
|
624
|
+
}
|
|
588
625
|
/**
|
|
589
626
|
* 获取证书信息
|
|
590
627
|
*/
|
|
@@ -686,6 +723,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
686
723
|
async DeleteLiveDomain(req, cb) {
|
|
687
724
|
return this.request("DeleteLiveDomain", req, cb);
|
|
688
725
|
}
|
|
726
|
+
/**
|
|
727
|
+
* 调用该接口,用于修改数字人直播间话术。
|
|
728
|
+
*/
|
|
729
|
+
async ModifyLiveAvatarScript(req, cb) {
|
|
730
|
+
return this.request("ModifyLiveAvatarScript", req, cb);
|
|
731
|
+
}
|
|
689
732
|
/**
|
|
690
733
|
* 修改回调模板。
|
|
691
734
|
*/
|
|
@@ -718,10 +761,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
718
761
|
return this.request("DescribePullTransformPushInfoList", req, cb);
|
|
719
762
|
}
|
|
720
763
|
/**
|
|
721
|
-
*
|
|
764
|
+
* 该接口用来创建新的导播台
|
|
722
765
|
*/
|
|
723
|
-
async
|
|
724
|
-
return this.request("
|
|
766
|
+
async CreateCaster(req, cb) {
|
|
767
|
+
return this.request("CreateCaster", req, cb);
|
|
725
768
|
}
|
|
726
769
|
/**
|
|
727
770
|
* 该接口用来查询某个导播台的布局列表
|
|
@@ -735,6 +778,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
735
778
|
async DescribeLivePullStreamTaskStatus(req, cb) {
|
|
736
779
|
return this.request("DescribeLivePullStreamTaskStatus", req, cb);
|
|
737
780
|
}
|
|
781
|
+
/**
|
|
782
|
+
* 调用该接口实现切换当前播放所使用的主备流。
|
|
783
|
+
*/
|
|
784
|
+
async SwitchBackupStream(req, cb) {
|
|
785
|
+
return this.request("SwitchBackupStream", req, cb);
|
|
786
|
+
}
|
|
738
787
|
/**
|
|
739
788
|
* 获取单个截图模板。
|
|
740
789
|
*/
|
|
@@ -815,11 +864,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
815
864
|
return this.request("DeleteRecordTask", req, cb);
|
|
816
865
|
}
|
|
817
866
|
/**
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
return this.request("DescribeLiveTranscodeDetailInfo", req, cb);
|
|
867
|
+
* 调用该接口,获取可用的数字人形象信息列表。包括官方预制形象,以及个人定制形象。
|
|
868
|
+
*/
|
|
869
|
+
async DescribeLiveAvatarImageList(req, cb) {
|
|
870
|
+
return this.request("DescribeLiveAvatarImageList", req, cb);
|
|
823
871
|
}
|
|
824
872
|
/**
|
|
825
873
|
* 批量获取日志URL。
|
|
@@ -827,6 +875,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
827
875
|
async DescribeLogDownloadList(req, cb) {
|
|
828
876
|
return this.request("DescribeLogDownloadList", req, cb);
|
|
829
877
|
}
|
|
878
|
+
/**
|
|
879
|
+
* 调用该接口,用于触发话术播报生成,并返回音频播报URL。
|
|
880
|
+
*/
|
|
881
|
+
async GenerateLiveAvatarScriptBroadcast(req, cb) {
|
|
882
|
+
return this.request("GenerateLiveAvatarScriptBroadcast", req, cb);
|
|
883
|
+
}
|
|
830
884
|
/**
|
|
831
885
|
* 获取直播时移模板。
|
|
832
886
|
*/
|
|
@@ -847,10 +901,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
847
901
|
return this.request("DeleteCasterOutputInfo", req, cb);
|
|
848
902
|
}
|
|
849
903
|
/**
|
|
850
|
-
*
|
|
904
|
+
* 调用该接口,用于删除已有的数字人直播间。
|
|
851
905
|
*/
|
|
852
|
-
async
|
|
853
|
-
return this.request("
|
|
906
|
+
async DeleteLiveAvatarRoom(req, cb) {
|
|
907
|
+
return this.request("DeleteLiveAvatarRoom", req, cb);
|
|
854
908
|
}
|
|
855
909
|
/**
|
|
856
910
|
* 该接口用来新增导播台推流信息。导播台主监启动后,将会将主监画面推向该接口设置的地址。
|
|
@@ -894,6 +948,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
894
948
|
async DeleteLivePadRule(req, cb) {
|
|
895
949
|
return this.request("DeleteLivePadRule", req, cb);
|
|
896
950
|
}
|
|
951
|
+
/**
|
|
952
|
+
* 调用该接口,获取可用的数字人背景列表信息列表。根据入参,可返回官方预设背景,以及用户上传背景。
|
|
953
|
+
*/
|
|
954
|
+
async DescribeLiveAvatarBackgroundList(req, cb) {
|
|
955
|
+
return this.request("DescribeLiveAvatarBackgroundList", req, cb);
|
|
956
|
+
}
|
|
897
957
|
/**
|
|
898
958
|
* 创建回调规则,需要先调用[CreateLiveCallbackTemplate](/document/product/267/32637)接口创建回调模板,将返回的模板id绑定到域名/路径进行使用。
|
|
899
959
|
<br>回调协议相关文档:[事件消息通知](/document/product/267/32744)。
|
|
@@ -908,6 +968,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
908
968
|
async DescribeStreamPlayInfoList(req, cb) {
|
|
909
969
|
return this.request("DescribeStreamPlayInfoList", req, cb);
|
|
910
970
|
}
|
|
971
|
+
/**
|
|
972
|
+
* 调用该接口,用于创建数字人直播间话术。
|
|
973
|
+
*/
|
|
974
|
+
async CreateLiveAvatarScript(req, cb) {
|
|
975
|
+
return this.request("CreateLiveAvatarScript", req, cb);
|
|
976
|
+
}
|
|
911
977
|
/**
|
|
912
978
|
* 获取回调规则列表
|
|
913
979
|
*/
|
|
@@ -998,10 +1064,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
998
1064
|
return this.request("DeleteLivePadTemplate", req, cb);
|
|
999
1065
|
}
|
|
1000
1066
|
/**
|
|
1001
|
-
*
|
|
1067
|
+
* 调用该接口,用于创建数字人直播间。
|
|
1002
1068
|
*/
|
|
1003
|
-
async
|
|
1004
|
-
return this.request("
|
|
1069
|
+
async CreateLiveAvatarRoom(req, cb) {
|
|
1070
|
+
return this.request("CreateLiveAvatarRoom", req, cb);
|
|
1005
1071
|
}
|
|
1006
1072
|
/**
|
|
1007
1073
|
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
@@ -1074,6 +1140,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1074
1140
|
async ForbidLiveDomain(req, cb) {
|
|
1075
1141
|
return this.request("ForbidLiveDomain", req, cb);
|
|
1076
1142
|
}
|
|
1143
|
+
/**
|
|
1144
|
+
* 调用该接口,用于复制数字人直播间。
|
|
1145
|
+
*/
|
|
1146
|
+
async CopyLiveAvatarRoom(req, cb) {
|
|
1147
|
+
return this.request("CopyLiveAvatarRoom", req, cb);
|
|
1148
|
+
}
|
|
1077
1149
|
/**
|
|
1078
1150
|
* 创建转码规则,数量上限:50,需要先调用[CreateLiveTranscodeTemplate](/document/product/267/32646)接口创建转码模板,将返回的模板id绑定到流使用。
|
|
1079
1151
|
<br>转码相关文档:[直播转封装及转码](/document/product/267/32736)。
|
|
@@ -1102,12 +1174,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1102
1174
|
async DescribeLivePadTemplates(req, cb) {
|
|
1103
1175
|
return this.request("DescribeLivePadTemplates", req, cb);
|
|
1104
1176
|
}
|
|
1177
|
+
/**
|
|
1178
|
+
* 调用该接口,获取可用的数字人声音信息列表。包括官方预制音色,以及个人复刻音色。
|
|
1179
|
+
*/
|
|
1180
|
+
async DescribeLiveAvatarTimbreList(req, cb) {
|
|
1181
|
+
return this.request("DescribeLiveAvatarTimbreList", req, cb);
|
|
1182
|
+
}
|
|
1105
1183
|
/**
|
|
1106
1184
|
* 修改直播推流鉴权key
|
|
1107
1185
|
*/
|
|
1108
1186
|
async ModifyLivePushAuthKey(req, cb) {
|
|
1109
1187
|
return this.request("ModifyLivePushAuthKey", req, cb);
|
|
1110
1188
|
}
|
|
1189
|
+
/**
|
|
1190
|
+
* 调用该接口,用于查询临时驱动数字人播报话术列表。
|
|
1191
|
+
*/
|
|
1192
|
+
async DescribeLiveAvatarTemporaryScriptList(req, cb) {
|
|
1193
|
+
return this.request("DescribeLiveAvatarTemporaryScriptList", req, cb);
|
|
1194
|
+
}
|
|
1111
1195
|
/**
|
|
1112
1196
|
* 获取水印规则列表。
|
|
1113
1197
|
*/
|
|
@@ -1211,6 +1295,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1211
1295
|
async DescribeCasterTransitionTypes(req, cb) {
|
|
1212
1296
|
return this.request("DescribeCasterTransitionTypes", req, cb);
|
|
1213
1297
|
}
|
|
1298
|
+
/**
|
|
1299
|
+
* 调用该接口,查询数字人直播间信息列表。
|
|
1300
|
+
*/
|
|
1301
|
+
async DescribeLiveAvatarRooms(req, cb) {
|
|
1302
|
+
return this.request("DescribeLiveAvatarRooms", req, cb);
|
|
1303
|
+
}
|
|
1214
1304
|
/**
|
|
1215
1305
|
* 查询导播台PVW任务和PGM任务的展示信息,包括使用的布局、水印、字幕等信息。
|
|
1216
1306
|
*/
|
|
@@ -1224,10 +1314,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1224
1314
|
return this.request("ModifyLiveStreamMonitor", req, cb);
|
|
1225
1315
|
}
|
|
1226
1316
|
/**
|
|
1227
|
-
*
|
|
1317
|
+
* 调用该接口,用于临时驱动数字人播报。
|
|
1228
1318
|
*/
|
|
1229
|
-
async
|
|
1230
|
-
return this.request("
|
|
1319
|
+
async SendTemporaryScriptToAvatarRoom(req, cb) {
|
|
1320
|
+
return this.request("SendTemporaryScriptToAvatarRoom", req, cb);
|
|
1321
|
+
}
|
|
1322
|
+
/**
|
|
1323
|
+
* 本接口用来查询当前APPID导播台业务状态
|
|
1324
|
+
*/
|
|
1325
|
+
async DescribeCasterUserStatus(req, cb) {
|
|
1326
|
+
return this.request("DescribeCasterUserStatus", req, cb);
|
|
1231
1327
|
}
|
|
1232
1328
|
/**
|
|
1233
1329
|
* 返回直播中、无推流或者禁播等状态。
|
|
@@ -1301,10 +1397,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1301
1397
|
return this.request("InsertTaskTemporaryFiles", req, cb);
|
|
1302
1398
|
}
|
|
1303
1399
|
/**
|
|
1304
|
-
*
|
|
1400
|
+
* 调用该接口,用于删除已有的数字人直播间里面的话术。
|
|
1305
1401
|
*/
|
|
1306
|
-
async
|
|
1307
|
-
return this.request("
|
|
1402
|
+
async DeleteLiveAvatarScript(req, cb) {
|
|
1403
|
+
return this.request("DeleteLiveAvatarScript", req, cb);
|
|
1308
1404
|
}
|
|
1309
1405
|
/**
|
|
1310
1406
|
* 创建一个在指定时间启动、结束的录制任务,并使用指定录制模板ID对应的配置进行录制。
|
|
@@ -1375,6 +1471,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
1375
1471
|
async CreatePullStreamConfig(req, cb) {
|
|
1376
1472
|
return this.request("CreatePullStreamConfig", req, cb);
|
|
1377
1473
|
}
|
|
1474
|
+
/**
|
|
1475
|
+
* 取消直播流设置的延时配置,恢复实时直播画面。
|
|
1476
|
+
*/
|
|
1477
|
+
async ResumeDelayLiveStream(req, cb) {
|
|
1478
|
+
return this.request("ResumeDelayLiveStream", req, cb);
|
|
1479
|
+
}
|
|
1378
1480
|
/**
|
|
1379
1481
|
* 使用该接口生成云端特效。特效可用于叠加到直播流上,供播放端观看。
|
|
1380
1482
|
注意:云端特效生成需要一定时间,调用生成接口后,可通过查询接口,获取是否特效已生成。
|