tencentcloud-sdk-nodejs-mps 4.1.19 → 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.19",
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
  /**
@@ -670,6 +670,23 @@ export interface AiReviewTaskProhibitedOcrResult {
670
670
  */
671
671
  Output?: AiReviewProhibitedOcrTaskOutput;
672
672
  }
673
+ /**
674
+ * 描述 URL 的完整信息
675
+ */
676
+ export interface StreamUrlDetail {
677
+ /**
678
+ * 会描述运营商信息等
679
+ */
680
+ Label?: string;
681
+ /**
682
+ * URL
683
+ */
684
+ Url?: string;
685
+ /**
686
+ * Playback: 拉流播放地址; RelayDestination:转推目的地址;SourceCaptureUrl:回源拉流地址;IngestEndpoint:推流地址
687
+ */
688
+ Type?: string;
689
+ }
673
690
  /**
674
691
  * 语音全文识别结果。
675
692
  */
@@ -936,6 +953,10 @@ export interface ModifyOutputInfo {
936
953
  * 输出的转推协议,支持SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST。
937
954
  */
938
955
  Protocol: string;
956
+ /**
957
+ * 输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出。
958
+ */
959
+ OutputKind?: string;
939
960
  /**
940
961
  * 转推SRT的配置。
941
962
  */
@@ -1787,15 +1808,15 @@ export interface MediaSnapshotByTimePicInfoItem {
1787
1808
  /**
1788
1809
  * 该张截图对应视频文件中的时间偏移,单位为秒。
1789
1810
  */
1790
- TimeOffset: number;
1811
+ TimeOffset?: number;
1791
1812
  /**
1792
1813
  * 该张截图的路径。
1793
1814
  */
1794
- Path: string;
1815
+ Path?: string;
1795
1816
  /**
1796
1817
  * 截图如果被打上了水印,被打水印的模板 ID 列表。
1797
1818
  */
1798
- WaterMarkDefinition: Array<number | bigint>;
1819
+ WaterMarkDefinition?: Array<number | bigint>;
1799
1820
  }
1800
1821
  /**
1801
1822
  * 用户自定义人物审核任务控制参数
@@ -1846,57 +1867,57 @@ export interface ContentReviewTemplateItem {
1846
1867
  /**
1847
1868
  * 内容审核模板唯一标识。
1848
1869
  */
1849
- Definition: number;
1870
+ Definition?: number;
1850
1871
  /**
1851
1872
  * 内容审核模板名称,长度限制:64 个字符。
1852
1873
  */
1853
- Name: string;
1874
+ Name?: string;
1854
1875
  /**
1855
1876
  * 内容审核模板描述信息,长度限制:256 个字符。
1856
1877
  */
1857
- Comment: string;
1878
+ Comment?: string;
1858
1879
  /**
1859
1880
  * 鉴黄控制参数。
1860
1881
  注意:此字段可能返回 null,表示取不到有效值。
1861
1882
  */
1862
- PornConfigure: PornConfigureInfo;
1883
+ PornConfigure?: PornConfigureInfo;
1863
1884
  /**
1864
1885
  * 涉敏控制参数。
1865
1886
  注意:此字段可能返回 null,表示取不到有效值。
1866
1887
  */
1867
- TerrorismConfigure: TerrorismConfigureInfo;
1888
+ TerrorismConfigure?: TerrorismConfigureInfo;
1868
1889
  /**
1869
1890
  * 涉敏控制参数。
1870
1891
  注意:此字段可能返回 null,表示取不到有效值。
1871
1892
  */
1872
- PoliticalConfigure: PoliticalConfigureInfo;
1893
+ PoliticalConfigure?: PoliticalConfigureInfo;
1873
1894
  /**
1874
1895
  * 违禁控制参数。违禁内容包括:
1875
1896
  <li>谩骂;</li>
1876
1897
  <li>涉毒违法。</li>
1877
1898
  注意:此字段可能返回 null,表示取不到有效值。
1878
1899
  */
1879
- ProhibitedConfigure: ProhibitedConfigureInfo;
1900
+ ProhibitedConfigure?: ProhibitedConfigureInfo;
1880
1901
  /**
1881
1902
  * 用户自定义内容审核控制参数。
1882
1903
  注意:此字段可能返回 null,表示取不到有效值。
1883
1904
  */
1884
- UserDefineConfigure: UserDefineConfigureInfo;
1905
+ UserDefineConfigure?: UserDefineConfigureInfo;
1885
1906
  /**
1886
1907
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
1887
1908
  */
1888
- CreateTime: string;
1909
+ CreateTime?: string;
1889
1910
  /**
1890
1911
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
1891
1912
  */
1892
- UpdateTime: string;
1913
+ UpdateTime?: string;
1893
1914
  /**
1894
1915
  * 模板类型,取值范围:
1895
1916
  * Preset:系统预置模板;
1896
1917
  * Custom:用户自定义模板。
1897
1918
  注意:此字段可能返回 null,表示取不到有效值。
1898
1919
  */
1899
- Type: string;
1920
+ Type?: string;
1900
1921
  }
