tencentcloud-sdk-nodejs-mps 4.1.20 → 4.1.21

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-mps",
3
- "version": "4.1.20",
3
+ "version": "4.1.21",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -414,7 +414,7 @@ export interface CreateOutputSRTSettings {
414
414
  */
415
415
  StreamId?: string;
416
416
  /**
417
- * 转推SRT的总延迟,默认0,单位ms,范围为[0, 3000]。此参数同时设置了发送方和接收方的延迟(recvlatency和peerlatency)为相同的值。建议配置为至少3倍RTT,以确保在网络拥塞时能够有效处理数据包的重传和确认
417
+ * 转推SRT的延迟,默认120,单位ms,范围为[0, 3000]。此参数同时设置了发送方和接收方的延迟(recvlatency和peerlatency)为相同的值。建议配置为至少3倍RTT,以确保在网络拥塞时能够有效处理数据包的重传和确认
418
418
  */
419
419
  Latency?: number;
420
420
  /**
@@ -422,7 +422,7 @@ export interface CreateOutputSRTSettings {
422
422
  */
423
423
  RecvLatency?: number;
424
424
  /**
425
- * 转推SRT的对端延迟,默认0,单位ms,范围为[0, 3000]。 此参数由发送方设置,用于告知接收方其期望的延迟缓冲时间
425
+ * 转推SRT的对端延迟,默认120,单位ms,范围为[0, 3000]。 此参数由发送方设置,用于告知接收方其期望的延迟缓冲时间
426
426
  */
427
427
  PeerLatency?: number;
428
428
  /**
@@ -1808,15 +1808,15 @@ export interface MediaSnapshotByTimePicInfoItem {
1808
1808
  /**
1809
1809
  * 该张截图对应视频文件中的时间偏移,单位为秒。
1810
1810
  */
1811
- TimeOffset: number;
1811
+ TimeOffset?: number;
1812
1812
  /**
1813
1813
  * 该张截图的路径。
1814
1814
  */
1815
- Path: string;
1815
+ Path?: string;
1816
1816
  /**
1817
1817
  * 截图如果被打上了水印,被打水印的模板 ID 列表。
1818
1818
  */
1819
- WaterMarkDefinition: Array<number | bigint>;
1819
+ WaterMarkDefinition?: Array<number | bigint>;
1820
1820
  }
1821
1821
  /**
1822
1822
  * 用户自定义人物审核任务控制参数
@@ -1867,57 +1867,57 @@ export interface ContentReviewTemplateItem {
1867
1867
  /**
1868
1868
  * 内容审核模板唯一标识。
1869
1869
  */
1870
- Definition: number;
1870
+ Definition?: number;
1871
1871
  /**
1872
1872
  * 内容审核模板名称,长度限制:64 个字符。
1873
1873
  */
1874
- Name: string;
1874
+ Name?: string;
1875
1875
  /**
1876
1876
  * 内容审核模板描述信息,长度限制:256 个字符。
1877
1877
  */
1878
- Comment: string;
1878
+ Comment?: string;
1879
1879
  /**
1880
1880
  * 鉴黄控制参数。
1881
1881
  注意:此字段可能返回 null,表示取不到有效值。
1882
1882
  */
1883
- PornConfigure: PornConfigureInfo;
1883
+ PornConfigure?: PornConfigureInfo;
1884
1884
  /**
1885
1885
  * 涉敏控制参数。
1886
1886
  注意:此字段可能返回 null,表示取不到有效值。
1887
1887
  */
1888
- TerrorismConfigure: TerrorismConfigureInfo;
1888
+ TerrorismConfigure?: TerrorismConfigureInfo;
1889
1889
  /**
1890
1890
  * 涉敏控制参数。
1891
1891
  注意:此字段可能返回 null,表示取不到有效值。
1892
1892
  */
1893
- PoliticalConfigure: PoliticalConfigureInfo;
1893
+ PoliticalConfigure?: PoliticalConfigureInfo;
1894
1894
  /**
1895
1895
  * 违禁控制参数。违禁内容包括:
1896
1896
  <li>谩骂;</li>
1897
1897
  <li>涉毒违法。</li>
1898
1898
  注意:此字段可能返回 null,表示取不到有效值。
1899
1899
  */
