tencentcloud-sdk-nodejs-live 4.1.208 → 4.1.210
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
|
@@ -11,7 +11,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
11
11
|
*/
|
|
12
12
|
DescribeCasterList(req?: DescribeCasterListRequest, cb?: (error: string, rep: DescribeCasterListResponse) => void): Promise<DescribeCasterListResponse>;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* 调用该接口,查询数字人直播间话术信息列表。新增产品ID参数
|
|
15
15
|
*/
|
|
16
16
|
DescribeLiveAvatarScripts(req: DescribeLiveAvatarScriptsRequest, cb?: (error: string, rep: DescribeLiveAvatarScriptsResponse) => void): Promise<DescribeLiveAvatarScriptsResponse>;
|
|
17
17
|
/**
|
|
@@ -112,7 +112,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
112
112
|
*/
|
|
113
113
|
DescribeLiveSnapshotRules(req?: DescribeLiveSnapshotRulesRequest, cb?: (error: string, rep: DescribeLiveSnapshotRulesResponse) => void): Promise<DescribeLiveSnapshotRulesResponse>;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 调用该接口,用于启动数字人(包括AIGC数字人)直播间。
|
|
116
116
|
*/
|
|
117
117
|
StartLiveAvatarRoom(req: StartLiveAvatarRoomRequest, cb?: (error: string, rep: StartLiveAvatarRoomResponse) => void): Promise<StartLiveAvatarRoomResponse>;
|
|
118
118
|
/**
|
|
@@ -419,7 +419,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
419
419
|
*/
|
|
420
420
|
DescribeLiveWatermark(req: DescribeLiveWatermarkRequest, cb?: (error: string, rep: DescribeLiveWatermarkResponse) => void): Promise<DescribeLiveWatermarkResponse>;
|
|
421
421
|
/**
|
|
422
|
-
*
|
|
422
|
+
* 调用该接口,用于修改数字人(包括AIGC数字人)直播间。
|
|
423
423
|
*/
|
|
424
424
|
ModifyLiveAvatarRoom(req: ModifyLiveAvatarRoomRequest, cb?: (error: string, rep: ModifyLiveAvatarRoomResponse) => void): Promise<ModifyLiveAvatarRoomResponse>;
|
|
425
425
|
/**
|
|
@@ -658,7 +658,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
658
658
|
*/
|
|
659
659
|
DescribeStreamPlayInfoList(req: DescribeStreamPlayInfoListRequest, cb?: (error: string, rep: DescribeStreamPlayInfoListResponse) => void): Promise<DescribeStreamPlayInfoListResponse>;
|
|
660
660
|
/**
|
|
661
|
-
*
|
|
661
|
+
* 调用该接口,用于创建数字人直播间/AIGC直播间话术。
|
|
662
662
|
*/
|
|
663
663
|
CreateLiveAvatarScript(req: CreateLiveAvatarScriptRequest, cb?: (error: string, rep: CreateLiveAvatarScriptResponse) => void): Promise<CreateLiveAvatarScriptResponse>;
|
|
664
664
|
/**
|
|
@@ -35,7 +35,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
35
35
|
return this.request("DescribeCasterList", req, cb);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* 调用该接口,查询数字人直播间话术信息列表。新增产品ID参数
|
|
39
39
|
*/
|
|
40
40
|
async DescribeLiveAvatarScripts(req, cb) {
|
|
41
41
|
return this.request("DescribeLiveAvatarScripts", req, cb);
|
|
@@ -172,7 +172,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
172
172
|
return this.request("DescribeLiveSnapshotRules", req, cb);
|
|
173
173
|
}
|
|
174
174
|
/**
|
|
175
|
-
*
|
|
175
|
+
* 调用该接口,用于启动数字人(包括AIGC数字人)直播间。
|
|
176
176
|
*/
|
|
177
177
|
async StartLiveAvatarRoom(req, cb) {
|
|
178
178
|
return this.request("StartLiveAvatarRoom", req, cb);
|
|
@@ -617,7 +617,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
617
617
|
return this.request("DescribeLiveWatermark", req, cb);
|
|
618
618
|
}
|
|
619
619
|
/**
|
|
620
|
-
*
|
|
620
|
+
* 调用该接口,用于修改数字人(包括AIGC数字人)直播间。
|
|
621
621
|
*/
|
|
622
622
|
async ModifyLiveAvatarRoom(req, cb) {
|
|
623
623
|
return this.request("ModifyLiveAvatarRoom", req, cb);
|
|
@@ -970,7 +970,7 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
970
970
|
return this.request("DescribeStreamPlayInfoList", req, cb);
|
|
971
971
|
}
|
|
972
972
|
/**
|
|
973
|
-
*
|
|
973
|
+
* 调用该接口,用于创建数字人直播间/AIGC直播间话术。
|
|
974
974
|
*/
|
|
975
975
|
async CreateLiveAvatarScript(req, cb) {
|
|
976
976
|
return this.request("CreateLiveAvatarScript", req, cb);
|
|
@@ -75,21 +75,25 @@ export interface DescribeLiveWatermarkRulesResponse {
|
|
|
75
75
|
*/
|
|
76
76
|
export interface StartLiveAvatarRoomRequest {
|
|
77
77
|
/**
|
|
78
|
-
*
|
|
78
|
+
* <p>数字人直播间 ID。</p>
|
|
79
79
|
*/
|
|
80
80
|
RoomId: string;
|
|
81
81
|
/**
|
|
82
|
-
*
|
|
82
|
+
* <p>目标地址描述。</p>
|
|
83
83
|
*/
|
|
84
84
|
Comment: string;
|
|
85
85
|
/**
|
|
86
|
-
*
|
|
86
|
+
* <p>推流目标地址。</p>
|
|
87
87
|
*/
|
|
88
88
|
ToUrl: string;
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
90
|
+
* <p>操作者。</p>
|
|
91
91
|
*/
|
|
92
92
|
Operator?: string;
|
|
93
|
+
/**
|
|
94
|
+
* <p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
|
|
95
|
+
*/
|
|
96
|
+
RoomType?: string;
|
|
93
97
|
}
|
|
94
98
|
/**
|
|
95
99
|
* 导播台水印信息。
|
|
@@ -5384,7 +5388,7 @@ export interface UnBindLiveDomainCertResponse {
|
|
|
5384
5388
|
*/
|
|
5385
5389
|
export interface CreateLiveAvatarScriptResponse {
|
|
5386
5390
|
/**
|
|
5387
|
-
*
|
|
5391
|
+
* <p>话术 ID。</p>
|
|
5388
5392
|
*/
|
|
5389
5393
|
ScriptId?: string;
|
|
5390
5394
|
/**
|
|
@@ -6721,15 +6725,15 @@ export interface ConcurrentRecordStreamNum {
|
|
|
6721
6725
|
*/
|
|
6722
6726
|
export interface DescribeLiveAvatarScriptsResponse {
|
|
6723
6727
|
/**
|
|
6724
|
-
*
|
|
6728
|
+
* <p>数字人直播间话术信息列表。</p>
|
|
6725
6729
|
*/
|
|
6726
6730
|
InfoList?: Array<AvatarScriptInfo>;
|
|
6727
6731
|
/**
|
|
6728
|
-
*
|
|
6732
|
+
* <p>限制可创建的数字人直播间话术总条数。</p>
|
|
6729
6733
|
*/
|
|
6730
6734
|
LimitCreateNum?: number;
|
|
6731
6735
|
/**
|
|
6732
|
-
*
|
|
6736
|
+
* <p>当前数字人直播间话术总条数。</p>
|
|
6733
6737
|
*/
|
|
6734
6738
|
TotalNum?: number;
|
|
6735
6739
|
/**
|
|
@@ -11658,55 +11662,53 @@ export interface CreateLiveAvatarRoomResponse {
|
|
|
11658
11662
|
*/
|
|
11659
11663
|
export interface ModifyLiveAvatarRoomRequest {
|
|
11660
11664
|
/**
|
|
11661
|
-
*
|
|
11665
|
+
* <p>数字人直播间 ID。</p>
|
|
11662
11666
|
*/
|
|
11663
11667
|
RoomId: string;
|
|
11664
11668
|
/**
|
|
11665
|
-
*
|
|
11669
|
+
* <p>直播间名称。</p>
|
|
11666
11670
|
*/
|
|
11667
11671
|
Name?: string;
|
|
11668
11672
|
/**
|
|
11669
|
-
*
|
|
11673
|
+
* <p>数字人形象KEY。</p>
|
|
11670
11674
|
*/
|
|
11671
11675
|
AvatarKey?: string;
|
|
11672
11676
|
/**
|
|
11673
|
-
*
|
|
11677
|
+
* <p>音色KEY。</p>
|
|
11674
11678
|
*/
|
|
11675
11679
|
TimbreKey?: string;
|
|
11676
11680
|
/**
|
|
11677
|
-
*
|
|
11681
|
+
* <p>背景图片URL。</p>
|
|
11678
11682
|
*/
|
|
11679
11683
|
BackgroundUrl?: string;
|
|
11680
11684
|
/**
|
|
11681
|
-
*
|
|
11682
|
-
取值范围(0, 15.00]。
|
|
11683
|
-
精度:使用小数点后两位。
|
|
11685
|
+
* <p>主播大小,默认1.00。<br>取值范围(0, 15.00]。<br>精度:使用小数点后两位。</p>
|
|
11684
11686
|
*/
|
|
11685
11687
|
AnchorScale?: number;
|
|
11686
11688
|
/**
|
|
11687
|
-
*
|
|
11688
|
-
左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。
|
|
11689
|
-
即该纵向位置最大为:数字人分辨率的高 - 形象高。
|
|
11689
|
+
* <p>主播纵向位置。默认-1贴底部。<br>左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。<br>即该纵向位置最大为:数字人分辨率的高 - 形象高。</p>
|
|
11690
11690
|
*/
|
|
11691
11691
|
AnchorVerticalPos?: number;
|
|
11692
11692
|
/**
|
|
11693
|
-
*
|
|
11694
|
-
左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。
|
|
11695
|
-
即最大值为:数字人分辨率的宽 - 形象宽。
|
|
11693
|
+
* <p>主播横向位置。默认-1居中。<br>左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。<br>即最大值为:数字人分辨率的宽 - 形象宽。</p>
|
|
11696
11694
|
*/
|
|
11697
11695
|
AnchorHorizontalPos?: number;
|
|
11698
11696
|
/**
|
|
11699
|
-
*
|
|
11697
|
+
* <p>语速(1.0为正常语速,范围[0.6-2.5],值为0.6时播报语速最慢,值为2.5时播报语速最快。</p>
|
|
11700
11698
|
*/
|
|
11701
11699
|
SpeechSpeed?: number;
|
|
11702
11700
|
/**
|
|
11703
|
-
*
|
|
11701
|
+
* <p>音量大小,范围[0,10],对应音量大小。默认为5,代表正常音量,值越大音量越高。</p>
|
|
11704
11702
|
*/
|
|
11705
11703
|
SpeechVolume?: number;
|
|
11706
11704
|
/**
|
|
11707
|
-
*
|
|
11705
|
+
* <p>操作者。</p>
|
|
11708
11706
|
*/
|
|
11709
11707
|
Operator?: string;
|
|
11708
|
+
/**
|
|
11709
|
+
* <p>房间类型。AIGC:AIGC形象房间;PRESET:预设形象房间</p><p>枚举值:</p><ul><li>AIGC: AIGC形象房间</li><li>PRESET: 预设形象房间</li></ul>
|
|
11710
|
+
*/
|
|
11711
|
+
RoomType?: string;
|
|
11710
11712
|
}
|
|
11711
11713
|
/**
|
|
11712
11714
|
* DescribeCasterPlayUrl请求参数结构体
|
|
@@ -11753,21 +11755,25 @@ export interface ForbidLiveDomainRequest {
|
|
|
11753
11755
|
*/
|
|
11754
11756
|
export interface DescribeLiveAvatarScriptsRequest {
|
|
11755
11757
|
/**
|
|
11756
|
-
*
|
|
11758
|
+
* <p>数字人直播间 ID。</p>
|
|
11757
11759
|
*/
|
|
11758
11760
|
RoomId: string;
|
|
11759
11761
|
/**
|
|
11760
|
-
*
|
|
11762
|
+
* <p>数字人直播间话术 ID。</p>
|
|
11761
11763
|
*/
|
|
11762
11764
|
ScriptId?: string;
|
|
11763
11765
|
/**
|
|
11764
|
-
*
|
|
11766
|
+
* <p>分页查询的页数。</p>
|
|
11765
11767
|
*/
|
|
11766
11768
|
PageIndex?: number;
|
|
11767
11769
|
/**
|
|
11768
|
-
*
|
|
11770
|
+
* <p>分页查询的每页个数。</p>
|
|
11769
11771
|
*/
|
|
11770
11772
|
PageSize?: number;
|
|
11773
|
+
/**
|
|
11774
|
+
* <p>数字人该话术所属的产品 ID。</p>
|
|
11775
|
+
*/
|
|
11776
|
+
ProductId?: string;
|
|
11771
11777
|
}
|
|
11772
11778
|
/**
|
|
11773
11779
|
* DescribeLiveTimeShiftWriteSizeInfoList返回参数结构体
|
|
@@ -12405,27 +12411,29 @@ export interface CreateCasterPgmFromPvwRequest {
|
|
|
12405
12411
|
*/
|
|
12406
12412
|
export interface CreateLiveAvatarScriptRequest {
|
|
12407
12413
|
/**
|
|
12408
|
-
*
|
|
12414
|
+
* <p>话术标题。限制500字节。</p>
|
|
12409
12415
|
*/
|
|
12410
12416
|
Title: string;
|
|
12411
12417
|
/**
|
|
12412
|
-
*
|
|
12418
|
+
* <p>话术内容。中文最大支持150个汉字(全角标点符号算一个汉字);英文最大支持500个字母(半角标点符号算一个字母)。</p>
|
|
12413
12419
|
*/
|
|
12414
12420
|
Content: string;
|
|
12415
12421
|
/**
|
|
12416
|
-
*
|
|
12422
|
+
* <p>话术所属的数字人直播间 ID。</p>
|
|
12417
12423
|
*/
|
|
12418
12424
|
RoomId: string;
|
|
12419
12425
|
/**
|
|
12420
|
-
*
|
|
12421
|
-
如已有三条话术100,200,300。
|
|
12422
|
-
新话术可选择150插入到第一条和第二条中间。
|
|
12426
|
+
* <p>话术插入时,可根据已有话术位置,指定新话术插入位置。<br>如已有三条话术100,200,300。<br>新话术可选择150插入到第一条和第二条中间。</p>
|
|
12423
12427
|
*/
|
|
12424
12428
|
SpecifyPosition?: number;
|
|
12425
12429
|
/**
|
|
12426
|
-
*
|
|
12430
|
+
* <p>操作者。</p>
|
|
12427
12431
|
*/
|
|
12428
12432
|
Operator?: string;
|
|
12433
|
+
/**
|
|
12434
|
+
* <p>话术所属的数字人产品 ID。</p>
|
|
12435
|
+
*/
|
|
12436
|
+
ProductId?: string;
|
|
12429
12437
|
}
|
|
12430
12438
|
/**
|
|
12431
12439
|
* 某省份某运营商在某段时间内的带宽,流量,请求数和并发数
|