1901
1922
  /**
1902
1923
  * ModifyStreamLinkFlow返回参数结构体
@@ -3798,56 +3819,56 @@ export interface WatermarkTemplate {
3798
3819
  /**
3799
3820
  * 水印模板唯一标识。
3800
3821
  */
3801
- Definition: number;
3822
+ Definition?: number;
3802
3823
  /**
3803
3824
  * 水印类型,取值:
3804
3825
  <li>image:图片水印;</li>
3805
3826
  <li>text:文字水印。</li>
3806
3827
  */
3807
- Type: string;
3828
+ Type?: string;
3808
3829
  /**
3809
3830
  * 水印模板名称。
3810
3831
  */
3811
- Name: string;
3832
+ Name?: string;
3812
3833
  /**
3813
3834
  * 模板描述信息。
3814
3835
  */
3815
- Comment: string;
3836
+ Comment?: string;
3816
3837
  /**
3817
3838
  * 水印图片原点距离视频图像原点的水平位置。
3818
3839
  <li>当字符串以 % 结尾,表示水印 Left 为视频宽度指定百分比的位置,如 10% 表示 Left 为视频宽度的 10%;</li>
3819
3840
  <li>当字符串以 px 结尾,表示水印 Left 为视频宽度指定像素的位置,如 100px 表示 Left 为 100 像素。</li>
3820
3841
  */
3821
- XPos: string;
3842
+ XPos?: string;
3822
3843
  /**
3823
3844
  * 水印图片原点距离视频图像原点的垂直位置。
3824
3845
  <li>当字符串以 % 结尾,表示水印 Top 为视频高度指定百分比的位置,如 10% 表示 Top 为视频高度的 10%;</li>
3825
3846
  <li>当字符串以 px 结尾,表示水印 Top 为视频高度指定像素的位置,如 100px 表示 Top 为 100 像素。</li>
3826
3847
  */
3827
- YPos: string;
3848
+ YPos?: string;
3828
3849
  /**
3829
3850
  * 图片水印模板,仅当 Type 为 image,该字段有效。
3830
3851
  注意:此字段可能返回 null,表示取不到有效值。
3831
3852
  */
3832
- ImageTemplate: ImageWatermarkTemplate;
3853
+ ImageTemplate?: ImageWatermarkTemplate;
3833
3854
  /**
3834
3855
  * 文字水印模板,仅当 Type 为 text,该字段有效。
3835
3856
  注意:此字段可能返回 null,表示取不到有效值。
3836
3857
  */
3837
- TextTemplate: TextWatermarkTemplateInput;
3858
+ TextTemplate?: TextWatermarkTemplateInput;
3838
3859
  /**
3839
3860
  * SVG 水印模板,当 Type 为 svg,该字段有效。
3840
3861
  注意:此字段可能返回 null,表示取不到有效值。
3841
3862
  */
3842
- SvgTemplate: SvgWatermarkInput;
3863
+ SvgTemplate?: SvgWatermarkInput;
3843
3864
  /**
3844
3865
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
3845
3866
  */
3846
- CreateTime: string;
3867
+ CreateTime?: string;
3847
3868
  /**
3848
3869
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
3849
3870
  */
3850
- UpdateTime: string;
3871
+ UpdateTime?: string;
3851
3872
  /**
3852
3873
  * 原点位置,可选值:
3853
3874
  <li>topLeft:表示坐标原点位于视频图像左上角,水印原点为图片或文字的左上角;</li>
@@ -3855,7 +3876,7 @@ export interface WatermarkTemplate {
3855
3876
  <li>bottomLeft:表示坐标原点位于视频图像的左下角,水印原点为图片或文字的左下角;</li>
3856
3877
  <li>bottomRight:表示坐标原点位于视频图像的右下角,水印原点为图片或文字的右下。;</li>
3857
3878
  */