1900
- ProhibitedConfigure: ProhibitedConfigureInfo;
1900
+ ProhibitedConfigure?: ProhibitedConfigureInfo;
1901
1901
  /**
1902
1902
  * 用户自定义内容审核控制参数。
1903
1903
  注意:此字段可能返回 null,表示取不到有效值。
1904
1904
  */
1905
- UserDefineConfigure: UserDefineConfigureInfo;
1905
+ UserDefineConfigure?: UserDefineConfigureInfo;
1906
1906
  /**
1907
1907
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
1908
1908
  */
1909
- CreateTime: string;
1909
+ CreateTime?: string;
1910
1910
  /**
1911
1911
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
1912
1912
  */
1913
- UpdateTime: string;
1913
+ UpdateTime?: string;
1914
1914
  /**
1915
1915
  * 模板类型,取值范围:
1916
1916
  * Preset:系统预置模板;
1917
1917
  * Custom:用户自定义模板。
1918
1918
  注意:此字段可能返回 null,表示取不到有效值。
1919
1919
  */
1920
- Type: string;
1920
+ Type?: string;
1921
1921
  }
1922
1922
  /**
1923
1923
  * ModifyStreamLinkFlow返回参数结构体
@@ -3819,56 +3819,56 @@ export interface WatermarkTemplate {
3819
3819
  /**
3820
3820
  * 水印模板唯一标识。
3821
3821
  */
3822
- Definition: number;
3822
+ Definition?: number;
3823
3823
  /**
3824
3824
  * 水印类型,取值:
3825
3825
  <li>image:图片水印;</li>
3826
3826
  <li>text:文字水印。</li>
3827
3827
  */
3828
- Type: string;
3828
+ Type?: string;
3829
3829
  /**
3830
3830
  * 水印模板名称。
3831
3831
  */
3832
- Name: string;
3832
+ Name?: string;
3833
3833
  /**
3834
3834
  * 模板描述信息。
3835
3835
  */
3836
- Comment: string;
3836
+ Comment?: string;
3837
3837
  /**
3838
3838
  * 水印图片原点距离视频图像原点的水平位置。
3839
3839
  <li>当字符串以 % 结尾,表示水印 Left 为视频宽度指定百分比的位置,如 10% 表示 Left 为视频宽度的 10%;</li>
3840
3840
  <li>当字符串以 px 结尾,表示水印 Left 为视频宽度指定像素的位置,如 100px 表示 Left 为 100 像素。</li>
3841
3841
  */
3842
- XPos: string;
3842
+ XPos?: string;
3843
3843
  /**
3844
3844
  * 水印图片原点距离视频图像原点的垂直位置。
3845
3845
  <li>当字符串以 % 结尾,表示水印 Top 为视频高度指定百分比的位置,如 10% 表示 Top 为视频高度的 10%;</li>
3846
3846
  <li>当字符串以 px 结尾,表示水印 Top 为视频高度指定像素的位置,如 100px 表示 Top 为 100 像素。</li>
3847
3847
  */
3848
- YPos: string;
3848
+ YPos?: string;
3849
3849
  /**
3850
3850
  * 图片水印模板,仅当 Type 为 image,该字段有效。
3851
3851
  注意:此字段可能返回 null,表示取不到有效值。
3852
3852
  */
3853
- ImageTemplate: ImageWatermarkTemplate;
3853
+ ImageTemplate?: ImageWatermarkTemplate;
3854
3854
  /**
3855
3855
  * 文字水印模板,仅当 Type 为 text,该字段有效。
3856
3856
  注意:此字段可能返回 null,表示取不到有效值。
3857
3857
  */
3858
- TextTemplate: TextWatermarkTemplateInput;
3858
+ TextTemplate?: TextWatermarkTemplateInput;
3859
3859
  /**
3860
3860
  * SVG 水印模板,当 Type 为 svg,该字段有效。
3861
3861
  注意:此字段可能返回 null,表示取不到有效值。
3862
3862
  */
