tencentcloud-sdk-nodejs-live 4.1.273 → 4.1.282
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
|
@@ -61,8 +61,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
61
61
|
*/
|
|
62
62
|
StopCasterPvw(req: StopCasterPvwRequest, cb?: (error: string, rep: StopCasterPvwResponse) => void): Promise<StopCasterPvwResponse>;
|
|
63
63
|
/**
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
* 创建水印规则,需要先调用[AddLiveWatermark](/document/product/267/30154)接口添加水印,将返回的水印id绑定到流使用。
|
|
65
|
+
创建规则后生效时间为10分钟,规则仅对推流时间晚于配置生效时间的流有效,对正在直播的流不生效。
|
|
66
|
+
*/
|
|
66
67
|
CreateLiveWatermarkRule(req: CreateLiveWatermarkRuleRequest, cb?: (error: string, rep: CreateLiveWatermarkRuleResponse) => void): Promise<CreateLiveWatermarkRuleResponse>;
|
|
67
68
|
/**
|
|
68
69
|
* 断开推流连接,但可以重新推流。
|
|
@@ -366,8 +367,9 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
366
367
|
*/
|
|
367
368
|
AddDelayLiveStream(req: AddDelayLiveStreamRequest, cb?: (error: string, rep: AddDelayLiveStreamResponse) => void): Promise<AddDelayLiveStreamResponse>;
|
|
368
369
|
/**
|
|
369
|
-
|
|
370
|
-
|
|
370
|
+
* 直播上行路数查询。
|
|
371
|
+
数据延迟3小时左右。
|
|
372
|
+
*/
|
|
371
373
|
DescribeUploadStreamNums(req: DescribeUploadStreamNumsRequest, cb?: (error: string, rep: DescribeUploadStreamNumsResponse) => void): Promise<DescribeUploadStreamNumsResponse>;
|
|
372
374
|
/**
|
|
373
375
|
* 该接口为监控数据接口,数据采集及统计方式与计费数据不同,仅供运营分析使用,不能用于计费对账参考。
|
|
@@ -101,8 +101,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
101
101
|
return this.request("StopCasterPvw", req, cb);
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
* 创建水印规则,需要先调用[AddLiveWatermark](/document/product/267/30154)接口添加水印,将返回的水印id绑定到流使用。
|
|
105
|
+
创建规则后生效时间为10分钟,规则仅对推流时间晚于配置生效时间的流有效,对正在直播的流不生效。
|
|
106
|
+
*/
|
|
106
107
|
async CreateLiveWatermarkRule(req, cb) {
|
|
107
108
|
return this.request("CreateLiveWatermarkRule", req, cb);
|
|
108
109
|
}
|
|
@@ -542,8 +543,9 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
542
543
|
return this.request("AddDelayLiveStream", req, cb);
|
|
543
544
|
}
|
|
544
545
|
/**
|
|
545
|
-
|
|
546
|
-
|
|
546
|
+
* 直播上行路数查询。
|
|
547
|
+
数据延迟3小时左右。
|
|
548
|
+
*/
|
|
547
549
|
async DescribeUploadStreamNums(req, cb) {
|
|
548
550
|
return this.request("DescribeUploadStreamNums", req, cb);
|
|
549
551
|
}
|
|
@@ -670,38 +670,35 @@ export interface PlayCodeTotalInfo {
|
|
|
670
670
|
*/
|
|
671
671
|
export interface AddLiveWatermarkRequest {
|
|
672
672
|
/**
|
|
673
|
-
*
|
|
674
|
-
URL中禁止包含的字符:
|
|
675
|
-
;(){}$>`#"\'|
|
|
673
|
+
* <p>水印图片 URL。<br>URL中禁止包含的字符:<br> ;(){}$>`#"'|</p>
|
|
676
674
|
*/
|
|
677
675
|
PictureUrl: string;
|
|
678
676
|
/**
|
|
679
|
-
*
|
|
680
|
-
最长30字节。
|
|
677
|
+
* <p>水印名称。<br>最长30字节。</p>
|
|
681
678
|
*/
|
|
682
679
|
WatermarkName: string;
|
|
683
680
|
/**
|
|
684
|
-
*
|
|
681
|
+
* <p>显示位置,X轴偏移,单位是百分比,默认 0。</p>
|
|
685
682
|
*/
|
|
686
683
|
XPosition?: number;
|
|
687
684
|
/**
|
|
688
|
-
*
|
|
685
|
+
* <p>显示位置,Y轴偏移,单位是百分比,默认 0。</p>
|
|
689
686
|
*/
|
|
690
687
|
YPosition?: number;
|
|
691
688
|
/**
|
|
692
|
-
*
|
|
689
|
+
* <p>水印宽度,占直播原始画面宽度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始宽度。</p>
|
|
693
690
|
*/
|
|
694
691
|
Width?: number;
|
|
695
692
|
/**
|
|
696
|
-
*
|
|
693
|
+
* <p>水印高度,占直播原始画面高度百分比,建议高宽只设置一项,另外一项会自适应缩放,避免变形。默认原始高度。</p>
|
|
697
694
|
*/
|
|
698
695
|
Height?: number;
|
|
699
696
|
/**
|
|
700
|
-
*
|
|
697
|
+
* <p>背景水印宽度。默认宽度1920。</p><p>取值范围:[360, 4096]</p><p>单位:px</p>
|
|
701
698
|
*/
|
|
702
699
|
BackgroundWidth?: number;
|
|
703
700
|
/**
|
|
704
|
-
*
|
|
701
|
+
* <p>背景水印高度。默认高度1080。</p><p>取值范围:[360, 4096]</p><p>单位:px</p>
|
|
705
702
|
*/
|
|
706
703
|
BackgroundHeight?: number;
|
|
707
704
|
}
|
|
@@ -10696,7 +10693,7 @@ export interface DeleteLiveTranscodeRuleRequest {
|
|
|
10696
10693
|
*/
|
|
10697
10694
|
export interface AddLiveWatermarkResponse {
|
|
10698
10695
|
/**
|
|
10699
|
-
*
|
|
10696
|
+
* <p>水印ID。</p>
|
|
10700
10697
|
*/
|
|
10701
10698
|
WatermarkId?: number;
|
|
10702
10699
|
/**
|