3858
- CoordinateOrigin: string;
3879
+ CoordinateOrigin?: string;
3859
3880
  }
3860
3881
  /**
3861
3882
  * 文字水印模板
@@ -5999,6 +6020,14 @@ export interface CreateOutputInfo {
5999
6020
  * 输出地区。
6000
6021
  */
6001
6022
  OutputRegion: string;
6023
+ /**
6024
+ * 输出类型:Internet/TencentCSS
6025
+ */
6026
+ OutputType?: string;
6027
+ /**
6028
+ * 输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出
6029
+ */
6030
+ OutputKind?: string;
6002
6031
  /**
6003
6032
  * 输出的SRT的配置。
6004
6033
  */
@@ -6028,10 +6057,6 @@ export interface CreateOutputInfo {
6028
6057
  * 可用区,output最多只支持输入一个可用区。
6029
6058
  */
6030
6059
  Zones?: Array<string>;
6031
- /**
6032
- * 输出类型:Internet/TencentCSS
6033
- */
6034
- OutputType?: string;
6035
6060
  /**
6036
6061
  * 输出的RIST的配置。
6037
6062
  */
@@ -6196,17 +6221,17 @@ export interface DescribeOutputRTPSettings {
6196
6221
  * 转推RTP的目标地址信息列表。
6197
6222
  注意:此字段可能返回 null,表示取不到有效值。
6198
6223
  */
6199
- Destinations: Array<RTPAddressDestination>;
6224
+ Destinations?: Array<RTPAddressDestination>;
6200
6225
  /**
6201
6226
  * 是否FEC。
6202
6227
  注意:此字段可能返回 null,表示取不到有效值。
6203
6228
  */
6204
- FEC: string;
6229
+ FEC?: string;
6205
6230
  /**
6206
6231
  * 空闲超时时间。
6207
6232
  注意:此字段可能返回 null,表示取不到有效值。
6208
6233
  */
6209
- IdleTimeout: number;
6234
+ IdleTimeout?: number;
6210
6235
  }
6211
6236
  /**
6212
6237
  * 视频编辑/合成任务 音频元素信息。
@@ -7592,7 +7617,7 @@ export interface CreateInputSRTSettings {
7592
7617
  */
7593
7618
  StreamId?: string;
7594
7619
  /**
7595
- * 延迟,默认0,单位ms,范围为[0, 3000]。
7620
+ * 延迟,默认120,单位ms,范围为[0, 3000]。
7596
7621
  */
7597
7622
  Latency?: number;
7598
7623
  /**
@@ -7600,7 +7625,7 @@ export interface CreateInputSRTSettings {
7600
7625
  */
7601
7626
  RecvLatency?: number;
7602
7627
  /**
7603
- * 对端延迟,默认0,单位ms,范围为[0, 3000]。
7628
+ * 对端延迟,默认120,单位ms,范围为[0, 3000]。
7604
7629
  */
7605
7630
  PeerLatency?: number;
7606
7631
  /**
@@ -8886,45 +8911,45 @@ export interface LiveStreamAiReviewImagePoliticalResult {
8886
8911
  /**
8887
8912
  * 嫌疑片段起始的 PTS 时间,单位:秒。
8888
8913
  */
8889
- StartPtsTime: number;
8914
+ StartPtsTime?: number;
8890
8915
  /**
8891
8916
  * 嫌疑片段结束的 PTS 时间,单位:秒。
8892
8917
  */
8893
- EndPtsTime: number;
8918
+ EndPtsTime?: number;
8894
8919
  /**
8895
8920
  * 嫌疑片段敏感分数。
8896
8921
  */
8897
- Confidence: number;
8922
+ Confidence?: number;
8898
8923
  /**
8899
8924
  * 嫌疑片段鉴黄结果建议,取值范围:
8900
8925
  <li>pass</li>
8901
8926
  <li>review</li>
8902
8927
  <li>block</li>
8903
8928
  */
8904
- Suggestion: string;
8929
+ Suggestion?: string;
8905
8930
  /**
8906
8931
  * 视频敏感结果标签,取值范围:
8907
8932
  <li>politician:敏感人物。</li>
8908
8933
  <li>violation_photo:违规图标。</li>
8909
8934
  */
8910
- Label: string;
8935
+ Label?: string;
8911
8936
  /**
8912
8937
  * 敏感人物、违规图标名字。
8913
8938
  */
8914
- Name: string;
8939
+ Name?: string;
8915
8940
  /**
8916
8941
  * 敏感人物、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
8917
8942
  */
8918
- AreaCoordSet: Array<number | bigint>;
8943
+ AreaCoordSet?: Array<number | bigint>;
8919
8944
  /**
8920
8945
  * 嫌疑图片 URL (图片不会永久存储,到达
8921
8946
  PicUrlExpireTime 时间点后图片将被删除)。
8922
8947
  */
8923
- Url: string;
8948
+ Url?: string;
8924
8949
  /**
8925
8950
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
8926
8951
  */
8927
- PicUrlExpireTime: string;
8952
+ PicUrlExpireTime?: string;
8928
8953
  }