3863
- SvgTemplate: SvgWatermarkInput;
3863
+ SvgTemplate?: SvgWatermarkInput;
3864
3864
  /**
3865
3865
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
3866
3866
  */
3867
- CreateTime: string;
3867
+ CreateTime?: string;
3868
3868
  /**
3869
3869
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
3870
3870
  */
3871
- UpdateTime: string;
3871
+ UpdateTime?: string;
3872
3872
  /**
3873
3873
  * 原点位置,可选值:
3874
3874
  <li>topLeft:表示坐标原点位于视频图像左上角,水印原点为图片或文字的左上角;</li>
@@ -3876,7 +3876,7 @@ export interface WatermarkTemplate {
3876
3876
  <li>bottomLeft:表示坐标原点位于视频图像的左下角,水印原点为图片或文字的左下角;</li>
3877
3877
  <li>bottomRight:表示坐标原点位于视频图像的右下角,水印原点为图片或文字的右下。;</li>
3878
3878
  */
3879
- CoordinateOrigin: string;
3879
+ CoordinateOrigin?: string;
3880
3880
  }
3881
3881
  /**
3882
3882
  * 文字水印模板
@@ -6221,17 +6221,17 @@ export interface DescribeOutputRTPSettings {
6221
6221
  * 转推RTP的目标地址信息列表。
6222
6222
  注意:此字段可能返回 null,表示取不到有效值。
6223
6223
  */
6224
- Destinations: Array<RTPAddressDestination>;
6224
+ Destinations?: Array<RTPAddressDestination>;
6225
6225
  /**
6226
6226
  * 是否FEC。
6227
6227
  注意:此字段可能返回 null,表示取不到有效值。
6228
6228
  */
6229
- FEC: string;
6229
+ FEC?: string;
6230
6230
  /**
6231
6231
  * 空闲超时时间。
6232
6232
  注意:此字段可能返回 null,表示取不到有效值。
6233
6233
  */
6234
- IdleTimeout: number;
6234
+ IdleTimeout?: number;
6235
6235
  }
6236
6236
  /**
6237
6237
  * 视频编辑/合成任务 音频元素信息。
@@ -7617,7 +7617,7 @@ export interface CreateInputSRTSettings {
7617
7617
  */
7618
7618
  StreamId?: string;
7619
7619
  /**
7620
- * 延迟,默认0,单位ms,范围为[0, 3000]。
7620
+ * 延迟,默认120,单位ms,范围为[0, 3000]。
7621
7621
  */
7622
7622
  Latency?: number;
7623
7623
  /**
@@ -7625,7 +7625,7 @@ export interface CreateInputSRTSettings {
7625
7625
  */
7626
7626
  RecvLatency?: number;
7627
7627
  /**
7628
- * 对端延迟,默认0,单位ms,范围为[0, 3000]。
7628
+ * 对端延迟,默认120,单位ms,范围为[0, 3000]。
7629
7629
  */
7630
7630
  PeerLatency?: number;
7631
7631
  /**
@@ -8911,45 +8911,45 @@ export interface LiveStreamAiReviewImagePoliticalResult {
8911
8911
  /**
8912
8912
  * 嫌疑片段起始的 PTS 时间,单位:秒。
8913
8913
  */
8914
- StartPtsTime: number;
8914
+ StartPtsTime?: number;
8915
8915
  /**
8916
8916
  * 嫌疑片段结束的 PTS 时间,单位:秒。
8917
8917
  */
8918
- EndPtsTime: number;
8918
+ EndPtsTime?: number;
8919
8919
  /**
8920
8920
  * 嫌疑片段敏感分数。
8921
8921
  */
8922
- Confidence: number;
8922
+ Confidence?: number;
8923
8923
  /**
8924
8924
  * 嫌疑片段鉴黄结果建议,取值范围:
8925
8925
  <li>pass</li>
8926
8926
  <li>review</li>
8927
8927
  <li>block</li>
8928
8928
  */
