tencentcloud-sdk-nodejs-live 4.1.207 → 4.1.209
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
|
/**
|
|
@@ -8118,40 +8122,39 @@ export interface DescribeLivePackageInfoResponse {
|
|
|
8118
8122
|
*/
|
|
8119
8123
|
export interface AvatarScriptInfo {
|
|
8120
8124
|
/**
|
|
8121
|
-
*
|
|
8125
|
+
* <p>数字人直播间话术 ID。</p>
|
|
8122
8126
|
*/
|
|
8123
8127
|
ScriptId?: string;
|
|
8124
8128
|
/**
|
|
8125
|
-
*
|
|
8129
|
+
* <p>数字人直播间产品 ID。</p>
|
|
8130
|
+
*/
|
|
8131
|
+
ProductId?: string;
|
|
8132
|
+
/**
|
|
8133
|
+
* <p>话术标题。</p>
|
|
8126
8134
|
*/
|
|
8127
8135
|
Title?: string;
|
|
8128
8136
|
/**
|
|
8129
|
-
*
|
|
8137
|
+
* <p>话术内容。</p>
|
|
8130
8138
|
*/
|
|
8131
8139
|
Content?: string;
|
|
8132
8140
|
/**
|
|
8133
|
-
*
|
|
8134
|
-
PENDING --未生成。
|
|
8135
|
-
PROCESSING --生成中。
|
|
8136
|
-
READY --已生成。
|
|
8141
|
+
* <p>话术状态。PENDING --未生成。PROCESSING --生成中。READY --已生成。FAILED-失败</p><p>枚举值:</p><ul><li>FAILED: 失败</li></ul>
|
|
8137
8142
|
*/
|
|
8138
8143
|
Status?: string;
|
|
8139
8144
|
/**
|
|
8140
|
-
*
|
|
8145
|
+
* <p>时长。单位:毫秒。</p>
|
|
8141
8146
|
*/
|
|
8142
8147
|
Duration?: number;
|
|
8143
8148
|
/**
|
|
8144
|
-
*
|
|
8149
|
+
* <p>话术位置。</p>
|
|
8145
8150
|
*/
|
|
8146
8151
|
Position?: number;
|
|
8147
8152
|
/**
|
|
8148
|
-
*
|
|
8149
|
-
注意:UTC时间和北京时间相差八小时。
|
|
8153
|
+
* <p>话术创建时间,UTC时间。<br>注意:UTC时间和北京时间相差八小时。</p>
|
|
8150
8154
|
*/
|
|
8151
8155
|
CreateTime?: string;
|
|
8152
8156
|
/**
|
|
8153
|
-
*
|
|
8154
|
-
注意:UTC时间和北京时间相差八小时。
|
|
8157
|
+
* <p>话术最后更新时间,UTC时间。<br>注意:UTC时间和北京时间相差八小时。</p>
|
|
8155
8158
|
*/
|
|
8156
8159
|
UpdateTime?: string;
|
|
8157
8160
|
}
|
|
@@ -11659,55 +11662,53 @@ export interface CreateLiveAvatarRoomResponse {
|
|
|
11659
11662
|
*/
|
|
11660
11663
|
export interface ModifyLiveAvatarRoomRequest {
|
|
11661
11664
|
/**
|
|
11662
|
-
*
|
|
11665
|
+
* <p>数字人直播间 ID。</p>
|
|
11663
11666
|
*/
|
|
11664
11667
|
RoomId: string;
|
|
11665
11668
|
/**
|
|
11666
|
-
*
|
|
11669
|
+
* <p>直播间名称。</p>
|
|
11667
11670
|
*/
|
|
11668
11671
|
Name?: string;
|
|
11669
11672
|
/**
|
|
11670
|
-
*
|
|
11673
|
+
* <p>数字人形象KEY。</p>
|
|
11671
11674
|
*/
|
|
11672
11675
|
AvatarKey?: string;
|
|
11673
11676
|
/**
|
|
11674
|
-
*
|
|
11677
|
+
* <p>音色KEY。</p>
|
|
11675
11678
|
*/
|
|
11676
11679
|
TimbreKey?: string;
|
|
11677
11680
|
/**
|
|
11678
|
-
*
|
|
11681
|
+
* <p>背景图片URL。</p>
|
|
11679
11682
|
*/
|
|
11680
11683
|
BackgroundUrl?: string;
|
|
11681
11684
|
/**
|
|
11682
|
-
*
|
|
11683
|
-
取值范围(0, 15.00]。
|
|
11684
|
-
精度:使用小数点后两位。
|
|
11685
|
+
* <p>主播大小,默认1.00。<br>取值范围(0, 15.00]。<br>精度:使用小数点后两位。</p>
|
|
11685
11686
|
*/
|
|
11686
11687
|
AnchorScale?: number;
|
|
11687
11688
|
/**
|
|
11688
|
-
*
|
|
11689
|
-
左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。
|
|
11690
|
-
即该纵向位置最大为:数字人分辨率的高 - 形象高。
|
|
11689
|
+
* <p>主播纵向位置。默认-1贴底部。<br>左上角为原点,形象顶部离屏幕顶部的距离,最大不能使形象底部超出屏幕。<br>即该纵向位置最大为:数字人分辨率的高 - 形象高。</p>
|
|
11691
11690
|
*/
|
|
11692
11691
|
AnchorVerticalPos?: number;
|
|
11693
11692
|
/**
|
|
11694
|
-
*
|
|
11695
|
-
左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。
|
|
11696
|
-
即最大值为:数字人分辨率的宽 - 形象宽。
|
|
11693
|
+
* <p>主播横向位置。默认-1居中。<br>左上角为原点,形象左侧离左侧屏幕的距离。最大值不可使形象右侧超出右侧屏幕。<br>即最大值为:数字人分辨率的宽 - 形象宽。</p>
|
|
11697
11694
|
*/
|
|
11698
11695
|
AnchorHorizontalPos?: number;
|
|
11699
11696
|
/**
|
|
11700
|
-
*
|
|
11697
|
+
* <p>语速(1.0为正常语速,范围[0.6-2.5],值为0.6时播报语速最慢,值为2.5时播报语速最快。</p>
|
|
11701
11698
|
*/
|
|
11702
11699
|
SpeechSpeed?: number;
|
|
11703
11700
|
/**
|
|
11704
|
-
*
|
|
11701
|
+
* <p>音量大小,范围[0,10],对应音量大小。默认为5,代表正常音量,值越大音量越高。</p>
|
|
11705
11702
|
*/
|
|
11706
11703
|
SpeechVolume?: number;
|
|
11707
11704
|
/**
|
|
11708
|
-
*
|
|
11705
|
+
* <p>操作者。</p>
|
|
11709
11706
|
*/
|
|
11710
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;
|
|
11711
11712
|
}
|
|
11712
11713
|
/**
|
|
11713
11714
|
* DescribeCasterPlayUrl请求参数结构体
|
|
@@ -11754,21 +11755,25 @@ export interface ForbidLiveDomainRequest {
|
|
|
11754
11755
|
*/
|
|
11755
11756
|
export interface DescribeLiveAvatarScriptsRequest {
|
|
11756
11757
|
/**
|
|
11757
|
-
*
|
|
11758
|
+
* <p>数字人直播间 ID。</p>
|
|
11758
11759
|
*/
|
|
11759
11760
|
RoomId: string;
|
|
11760
11761
|
/**
|
|
11761
|
-
*
|
|
11762
|
+
* <p>数字人直播间话术 ID。</p>
|
|
11762
11763
|
*/
|
|
11763
11764
|
ScriptId?: string;
|
|
11764
11765
|
/**
|
|
11765
|
-
*
|
|
11766
|
+
* <p>分页查询的页数。</p>
|
|
11766
11767
|
*/
|
|
11767
11768
|
PageIndex?: number;
|
|
11768
11769
|
/**
|
|
11769
|
-
*
|
|
11770
|
+
* <p>分页查询的每页个数。</p>
|
|
11770
11771
|
*/
|
|
11771
11772
|
PageSize?: number;
|
|
11773
|
+
/**
|
|
11774
|
+
* <p>数字人该话术所属的产品 ID。</p>
|
|
11775
|
+
*/
|
|
11776
|
+
ProductId?: string;
|
|
11772
11777
|
}
|
|
11773
11778
|
/**
|
|
11774
11779
|
* DescribeLiveTimeShiftWriteSizeInfoList返回参数结构体
|
|
@@ -12406,27 +12411,29 @@ export interface CreateCasterPgmFromPvwRequest {
|
|
|
12406
12411
|
*/
|
|
12407
12412
|
export interface CreateLiveAvatarScriptRequest {
|
|
12408
12413
|
/**
|
|
12409
|
-
*
|
|
12414
|
+
* <p>话术标题。限制500字节。</p>
|
|
12410
12415
|
*/
|
|
12411
12416
|
Title: string;
|
|
12412
12417
|
/**
|
|
12413
|
-
*
|
|
12418
|
+
* <p>话术内容。中文最大支持150个汉字(全角标点符号算一个汉字);英文最大支持500个字母(半角标点符号算一个字母)。</p>
|
|
12414
12419
|
*/
|
|
12415
12420
|
Content: string;
|
|
12416
12421
|
/**
|
|
12417
|
-
*
|
|
12422
|
+
* <p>话术所属的数字人直播间 ID。</p>
|
|
12418
12423
|
*/
|
|
12419
12424
|
RoomId: string;
|
|
12420
12425
|
/**
|
|
12421
|
-
*
|
|
12422
|
-
如已有三条话术100,200,300。
|
|
12423
|
-
新话术可选择150插入到第一条和第二条中间。
|
|
12426
|
+
* <p>话术插入时,可根据已有话术位置,指定新话术插入位置。<br>如已有三条话术100,200,300。<br>新话术可选择150插入到第一条和第二条中间。</p>
|
|
12424
12427
|
*/
|
|
12425
12428
|
SpecifyPosition?: number;
|
|
12426
12429
|
/**
|
|
12427
|
-
*
|
|
12430
|
+
* <p>操作者。</p>
|
|
12428
12431
|
*/
|
|
12429
12432
|
Operator?: string;
|
|
12433
|
+
/**
|
|
12434
|
+
* <p>话术所属的数字人产品 ID。</p>
|
|
12435
|
+
*/
|
|
12436
|
+
ProductId?: string;
|
|
12430
12437
|
}
|
|
12431
12438
|
/**
|
|
12432
12439
|
* 某省份某运营商在某段时间内的带宽,流量,请求数和并发数
|