8929
8954
  /**
8930
8955
  * 图片水印模板输入参数
@@ -9127,6 +9152,10 @@ export interface DescribeInput {
9127
9152
  注意:此字段可能返回 null,表示取不到有效值。
9128
9153
  */
9129
9154
  RISTSettings?: DescribeInputRISTSettings;
9155
+ /**
9156
+ * 输入模块配置相关的URL信息,包含提供的推流地址,或者配置的第三方源流地址
9157
+ */
9158
+ StreamUrls?: Array<StreamUrlDetail>;
9130
9159
  }
9131
9160
  /**
9132
9161
  * DeleteTranscodeTemplate请求参数结构体
@@ -9639,6 +9668,10 @@ export interface DescribeOutput {
9639
9668
  * 输出类型。
9640
9669
  */
9641
9670
  OutputType?: string;
9671
+ /**
9672
+ * 输出模块类型,包括Pinpoint(单点输出,最多支持四路并发输出);MultiMesh(多路输出,支持大于四路的并发输出,目前可以达到200路)。默认类型为 Pinpoint 输出。对于单个 Flow 一个区域最多只能有一个 MultiMesh 输出。
9673
+ */
9674
+ OutputKind?: string;
9642
9675
  /**
9643
9676
  * 输出描述。
9644
9677
  注意:此字段可能返回 null,表示取不到有效值。
@@ -9715,6 +9748,10 @@ export interface DescribeOutput {
9715
9748
  * 对于含有多个音/视频轨的流,可以指定需要使用的轨道
9716
9749
  */
9717
9750
  PidSelector?: PidSelector;
9751
+ /**
9752
+ * 输出模块配置,相关的URL,包括提供的拉流地址,或者配置的输出到第三方的转推地址
9753
+ */
9754
+ StreamUrls?: Array<StreamUrlDetail>;
9718
9755
  }
9719
9756
  /**
9720
9757
  * 直播 AI 内容审核声音鉴黄结果
@@ -9780,26 +9817,26 @@ export interface MediaContentReviewPoliticalSegmentItem {
9780
9817
  /**
9781
9818
  * 嫌疑片段起始的偏移时间,单位:秒。
9782
9819
  */
9783
- StartTimeOffset: number;
9820
+ StartTimeOffset?: number;
9784
9821
  /**
9785
9822
  * 嫌疑片段结束的偏移时间,单位:秒。
9786
9823
  */
9787
- EndTimeOffset: number;
9824
+ EndTimeOffset?: number;
9788
9825
  /**
9789
9826
  * 嫌疑片段涉敏分数。
9790
9827
  */
9791
- Confidence: number;
9828
+ Confidence?: number;
9792
9829
  /**
9793
9830
  * 嫌疑片段涉敏结果建议,取值范围:
9794
9831
  <li>pass。</li>
9795
9832
  <li>review。</li>
9796
9833
  <li>block。</li>
9797
9834
  */
9798
- Suggestion: string;
9835
+ Suggestion?: string;
9799
9836
  /**
9800
9837
  * 涉敏人物、违规图标名字。
9801
9838
  */