8929
- Suggestion: string;
8929
+ Suggestion?: string;
8930
8930
  /**
8931
8931
  * 视频敏感结果标签,取值范围:
8932
8932
  <li>politician:敏感人物。</li>
8933
8933
  <li>violation_photo:违规图标。</li>
8934
8934
  */
8935
- Label: string;
8935
+ Label?: string;
8936
8936
  /**
8937
8937
  * 敏感人物、违规图标名字。
8938
8938
  */
8939
- Name: string;
8939
+ Name?: string;
8940
8940
  /**
8941
8941
  * 敏感人物、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
8942
8942
  */
8943
- AreaCoordSet: Array<number | bigint>;
8943
+ AreaCoordSet?: Array<number | bigint>;
8944
8944
  /**
8945
8945
  * 嫌疑图片 URL (图片不会永久存储,到达
8946
8946
  PicUrlExpireTime 时间点后图片将被删除)。
8947
8947
  */
8948
- Url: string;
8948
+ Url?: string;
8949
8949
  /**
8950
8950
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
8951
8951
  */
8952
- PicUrlExpireTime: string;
8952
+ PicUrlExpireTime?: string;
8953
8953
  }
8954
8954
  /**
8955
8955
  * 图片水印模板输入参数
@@ -9817,26 +9817,26 @@ export interface MediaContentReviewPoliticalSegmentItem {
9817
9817
  /**
9818
9818
  * 嫌疑片段起始的偏移时间,单位:秒。
9819
9819
  */
9820
- StartTimeOffset: number;
9820
+ StartTimeOffset?: number;
9821
9821
  /**
9822
9822
  * 嫌疑片段结束的偏移时间,单位:秒。
9823
9823
  */
9824
- EndTimeOffset: number;
9824
+ EndTimeOffset?: number;
9825
9825
  /**
9826
9826
  * 嫌疑片段涉敏分数。
9827
9827
  */
9828
- Confidence: number;
9828
+ Confidence?: number;
9829
9829
  /**
9830
9830
  * 嫌疑片段涉敏结果建议,取值范围:
9831
9831
  <li>pass。</li>
9832
9832
  <li>review。</li>
9833
9833
  <li>block。</li>
9834
9834
  */
9835
- Suggestion: string;
9835
+ Suggestion?: string;
9836
9836
  /**
9837
9837
  * 涉敏人物、违规图标名字。
9838
9838
  */
9839
- Name: string;
9839
+ Name?: string;
9840
9840
  /**
9841
9841
  * 嫌疑片段涉敏结果标签。内容审核模板[画面涉敏任务控制参数](https://cloud.tencent.com/document/api/862/37615#PoliticalImgReviewTemplateInfo)里 LabelSet 参数与此参数取值范围的对应关系:
9842
9842
  violation_photo:
@@ -9863,20 +9863,20 @@ export interface MediaContentReviewPoliticalSegmentItem {
9863
9863
  military:
9864
9864
  <li>sensitive_military:敏感军事人物。</li>
9865
9865
  */
9866
- Label: string;
9866
+ Label?: string;
9867
9867
  /**
9868
9868
  * 嫌疑图片 URL (图片不会永久存储,到达
9869
9869
  PicUrlExpireTime 时间点后图片将被删除)。
9870
9870
  */
9871
- Url: string;
9871
+ Url?: string;
9872
9872
  /**
9873
9873
  * 涉敏人物、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
9874
9874
  */
9875
- AreaCoordSet: Array<number | bigint>;
9875
+ AreaCoordSet?: Array<number | bigint>;
9876
9876
  /**
9877
9877
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
9878
9878
  */
9879
- PicUrlExpireTime: string;
9879
+ PicUrlExpireTime?: string;
9880
9880
  }
9881
9881
  /**
9882
9882
  * DeletePersonSample返回参数结构体
@@ -10080,17 +10080,17 @@ export interface ImageSpriteTemplate {
10080
10080
  /**
10081
10081
  * 雪碧图模板唯一标识。
10082
10082
  */
