tencentcloud-sdk-nodejs-live 4.0.978 → 4.0.981

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.
@@ -159,6 +159,14 @@ class Client extends TencentCloudCommon.AbstractClient {
159
159
  async DescribeLiveSnapshotRules(req, cb) {
160
160
  return this.request("DescribeLiveSnapshotRules", req, cb);
161
161
  }
162
+ /**
163
+ * 调用该接口,释放导播台实例,但保留所有的配置。
164
+ 执行该接口,预监与主监画面停止,第三方推流停止。
165
+ 点播文件与直播地址将停止展示,客户自行推到导播台的流需要手动停止。
166
+ */
167
+ async ReleaseCaster(req, cb) {
168
+ return this.request("ReleaseCaster", req, cb);
169
+ }
162
170
  /**
163
171
  * 查询某个时间范围内所有时移流列表。最大支持查询24小时内的数据。
164
172
  */
@@ -166,10 +174,10 @@ class Client extends TencentCloudCommon.AbstractClient {
166
174
  return this.request("DescribeTimeShiftStreamList", req, cb);
167
175
  }
168
176
  /**
169
- * 删除转码模板。
177
+ * 该接口用来向导播台中添加一个输入源,该输入源可以是拉流地址、或是一个文件链接
170
178
  */
171
- async DeleteLiveTranscodeTemplate(req, cb) {
172
- return this.request("DeleteLiveTranscodeTemplate", req, cb);
179
+ async AddCasterInputInfo(req, cb) {
180
+ return this.request("AddCasterInputInfo", req, cb);
173
181
  }
174
182
  /**
175
183
  * 创建直播垫片模板。
@@ -190,12 +198,25 @@ class Client extends TencentCloudCommon.AbstractClient {
190
198
  async DescribeLiveDomainReferer(req, cb) {
191
199
  return this.request("DescribeLiveDomainReferer", req, cb);
192
200
  }
201
+ /**
202
+ * 获取单个转码模板。
203
+ */
204
+ async DescribeLiveTranscodeTemplate(req, cb) {
205
+ return this.request("DescribeLiveTranscodeTemplate", req, cb);
206
+ }
193
207
  /**
194
208
  * 支持直播时移写入量数据查询。
195
209
  */
196
210
  async DescribeLiveTimeShiftWriteSizeInfoList(req, cb) {
197
211
  return this.request("DescribeLiveTimeShiftWriteSizeInfoList", req, cb);
198
212
  }
213
+ /**
214
+ * 设置直播域名 Referer 黑白名单。
215
+ 由于 Referer 信息包含在 http 协议中,在开启配置后,播放协议为 rtmp 或 WebRTC 不会校验 Referer 配置,仍可正常播放。如需配置 Referer 鉴权建议使用 http-flv 或 http-hls 协议播放。
216
+ */
217
+ async ModifyLiveDomainReferer(req, cb) {
218
+ return this.request("ModifyLiveDomainReferer", req, cb);
219
+ }
199
220
  /**
200
221
  * 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
201
222
  查询某段时间top n客户端ip汇总信息(暂支持top 1000)
@@ -204,10 +225,16 @@ class Client extends TencentCloudCommon.AbstractClient {
204
225
  return this.request("DescribeTopClientIpSumInfoList", req, cb);
205
226
  }
206
227
  /**
207
- * 修改直播拉流配置的状态。该接口已下线,请使用新接口 ModifyLivePullStreamTask。
228
+ * 该接口用来生成导播台推流地址
208
229
  */
209
- async ModifyPullStreamStatus(req, cb) {
210
- return this.request("ModifyPullStreamStatus", req, cb);
230
+ async CreateCasterInputPushUrl(req, cb) {
231
+ return this.request("CreateCasterInputPushUrl", req, cb);
232
+ }
233
+ /**
234
+ * 该接口用来查询某个导播台的推流信息列表。
235
+ */
236
+ async DescribeCasterOutputInfos(req, cb) {
237
+ return this.request("DescribeCasterOutputInfos", req, cb);
211
238
  }
212
239
  /**
213
240
  * 创建一个在指定时间启动、结束的截图任务,并使用指定截图模板ID对应的配置进行截图。
@@ -251,6 +278,12 @@ class Client extends TencentCloudCommon.AbstractClient {
251
278
  async ModifyLiveRecordTemplate(req, cb) {
252
279
  return this.request("ModifyLiveRecordTemplate", req, cb);
253
280
  }
281
+ /**
282
+ * 该接口用来增加导播台的布局参数。
283
+ */
284
+ async AddCasterLayoutInfo(req, cb) {
285
+ return this.request("AddCasterLayoutInfo", req, cb);
286
+ }
254
287
  /**
255
288
  * 获取域名证书信息。
256
289
  */
@@ -269,6 +302,18 @@ class Client extends TencentCloudCommon.AbstractClient {
269
302
  async DescribeAreaBillBandwidthAndFluxList(req, cb) {
270
303
  return this.request("DescribeAreaBillBandwidthAndFluxList", req, cb);
271
304
  }
305
+ /**
306
+ * 该接口用来停止导播台的预监任务。
307
+ */
308
+ async StopCasterPvw(req, cb) {
309
+ return this.request("StopCasterPvw", req, cb);
310
+ }
311
+ /**
312
+ * 该接口用来将布局信息从导播台中删除
313
+ */
314
+ async DeleteCasterLayoutInfo(req, cb) {
315
+ return this.request("DeleteCasterLayoutInfo", req, cb);
316
+ }
272
317
  /**
273
318
  * 删除水印规则
274
319
  */
@@ -355,10 +400,10 @@ class Client extends TencentCloudCommon.AbstractClient {
355
400
  return this.request("DescribeLiveRecordTemplate", req, cb);
356
401
  }
357
402
  /**
358
- * 获取单个转码模板。
403
+ * 获取单个直播垫片模板
359
404
  */
360
- async DescribeLiveTranscodeTemplate(req, cb) {
361
- return this.request("DescribeLiveTranscodeTemplate", req, cb);
405
+ async DescribeLivePadTemplate(req, cb) {
406
+ return this.request("DescribeLivePadTemplate", req, cb);
362
407
  }
363
408
  /**
364
409
  * 提前结束截图,中止运行中的截图任务。任务被成功终止后,本次任务将不再启动。
@@ -513,10 +558,10 @@ class Client extends TencentCloudCommon.AbstractClient {
513
558
  return this.request("DescribeDeliverLogDownList", req, cb);
514
559
  }
515
560
  /**
516
- * 根据域名状态、类型等信息查询用户的域名信息。
561
+ * 该接口用来启动主监任务,并将获取主监画面的播放地址。
517
562
  */
518
- async DescribeLiveDomains(req, cb) {
519
- return this.request("DescribeLiveDomains", req, cb);
563
+ async CreateCasterPgm(req, cb) {
564
+ return this.request("CreateCasterPgm", req, cb);
520
565
  }
521
566
  /**
522
567
  * 更新直播拉流任务。
@@ -539,6 +584,25 @@ class Client extends TencentCloudCommon.AbstractClient {
539
584
  async CreateLiveCallbackTemplate(req, cb) {
540
585
  return this.request("CreateLiveCallbackTemplate", req, cb);
541
586
  }
587
+ /**
588
+ * 根据域名状态、类型等信息查询用户的域名信息。
589
+ */
590
+ async DescribeLiveDomains(req, cb) {
591
+ return this.request("DescribeLiveDomains", req, cb);
592
+ }
593
+ /**
594
+ * 该接口用来修改导播台的推流信息。
595
+ 注:只有在主监启动前设置才生效,主监启动后设置,下次推流生效。
596
+ */
597
+ async ModifyCasterOutputInfo(req, cb) {
598
+ return this.request("ModifyCasterOutputInfo", req, cb);
599
+ }
600
+ /**
601
+ * 该接口用来启动预监任务,并将获取预监画面的播放地址。
602
+ */
603
+ async CreateCasterPvw(req, cb) {
604
+ return this.request("CreateCasterPvw", req, cb);
605
+ }
542
606
  /**
543
607
  * 恢复某条流的推流。
544
608
  */
@@ -564,11 +628,10 @@ class Client extends TencentCloudCommon.AbstractClient {
564
628
  return this.request("ModifyLiveCallbackTemplate", req, cb);
565
629
  }
566
630
  /**
567
- * 查询使用 CreateLivePullStreamTask 接口创建的直播拉流任务。
568
- 排序方式:默认按更新时间 倒序排列。
569
- */
570
- async DescribeLivePullStreamTasks(req, cb) {
571
- return this.request("DescribeLivePullStreamTasks", req, cb);
631
+ * 删除直播时移模板。
632
+ */
633
+ async DeleteLiveTimeShiftTemplate(req, cb) {
634
+ return this.request("DeleteLiveTimeShiftTemplate", req, cb);
572
635
  }
573
636
  /**
574
637
  * 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
@@ -590,6 +653,12 @@ class Client extends TencentCloudCommon.AbstractClient {
590
653
  async DescribeCasterUserStatus(req, cb) {
591
654
  return this.request("DescribeCasterUserStatus", req, cb);
592
655
  }
656
+ /**
657
+ * 该接口用来查询某个导播台的布局列表
658
+ */
659
+ async DescribeCasterLayoutInfos(req, cb) {
660
+ return this.request("DescribeCasterLayoutInfos", req, cb);
661
+ }
593
662
  /**
594
663
  * 查询直播拉流任务状态信息。
595
664
  */
@@ -652,10 +721,10 @@ class Client extends TencentCloudCommon.AbstractClient {
652
721
  return this.request("DeleteCaster", req, cb);
653
722
  }
654
723
  /**
655
- * 获取单个直播垫片模板
724
+ * 删除转码模板。
656
725
  */
657
- async DescribeLivePadTemplate(req, cb) {
658
- return this.request("DescribeLivePadTemplate", req, cb);
726
+ async DeleteLiveTranscodeTemplate(req, cb) {
727
+ return this.request("DeleteLiveTranscodeTemplate", req, cb);
659
728
  }
660
729
  /**
661
730
  * 接口用来查询直播增值业务--截图的张数
@@ -688,6 +757,12 @@ class Client extends TencentCloudCommon.AbstractClient {
688
757
  async DescribeLogDownloadList(req, cb) {
689
758
  return this.request("DescribeLogDownloadList", req, cb);
690
759
  }
760
+ /**
761
+ * 获取直播时移模板。
762
+ */
763
+ async DescribeLiveTimeShiftTemplates(req, cb) {
764
+ return this.request("DescribeLiveTimeShiftTemplates", req, cb);
765
+ }
691
766
  /**
692
767
  * 获取录制规则列表
693
768
  */
@@ -695,10 +770,23 @@ class Client extends TencentCloudCommon.AbstractClient {
695
770
  return this.request("DescribeLiveRecordRules", req, cb);
696
771
  }
697
772
  /**
698
- * 获取直播时移模板。
773
+ * 该接口用来删除导播台的推流信息。
774
+ 注:若删除推流到腾讯云直播源站配置,即OutputIndex为0,OutputType为1的推流配置,在重新启动主监后,系统会自动重新生成一个推流到腾讯云直播源站配置。
775
+ */
776
+ async DeleteCasterOutputInfo(req, cb) {
777
+ return this.request("DeleteCasterOutputInfo", req, cb);
778
+ }
779
+ /**
780
+ * 该接口用来修改布局参数
699
781
  */
700
- async DescribeLiveTimeShiftTemplates(req, cb) {
701
- return this.request("DescribeLiveTimeShiftTemplates", req, cb);
782
+ async ModifyCasterLayoutInfo(req, cb) {
783
+ return this.request("ModifyCasterLayoutInfo", req, cb);
784
+ }
785
+ /**
786
+ * 该接口用来新增导播台推流信息。导播台主监启动后,将会将主监画面推向该接口设置的地址。
787
+ */
788
+ async AddCasterOutputInfo(req, cb) {
789
+ return this.request("AddCasterOutputInfo", req, cb);
702
790
  }
703
791
  /**
704
792
  * P2P流数据查询接口,用来获取流量、卡播和起播信息。
@@ -813,6 +901,12 @@ class Client extends TencentCloudCommon.AbstractClient {
813
901
  async AddLiveDomain(req, cb) {
814
902
  return this.request("AddLiveDomain", req, cb);
815
903
  }
904
+ /**
905
+ * 修改直播拉流配置的状态。该接口已下线,请使用新接口 ModifyLivePullStreamTask。
906
+ */
907
+ async ModifyPullStreamStatus(req, cb) {
908
+ return this.request("ModifyPullStreamStatus", req, cb);
909
+ }
816
910
  /**
817
911
  * 查询直播转推计费带宽,查询时间范围最大支持3个月内的数据,时间跨度最长31天。
818
912
  */
@@ -914,15 +1008,10 @@ class Client extends TencentCloudCommon.AbstractClient {
914
1008
  return this.request("RestartLivePullStreamTask", req, cb);
915
1009
  }
916
1010
  /**
917
- * 创建临时拉流转推任务,目前限制添加10条任务。
918
- 该接口已下线,请使用新接口 CreateLivePullStreamTask。
919
-
920
- 注意:该接口用于创建临时拉流转推任务,
921
- 拉流源地址即 FromUrl 可以是腾讯或非腾讯数据源,
922
- 但转推目标地址即 ToUrl 目前限制为已注册的腾讯直播域名。
923
- */
924
- async CreatePullStreamConfig(req, cb) {
925
- return this.request("CreatePullStreamConfig", req, cb);
1011
+ * 获取直播垫片模板。
1012
+ */
1013
+ async DescribeLivePadTemplates(req, cb) {
1014
+ return this.request("DescribeLivePadTemplates", req, cb);
926
1015
  }
927
1016
  /**
928
1017
  * 获取水印规则列表。
@@ -936,6 +1025,12 @@ class Client extends TencentCloudCommon.AbstractClient {
936
1025
  async DescribeLivePadRules(req, cb) {
937
1026
  return this.request("DescribeLivePadRules", req, cb);
938
1027
  }
1028
+ /**
1029
+ * 该接口用来删除导播台中的输入源信息。
1030
+ */
1031
+ async DeleteCasterInputInfo(req, cb) {
1032
+ return this.request("DeleteCasterInputInfo", req, cb);
1033
+ }
939
1034
  /**
940
1035
  * 注:DeleteLiveRecord 接口仅用于删除录制任务记录,不具备停止录制的功能,也不能删除正在进行中的录制。如果需要停止录制任务,请使用终止录制[StopLiveRecord](/document/product/267/30146) 接口。
941
1036
  */
@@ -975,10 +1070,18 @@ class Client extends TencentCloudCommon.AbstractClient {
975
1070
  return this.request("DescribeCaster", req, cb);
976
1071
  }
977
1072
  /**
978
- * 删除直播时移模板。
979
- */
980
- async DeleteLiveTimeShiftTemplate(req, cb) {
981
- return this.request("DeleteLiveTimeShiftTemplate", req, cb);
1073
+ * 查询使用 CreateLivePullStreamTask 接口创建的直播拉流任务。
1074
+ 排序方式:默认按更新时间 倒序排列。
1075
+ */
1076
+ async DescribeLivePullStreamTasks(req, cb) {
1077
+ return this.request("DescribeLivePullStreamTasks", req, cb);
1078
+ }
1079
+ /**
1080
+ * 该接口用来停止导播台的主监输出。
1081
+ 停止主监后,对应的推流到腾讯云直播源站和推流到其他第三方平台均将会停止。
1082
+ */
1083
+ async StopCasterPgm(req, cb) {
1084
+ return this.request("StopCasterPgm", req, cb);
982
1085
  }
983
1086
  /**
984
1087
  * 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
@@ -1000,6 +1103,13 @@ class Client extends TencentCloudCommon.AbstractClient {
1000
1103
  async DescribeLivePlayAuthKey(req, cb) {
1001
1104
  return this.request("DescribeLivePlayAuthKey", req, cb);
1002
1105
  }
1106
+ /**
1107
+ * 该接口用来将预监画面的布局、水印、字幕等配置,复制到主监画面中。
1108
+ 该接口使用时,预监任务需处于运行状态。
1109
+ */
1110
+ async CreateCasterPgmFromPvw(req, cb) {
1111
+ return this.request("CreateCasterPgmFromPvw", req, cb);
1112
+ }
1003
1113
  /**
1004
1114
  * 该接口用来获取所有的转场名称及其对应的素材url。
1005
1115
  */
@@ -1040,11 +1150,10 @@ class Client extends TencentCloudCommon.AbstractClient {
1040
1150
  return this.request("DescribeLiveStreamState", req, cb);
1041
1151
  }
1042
1152
  /**
1043
- * 设置直播域名 Referer 黑白名单。
1044
- 由于 Referer 信息包含在 http 协议中,在开启配置后,播放协议为 rtmp 或 WebRTC 不会校验 Referer 配置,仍可正常播放。如需配置 Referer 鉴权建议使用 http-flv 或 http-hls 协议播放。
1045
- */
1046
- async ModifyLiveDomainReferer(req, cb) {
1047
- return this.request("ModifyLiveDomainReferer", req, cb);
1153
+ * 该接口用来查询导播台的输入源信息列表。
1154
+ */
1155
+ async DescribeCasterInputInfos(req, cb) {
1156
+ return this.request("DescribeCasterInputInfos", req, cb);
1048
1157
  }
1049
1158
  /**
1050
1159
  * 删除录制模板。
@@ -1058,6 +1167,13 @@ class Client extends TencentCloudCommon.AbstractClient {
1058
1167
  async CopyCaster(req, cb) {
1059
1168
  return this.request("CopyCaster", req, cb);
1060
1169
  }
1170
+ /**
1171
+ * 该接口用来修改已经设置过的输入源信息,如源地址,源类型等。
1172
+ 设置前,需保证待修改的输入源已经存在。若不存在,需使用AddCasterInputInfo接口。
1173
+ */
1174
+ async ModifyCasterInputInfo(req, cb) {
1175
+ return this.request("ModifyCasterInputInfo", req, cb);
1176
+ }
1061
1177
  /**
1062
1178
  * 返回正在直播中的流列表。适用于推流成功后查询在线流信息。
1063
1179
 
@@ -1133,10 +1249,15 @@ class Client extends TencentCloudCommon.AbstractClient {
1133
1249
  return this.request("DescribeLivePackageInfo", req, cb);
1134
1250
  }
1135
1251
  /**
1136
- * 获取直播垫片模板。
1137
- */
1138
- async DescribeLivePadTemplates(req, cb) {
1139
- return this.request("DescribeLivePadTemplates", req, cb);
1252
+ * 创建临时拉流转推任务,目前限制添加10条任务。
1253
+ 该接口已下线,请使用新接口 CreateLivePullStreamTask。
1254
+
1255
+ 注意:该接口用于创建临时拉流转推任务,
1256
+ 拉流源地址即 FromUrl 可以是腾讯或非腾讯数据源,
1257
+ 但转推目标地址即 ToUrl 目前限制为已注册的腾讯直播域名。
1258
+ */
1259
+ async CreatePullStreamConfig(req, cb) {
1260
+ return this.request("CreatePullStreamConfig", req, cb);
1140
1261
  }
1141
1262
  /**
1142
1263
  * 查询转码任务数。