9802
- Name: string;
9839
+ Name?: string;
9803
9840
  /**
9804
9841
  * 嫌疑片段涉敏结果标签。内容审核模板[画面涉敏任务控制参数](https://cloud.tencent.com/document/api/862/37615#PoliticalImgReviewTemplateInfo)里 LabelSet 参数与此参数取值范围的对应关系:
9805
9842
  violation_photo:
@@ -9826,20 +9863,20 @@ export interface MediaContentReviewPoliticalSegmentItem {
9826
9863
  military:
9827
9864
  <li>sensitive_military:敏感军事人物。</li>
9828
9865
  */
9829
- Label: string;
9866
+ Label?: string;
9830
9867
  /**
9831
9868
  * 嫌疑图片 URL (图片不会永久存储,到达
9832
9869
  PicUrlExpireTime 时间点后图片将被删除)。
9833
9870
  */
9834
- Url: string;
9871
+ Url?: string;
9835
9872
  /**
9836
9873
  * 涉敏人物、违规图标出现的区域坐标 (像素级),[x1, y1, x2, y2],即左上角坐标、右下角坐标。
9837
9874
  */
9838
- AreaCoordSet: Array<number | bigint>;
9875
+ AreaCoordSet?: Array<number | bigint>;
9839
9876
  /**
9840
9877
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
9841
9878
  */
9842
- PicUrlExpireTime: string;
9879
+ PicUrlExpireTime?: string;
9843
9880
  }
9844
9881
  /**
9845
9882
  * DeletePersonSample返回参数结构体
@@ -10043,17 +10080,17 @@ export interface ImageSpriteTemplate {
10043
10080
  /**
10044
10081
  * 雪碧图模板唯一标识。
10045
10082
  */
10046
- Definition: number;
10083
+ Definition?: number;
10047
10084
  /**
10048
10085
  * 模板类型,取值范围:
10049
10086
  <li>Preset:系统预置模板;</li>
10050
10087
  <li>Custom:用户自定义模板。</li>
10051
10088
  */
10052
- Type: string;
10089
+ Type?: string;
10053
10090
  /**
10054
10091
  * 雪碧图模板名称。
10055
10092
  */
10056
- Name: string;
10093
+ Name?: string;
10057
10094
  /**
10058
10095
  * 雪碧图中小图的宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
10059
10096
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -10062,7 +10099,7 @@ export interface ImageSpriteTemplate {
10062
10099
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
10063
10100
  默认值:0。
10064
10101
  */
10065
- Width: number;
10102
+ Width?: number;
10066
10103
  /**
10067
10104
  * 雪碧图中小图的高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
10068
10105
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -10071,53 +10108,53 @@ export interface ImageSpriteTemplate {
10071
10108
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
10072
10109
  默认值:0。
10073
10110
  */
10074
- Height: number;
10111
+ Height?: number;
10075
10112
  /**
10076
10113
  * 分辨率自适应,可选值:
10077
10114
  <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
10078
10115
  <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
10079
10116
  默认值:open。
10080
10117
  */
10081
- ResolutionAdaptive: string;
10118
+ ResolutionAdaptive?: string;
10082
10119
  /**
10083
10120
  * 采样类型。
10084
10121
  */
10085
- SampleType: string;
10122
+ SampleType?: string;
10086
10123
  /**
10087
10124
  * 采样间隔。
10088
10125
  */
10089
- SampleInterval: number;
10126
+ SampleInterval?: number;
10090
10127
  /**
10091
10128
  * 雪碧图中小图的行数。
10092
10129
  */
10093
- RowCount: number;
10130
+ RowCount?: number;
10094
10131
  /**
10095
10132
  * 雪碧图中小图的列数。
10096
10133
  */
10097
- ColumnCount: number;
10134
+ ColumnCount?: number;
10098
10135
  /**
10099
10136
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
10100
10137
  */
10101
- CreateTime: string;
10138
+ CreateTime?: string;
10102
10139
  /**
10103
10140
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
10104
10141
  */
10105
- UpdateTime: string;
10142
+ UpdateTime?: string;
10106
10143
  /**
10107
10144
  * 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
10108
10145
  <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
10109
10146
  <li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li>
10110
10147
  默认值:black 。
10111
10148
  */
10112
- FillType: string;
10149
+ FillType?: string;
10113
10150
  /**
10114
10151
  * 模板描述信息。
10115
10152
  */
10116
- Comment: string;
10153
+ Comment?: string;
10117
10154
  /**
10118
10155
  * 图片格式。
10119
10156
  */