10083
- Definition: number;
10083
+ Definition?: number;
10084
10084
  /**
10085
10085
  * 模板类型,取值范围:
10086
10086
  <li>Preset:系统预置模板;</li>
10087
10087
  <li>Custom:用户自定义模板。</li>
10088
10088
  */
10089
- Type: string;
10089
+ Type?: string;
10090
10090
  /**
10091
10091
  * 雪碧图模板名称。
10092
10092
  */
10093
- Name: string;
10093
+ Name?: string;
10094
10094
  /**
10095
10095
  * 雪碧图中小图的宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
10096
10096
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -10099,7 +10099,7 @@ export interface ImageSpriteTemplate {
10099
10099
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
10100
10100
  默认值:0。
10101
10101
  */
10102
- Width: number;
10102
+ Width?: number;
10103
10103
  /**
10104
10104
  * 雪碧图中小图的高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
10105
10105
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -10108,53 +10108,53 @@ export interface ImageSpriteTemplate {
10108
10108
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
10109
10109
  默认值:0。
10110
10110
  */
10111
- Height: number;
10111
+ Height?: number;
10112
10112
  /**
10113
10113
  * 分辨率自适应,可选值:
10114
10114
  <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
10115
10115
  <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
10116
10116
  默认值:open。
10117
10117
  */
10118
- ResolutionAdaptive: string;
10118
+ ResolutionAdaptive?: string;
10119
10119
  /**
10120
10120
  * 采样类型。
10121
10121
  */
10122
- SampleType: string;
10122
+ SampleType?: string;
10123
10123
  /**
10124
10124
  * 采样间隔。
10125
10125
  */
10126
- SampleInterval: number;
10126
+ SampleInterval?: number;
10127
10127
  /**
10128
10128
  * 雪碧图中小图的行数。
10129
10129
  */
10130
- RowCount: number;
10130
+ RowCount?: number;
10131
10131
  /**
10132
10132
  * 雪碧图中小图的列数。
10133
10133
  */
10134
- ColumnCount: number;
10134
+ ColumnCount?: number;
10135
10135
  /**
10136
10136
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
10137
10137
  */
10138
- CreateTime: string;
10138
+ CreateTime?: string;
10139
10139
  /**
10140
10140
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
10141
10141
  */
10142
- UpdateTime: string;
10142
+ UpdateTime?: string;
10143
10143
  /**
10144
10144
  * 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
10145
10145
  <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
10146
10146
  <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
10147
10147
  默认值:black 。
10148
10148
  */
10149
- FillType: string;
10149
+ FillType?: string;
10150
10150
  /**
10151
10151
  * 模板描述信息。
10152
10152
  */
10153
- Comment: string;
10153
+ Comment?: string;
10154
10154
  /**
10155
10155
  * 图片格式。
10156
10156
  */
10157
- Format: string;
10157
+ Format?: string;
10158
10158
  }
10159
10159
  /**
10160
10160
  * 文本全文识别片段。
@@ -10281,19 +10281,19 @@ export interface LiveStreamAsrFullTextRecognitionResult {
10281
10281
  /**
10282
10282
  * 识别文本。
10283
10283
  */
10284
- Text: string;
10284
+ Text?: string;
10285
10285
  /**
10286
10286
  * 识别片段起始的 PTS 时间,单位:秒。
10287
10287
  */
10288
- StartPtsTime: number;
10288
+ StartPtsTime?: number;
10289
10289
  /**
10290
10290
  * 识别片段终止的 PTS 时间,单位:秒。
10291
10291
  */
10292
- EndPtsTime: number;
10292
+ EndPtsTime?: number;
10293
10293
  /**
10294
10294
  * 识别片段置信度。取值:0~100。
10295
10295
  */
10296
- Confidence: number;
10296
+ Confidence?: number;
10297
10297
  /**
10298
10298
  * 识别开始UTC时间。
10299
10299
  注意:此字段可能返回 null,表示取不到有效值。
@@ -11885,18 +11885,18 @@ export interface AiReviewPoliticalAsrTaskOutput {
11885
11885
  /**
11886
11886
  * Asr 文字敏感评分,分值为0到100。
11887
11887
  */
11888
- Confidence: number;
11888
+ Confidence?: number;
11889
11889
  /**
11890
11890
  * Asr 文字敏感结果建议,取值范围:
11891
11891
  <li>pass。</li>
11892
11892
  <li>review。</li>
11893
11893
  <li>block。</li>
11894
11894
  */
11895
- Suggestion: string;
11895
+ Suggestion?: string;
11896
11896
  /**
11897
11897
  * Asr 文字敏感嫌疑的视频片段列表。
11898
11898
  */
11899
- SegmentSet: Array<MediaContentReviewAsrTextSegmentItem>;
11899
+ SegmentSet?: Array<MediaContentReviewAsrTextSegmentItem>;
11900
11900
  }
11901
11901
  /**
11902
11902
  * 流状态实时查询接口的SRT信息。
@@ -12611,7 +12611,7 @@ export interface CreateStreamLinkOutputInfoRequest {
12611
12611
  */
12612
12612
  export interface ComposeMediaTrack {
12613
12613
  /**
12614
- * 轨道类型,取值有:<ul><li>Video :视频轨道。视频轨道可由以下元素组成:</li><ul><li>Video 元素</li><li>Image 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Audio :音频轨道。音频轨道可由以下元素组成:</li><ul><li>Audio 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Title:文字轨道。文字轨道可由以下元素组成:</li><ul><li>Subtitle 元素</li></ul>
12614
+ * 轨道类型,取值有:<ul><li>Video :视频轨道。视频轨道可由以下元素组成:</li><ul><li>Video 元素</li><li>Image 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Audio :音频轨道。音频轨道可由以下元素组成:</li><ul><li>Audio 元素</li><li>Transition 元素</li><li>Empty 元素</li></ul><li>Title:文字轨道。文字轨道可由以下元素组成:</li><ul><li>Subtitle 元素</li></ul></ul>
12615
12615
  */
12616
12616
  Type: string;
12617
12617
  /**
@@ -13452,23 +13452,23 @@ export interface LiveStreamTransTextRecognitionResult {
13452
13452
  /**
13453
13453
  * 识别文本。
13454
13454
  */
13455
- Text: string;
13455
+ Text?: string;
13456
13456
  /**
13457
13457
  * 翻译片段起始的 PTS 时间,单位:秒。
13458
13458
  */
13459
- StartPtsTime: number;
13459
+ StartPtsTime?: number;
13460
13460
  /**
13461
13461
  * 翻译片段终止的 PTS 时间,单位:秒。
13462
13462
  */
13463
- EndPtsTime: number;
13463
+ EndPtsTime?: number;
13464
13464
  /**
13465
13465
  * 翻译片段置信度。取值:0~100。
13466
13466
  */
13467
- Confidence: number;
13467
+ Confidence?: number;
13468
13468
  /**
13469
13469
  * 翻译文本。
13470
13470
  */
13471
- Trans: string;
13471
+ Trans?: string;
13472
13472
  /**
13473
13473
  * 翻译开始UTC时间。
13474
13474
  注意:此字段可能返回 null,表示取不到有效值。
@@ -13671,14 +13671,14 @@ export interface AiReviewPoliticalTaskOutput {
13671
13671
  /**
13672
13672
  * 视频涉敏评分,分值为0到100。
13673
13673
  */
13674
- Confidence: number;
13674
+ Confidence?: number;
13675
13675
  /**
13676
13676
  * 涉敏结果建议,取值范围:
13677
13677
  <li>pass。</li>
13678
13678
  <li>review。</li>
13679
13679
  <li>block。</li>
13680
13680
  */
13681
- Suggestion: string;
13681
+ Suggestion?: string;
13682
13682
  /**
13683
13683
  * 视频涉敏结果标签。内容审核模板[画面涉敏任务控制参数](https://cloud.tencent.com/document/api/862/37615#AiReviewPoliticalTaskOutput)里 LabelSet 参数与此参数取值范围的对应关系:
13684
13684
  violation_photo:
@@ -13686,11 +13686,11 @@ export interface AiReviewPoliticalTaskOutput {
13686
13686
  其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
13687
13687
  <li>politician:涉敏人物。</li>
13688
13688
  */
13689
- Label: string;
13689
+ Label?: string;
13690
13690
  /**
13691
13691
  * 有涉敏嫌疑的视频片段列表。
13692
13692
  */
13693
- SegmentSet: Array<MediaContentReviewPoliticalSegmentItem>;
13693
+ SegmentSet?: Array<MediaContentReviewPoliticalSegmentItem>;
13694
13694
  }