10120
- Format: string;
10157
+ Format?: string;
10121
10158
  }
10122
10159
  /**
10123
10160
  * 文本全文识别片段。
@@ -10244,19 +10281,19 @@ export interface LiveStreamAsrFullTextRecognitionResult {
10244
10281
  /**
10245
10282
  * 识别文本。
10246
10283
  */
10247
- Text: string;
10284
+ Text?: string;
10248
10285
  /**
10249
10286
  * 识别片段起始的 PTS 时间,单位:秒。
10250
10287
  */
10251
- StartPtsTime: number;
10288
+ StartPtsTime?: number;
10252
10289
  /**
10253
10290
  * 识别片段终止的 PTS 时间,单位:秒。
10254
10291
  */
10255
- EndPtsTime: number;
10292
+ EndPtsTime?: number;
10256
10293
  /**
10257
10294
  * 识别片段置信度。取值:0~100。
10258
10295
  */
10259
- Confidence: number;
10296
+ Confidence?: number;
10260
10297
  /**
10261
10298
  * 识别开始UTC时间。
10262
10299
  注意:此字段可能返回 null,表示取不到有效值。
@@ -11848,18 +11885,18 @@ export interface AiReviewPoliticalAsrTaskOutput {
11848
11885
  /**
11849
11886
  * Asr 文字敏感评分,分值为0到100。
11850
11887
  */
11851
- Confidence: number;
11888
+ Confidence?: number;
11852
11889
  /**
11853
11890
  * Asr 文字敏感结果建议,取值范围:
11854
11891
  <li>pass。</li>
11855
11892
  <li>review。</li>
11856
11893
  <li>block。</li>
11857
11894
  */
11858
- Suggestion: string;
11895
+ Suggestion?: string;
11859
11896
  /**
11860
11897
  * Asr 文字敏感嫌疑的视频片段列表。
11861
11898
  */
11862
- SegmentSet: Array<MediaContentReviewAsrTextSegmentItem>;
11899
+ SegmentSet?: Array<MediaContentReviewAsrTextSegmentItem>;
11863
11900
  }
11864
11901
  /**
11865
11902
  * 流状态实时查询接口的SRT信息。
@@ -12574,7 +12611,7 @@ export interface CreateStreamLinkOutputInfoRequest {
12574
12611
  */
12575
12612
  export interface ComposeMediaTrack {
12576
12613
  /**
12577
- * 轨道类型,取值有:<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>
12578
12615
  */
12579
12616
  Type: string;
12580
12617
  /**
@@ -13415,23 +13452,23 @@ export interface LiveStreamTransTextRecognitionResult {
13415
13452
  /**
13416
13453
  * 识别文本。
13417
13454
  */
13418
- Text: string;
13455
+ Text?: string;
13419
13456
  /**
13420
13457
  * 翻译片段起始的 PTS 时间,单位:秒。
13421
13458
  */
13422
- StartPtsTime: number;
13459
+ StartPtsTime?: number;
13423
13460
  /**
13424
13461
  * 翻译片段终止的 PTS 时间,单位:秒。
13425
13462
  */
13426
- EndPtsTime: number;
13463
+ EndPtsTime?: number;
13427
13464
  /**
13428
13465
  * 翻译片段置信度。取值:0~100。
13429
13466
  */
13430
- Confidence: number;
13467
+ Confidence?: number;
13431
13468
  /**
13432
13469
  * 翻译文本。
13433
13470
  */
13434
- Trans: string;
13471
+ Trans?: string;
13435
13472
  /**
13436
13473
  * 翻译开始UTC时间。
13437
13474
  注意:此字段可能返回 null,表示取不到有效值。
@@ -13634,14 +13671,14 @@ export interface AiReviewPoliticalTaskOutput {
13634
13671
  /**
13635
13672
  * 视频涉敏评分,分值为0到100。
13636
13673
  */
13637
- Confidence: number;
13674
+ Confidence?: number;
13638
13675
  /**
13639
13676
  * 涉敏结果建议,取值范围:
13640
13677
  <li>pass。</li>
13641
13678
  <li>review。</li>
13642
13679
  <li>block。</li>
13643
13680
  */
13644
- Suggestion: string;
13681
+ Suggestion?: string;
13645
13682
  /**
13646
13683
  * 视频涉敏结果标签。内容审核模板[画面涉敏任务控制参数](https://cloud.tencent.com/document/api/862/37615#AiReviewPoliticalTaskOutput)里 LabelSet 参数与此参数取值范围的对应关系:
13647
13684
  violation_photo:
@@ -13649,11 +13686,11 @@ export interface AiReviewPoliticalTaskOutput {
13649
13686
  其他(即 politician/entertainment/sport/entrepreneur/scholar/celebrity/military):
13650
13687
  <li>politician:涉敏人物。</li>
13651
13688
  */
13652
- Label: string;
13689
+ Label?: string;
13653
13690
  /**
13654
13691
  * 有涉敏嫌疑的视频片段列表。
13655
13692
  */
13656
- SegmentSet: Array<MediaContentReviewPoliticalSegmentItem>;
13693
+ SegmentSet?: Array<MediaContentReviewPoliticalSegmentItem>;
13657
13694
  }