13695
13695
  /**
13696
13696
  * 内容审核涉敏任务结果类型
@@ -14283,22 +14283,22 @@ export interface LiveStreamAiReviewImageTerrorismResult {
14283
14283
  /**
14284
14284
  * 嫌疑片段起始的 PTS 时间,单位:秒。
14285
14285
  */
14286
- StartPtsTime: number;
14286
+ StartPtsTime?: number;
14287
14287
  /**
14288
14288
  * 嫌疑片段结束的 PTS 时间,单位:秒。
14289
14289
  */
14290
- EndPtsTime: number;
14290
+ EndPtsTime?: number;
14291
14291
  /**
14292
14292
  * 嫌疑片段涉敏分数。
14293
14293
  */
14294
- Confidence: number;
14294
+ Confidence?: number;
14295
14295
  /**
14296
14296
  * 嫌疑片段涉敏结果建议,取值范围:
14297
14297
  <li>pass</li>
14298
14298
  <li>review</li>
14299
14299
  <li>block</li>
14300
14300
  */
14301
- Suggestion: string;
14301
+ Suggestion?: string;
14302
14302
  /**
14303
14303
  * 视频涉敏结果标签,取值范围:
14304
14304
  <li>guns:武器枪支。</li>
@@ -14310,16 +14310,16 @@ export interface LiveStreamAiReviewImageTerrorismResult {
14310
14310
  <li>explosion:爆炸火灾。</li>
14311
14311
  <li>terrorists:涉敏人物。</li>
14312
14312
  */
14313
- Label: string;
14313
+ Label?: string;
14314
14314
  /**
14315
14315
  * 嫌疑图片 URL (图片不会永久存储,到达
14316
14316
  PicUrlExpireTime 时间点后图片将被删除)。
14317
14317
  */
14318
- Url: string;
14318
+ Url?: string;
14319
14319
  /**
14320
14320
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
14321
14321
  */
14322
- PicUrlExpireTime: string;
14322
+ PicUrlExpireTime?: string;
14323
14323
  }
14324
14324
  /**
14325
14325
  * ProcessLiveStream请求参数结构体
@@ -15727,7 +15727,7 @@ export interface ModifyInput {
15727
15727
  */
15728
15728
  RTPSettings: CreateInputRTPSettings;
15729
15729
  /**
15730
- * 输入的协议,可选[SRT|RTP|RTMP_PUSH|RTMP_PULL|RTSP_PULL|RIST]。 -
15730
+ * 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。 -
15731
15731
  */
15732
15732
  Protocol?: string;
15733
15733
  /**
@@ -16386,18 +16386,18 @@ export interface AiReviewPoliticalOcrTaskOutput {
16386
16386
  /**
16387
16387
  * Ocr 文字敏感评分,分值为0到100。
16388
16388
  */
16389
- Confidence: number;
16389
+ Confidence?: number;
16390
16390
  /**
16391
16391
  * Ocr 文字敏感结果建议,取值范围:
16392
16392
  <li>pass。</li>
16393
16393
  <li>review。</li>
16394
16394
  <li>block。</li>
16395
16395
  */
16396
- Suggestion: string;
16396
+ Suggestion?: string;
16397
16397
  /**
16398
16398
  * Ocr 文字有敏感嫌疑的视频片段列表。
16399
16399
  */
16400
- SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>;
16400
+ SegmentSet?: Array<MediaContentReviewOcrTextSegmentItem>;
16401
16401
  }
16402
16402
  /**
16403
16403
  * 文本全文本识别任务控制参数
@@ -16543,10 +16543,10 @@ export interface AiAnalysisTaskInput {
16543
16543
  /**
16544
16544
  * 扩展参数,其值为序列化的 json字符串。
16545
16545
  注意:此参数为定制需求参数,参考如下:
16546
- 智能檫除:https://cloud.tencent.com/document/product/862/101530
16547
- 智能拆条:https://cloud.tencent.com/document/product/862/112098
16548
- 高光集锦:https://cloud.tencent.com/document/product/862/107280
16549
- 智能横转竖:https://cloud.tencent.com/document/product/862/112112
16546
+ [智能檫除](https://cloud.tencent.com/document/product/862/101530)
16547
+ [智能拆条](https://cloud.tencent.com/document/product/862/112098)
16548
+ [高光集锦](https://cloud.tencent.com/document/product/862/107280)
16549
+ [智能横转竖](https://cloud.tencent.com/document/product/862/112112)
16550
16550
  注意:此字段可能返回 null,表示取不到有效值。
16551
16551
  */
16552
16552
  ExtendedParameter?: string;
@@ -16913,21 +16913,21 @@ export interface SampleSnapshotTemplate {
16913
16913
  /**
16914
16914
  * 采样截图模板唯一标识。
16915
16915
  */
16916
- Definition: number;
16916
+ Definition?: number;
16917
16917
  /**
16918
16918
  * 模板类型,取值范围:
16919
16919
  <li>Preset:系统预置模板;</li>
16920
16920
  <li>Custom:用户自定义模板。</li>
16921
16921
  */
16922
- Type: string;
16922
+ Type?: string;
16923
16923
  /**
16924
16924
  * 采样截图模板名称。
16925
16925
  */
16926
- Name: string;
16926
+ Name?: string;
16927
16927
  /**
16928
16928
  * 模板描述信息。
16929
16929
  */
16930
- Comment: string;
16930
+ Comment?: string;
16931
16931
  /**
16932
16932
  * 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
16933
16933
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -16936,7 +16936,7 @@ export interface SampleSnapshotTemplate {
16936
16936
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
16937
16937
  默认值:0。
16938
16938
  */
16939
- Width: number;
16939
+ Width?: number;
16940
16940
  /**
16941
16941
  * 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
16942
16942
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -16945,34 +16945,34 @@ export interface SampleSnapshotTemplate {
16945
16945
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
16946
16946
  默认值:0。
16947
16947
  */
16948
- Height: number;
16948
+ Height?: number;
16949
16949
  /**
16950
16950
  * 分辨率自适应,可选值:
16951
16951
  <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
16952
16952
  <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
16953
16953
  默认值:open。
16954
16954
  */
16955
- ResolutionAdaptive: string;
16955
+ ResolutionAdaptive?: string;
16956
16956
  /**
16957
16957
  * 图片格式。
16958
16958
  */
16959
- Format: string;
16959
+ Format?: string;
16960
16960
  /**
16961
16961
  * 采样截图类型。
16962
16962
  */
16963
- SampleType: string;
16963
+ SampleType?: string;
16964
16964
  /**
16965
16965
  * 采样间隔。
16966
16966
  */
16967
- SampleInterval: number;
16967
+ SampleInterval?: number;
16968
16968
  /**
16969
16969
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
16970
16970
  */
16971
- CreateTime: string;
16971
+ CreateTime?: string;
16972
16972
  /**
16973
16973
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
16974
16974
  */
16975
- UpdateTime: string;
16975
+ UpdateTime?: string;
16976
16976
  /**
16977
16977
  * 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
16978
16978
  <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
@@ -16981,7 +16981,7 @@ export interface SampleSnapshotTemplate {
16981
16981
  <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
16982
16982
  默认值:black 。
16983
16983
  */
16984
- FillType: string;
16984
+ FillType?: string;
16985
16985
  }
16986
16986
  /**
16987
16987
  * 创建的输入RTSP拉流源站配置信息。