13658
13695
  /**
13659
13696
  * 内容审核涉敏任务结果类型
@@ -14246,22 +14283,22 @@ export interface LiveStreamAiReviewImageTerrorismResult {
14246
14283
  /**
14247
14284
  * 嫌疑片段起始的 PTS 时间,单位:秒。
14248
14285
  */
14249
- StartPtsTime: number;
14286
+ StartPtsTime?: number;
14250
14287
  /**
14251
14288
  * 嫌疑片段结束的 PTS 时间,单位:秒。
14252
14289
  */
14253
- EndPtsTime: number;
14290
+ EndPtsTime?: number;
14254
14291
  /**
14255
14292
  * 嫌疑片段涉敏分数。
14256
14293
  */
14257
- Confidence: number;
14294
+ Confidence?: number;
14258
14295
  /**
14259
14296
  * 嫌疑片段涉敏结果建议,取值范围:
14260
14297
  <li>pass</li>
14261
14298
  <li>review</li>
14262
14299
  <li>block</li>
14263
14300
  */
14264
- Suggestion: string;
14301
+ Suggestion?: string;
14265
14302
  /**
14266
14303
  * 视频涉敏结果标签,取值范围:
14267
14304
  <li>guns:武器枪支。</li>
@@ -14273,16 +14310,16 @@ export interface LiveStreamAiReviewImageTerrorismResult {
14273
14310
  <li>explosion:爆炸火灾。</li>
14274
14311
  <li>terrorists:涉敏人物。</li>
14275
14312
  */
14276
- Label: string;
14313
+ Label?: string;
14277
14314
  /**
14278
14315
  * 嫌疑图片 URL (图片不会永久存储,到达
14279
14316
  PicUrlExpireTime 时间点后图片将被删除)。
14280
14317
  */
14281
- Url: string;
14318
+ Url?: string;
14282
14319
  /**
14283
14320
  * 嫌疑图片 URL 失效时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
14284
14321
  */
14285
- PicUrlExpireTime: string;
14322
+ PicUrlExpireTime?: string;
14286
14323
  }
14287
14324
  /**
14288
14325
  * ProcessLiveStream请求参数结构体
@@ -15690,7 +15727,7 @@ export interface ModifyInput {
15690
15727
  */
15691
15728
  RTPSettings: CreateInputRTPSettings;
15692
15729
  /**
15693
- * 输入的协议,可选[SRT|RTP|RTMP_PUSH|RTMP_PULL|RTSP_PULL|RIST]。 -
15730
+ * 输入的协议,可选[SRT|RTP|RTMP|RTMP_PULL|RTSP_PULL|RIST]。 -
15694
15731
  */
15695
15732
  Protocol?: string;
15696
15733
  /**
@@ -16349,18 +16386,18 @@ export interface AiReviewPoliticalOcrTaskOutput {
16349
16386
  /**
16350
16387
  * Ocr 文字敏感评分,分值为0到100。
16351
16388
  */
16352
- Confidence: number;
16389
+ Confidence?: number;
16353
16390
  /**
16354
16391
  * Ocr 文字敏感结果建议,取值范围:
16355
16392
  <li>pass。</li>
16356
16393
  <li>review。</li>
16357
16394
  <li>block。</li>
16358
16395
  */
16359
- Suggestion: string;
16396
+ Suggestion?: string;
16360
16397
  /**
16361
16398
  * Ocr 文字有敏感嫌疑的视频片段列表。
16362
16399
  */
16363
- SegmentSet: Array<MediaContentReviewOcrTextSegmentItem>;
16400
+ SegmentSet?: Array<MediaContentReviewOcrTextSegmentItem>;
16364
16401
  }
16365
16402
  /**
16366
16403
  * 文本全文本识别任务控制参数
@@ -16506,10 +16543,10 @@ export interface AiAnalysisTaskInput {
16506
16543
  /**
16507
16544
  * 扩展参数,其值为序列化的 json字符串。
16508
16545
  注意:此参数为定制需求参数,参考如下:
16509
- 智能檫除:https://cloud.tencent.com/document/product/862/101530
16510
- 智能拆条:https://cloud.tencent.com/document/product/862/112098
16511
- 高光集锦:https://cloud.tencent.com/document/product/862/107280
16512
- 智能横转竖: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)
16513
16550
  注意:此字段可能返回 null,表示取不到有效值。
16514
16551
  */
16515
16552
  ExtendedParameter?: string;
@@ -16876,21 +16913,21 @@ export interface SampleSnapshotTemplate {
16876
16913
  /**
16877
16914
  * 采样截图模板唯一标识。
16878
16915
  */
16879
- Definition: number;
16916
+ Definition?: number;
16880
16917
  /**
16881
16918
  * 模板类型,取值范围:
16882
16919
  <li>Preset:系统预置模板;</li>
16883
16920
  <li>Custom:用户自定义模板。</li>
16884
16921
  */
16885
- Type: string;
16922
+ Type?: string;
16886
16923
  /**
16887
16924
  * 采样截图模板名称。
16888
16925
  */
16889
- Name: string;
16926
+ Name?: string;
16890
16927
  /**
16891
16928
  * 模板描述信息。
16892
16929
  */
16893
- Comment: string;
16930
+ Comment?: string;
16894
16931
  /**
16895
16932
  * 截图宽度(或长边)的最大值,取值范围:0 和 [128, 4096],单位:px。
16896
16933
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -16899,7 +16936,7 @@ export interface SampleSnapshotTemplate {
16899
16936
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
16900
16937
  默认值:0。
16901
16938
  */
16902
- Width: number;
16939
+ Width?: number;
16903
16940
  /**
16904
16941
  * 截图高度(或短边)的最大值,取值范围:0 和 [128, 4096],单位:px。
16905
16942
  <li>当 Width、Height 均为 0,则分辨率同源;</li>
@@ -16908,34 +16945,34 @@ export interface SampleSnapshotTemplate {
16908
16945
  <li>当 Width、Height 均非 0,则分辨率按用户指定。</li>
16909
16946
  默认值:0。
16910
16947
  */
16911
- Height: number;
16948
+ Height?: number;
16912
16949
  /**
16913
16950
  * 分辨率自适应,可选值:
16914
16951
  <li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li>
16915
16952
  <li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>
16916
16953
  默认值:open。
16917
16954
  */
16918
- ResolutionAdaptive: string;
16955
+ ResolutionAdaptive?: string;
16919
16956
  /**
16920
16957
  * 图片格式。
16921
16958
  */
16922
- Format: string;
16959
+ Format?: string;
16923
16960
  /**
16924
16961
  * 采样截图类型。
16925
16962
  */
16926
- SampleType: string;
16963
+ SampleType?: string;
16927
16964
  /**
16928
16965
  * 采样间隔。
16929
16966
  */
16930
- SampleInterval: number;
16967
+ SampleInterval?: number;
16931
16968
  /**
16932
16969
  * 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
16933
16970
  */
16934
- CreateTime: string;
16971
+ CreateTime?: string;
16935
16972
  /**
16936
16973
  * 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
16937
16974
  */
16938
- UpdateTime: string;
16975
+ UpdateTime?: string;
16939
16976
  /**
16940
16977
  * 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:
16941
16978
  <li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁“或者“拉长“;</li>
@@ -16944,7 +16981,7 @@ export interface SampleSnapshotTemplate {
16944
16981
  <li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊。</li>
16945
16982
  默认值:black 。
16946
16983
  */
16947
- FillType: string;
16984
+ FillType?: string;
16948
16985
  }
16949
16986
  /**
16950
16987
  * 创建的输入RTSP拉流源站配置信息。