tencentcloud-sdk-nodejs-intl-en 3.0.1025 → 3.0.1026
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
|
@@ -11379,7 +11379,7 @@ class AttachPluginRequest extends AbstractModel {
|
|
|
11379
11379
|
this.EnvironmentName = null;
|
|
11380
11380
|
|
|
11381
11381
|
/**
|
|
11382
|
-
* List of APIs bound with the plugin
|
|
11382
|
+
* List of APIs bound with the plugin
|
|
11383
11383
|
* @type {Array.<string> || null}
|
|
11384
11384
|
*/
|
|
11385
11385
|
this.ApiIds = null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.1026";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -94,7 +94,7 @@ class AudioTrackInfo extends AbstractModel {
|
|
|
94
94
|
this.TrackName = null;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* Audio encoding format, only `AAC` and `PASSTHROUGH` are available, with `AAC` as the default.
|
|
98
98
|
* @type {string || null}
|
|
99
99
|
*/
|
|
100
100
|
this.AudioCodec = null;
|
|
@@ -1204,7 +1204,7 @@ class AVTemplate extends AbstractModel {
|
|
|
1204
1204
|
this.NeedAudio = null;
|
|
1205
1205
|
|
|
1206
1206
|
/**
|
|
1207
|
-
* Audio
|
|
1207
|
+
* Audio encoding format, only `AAC` and `PASSTHROUGH` are available, with `AAC` as the default.
|
|
1208
1208
|
* @type {string || null}
|
|
1209
1209
|
*/
|
|
1210
1210
|
this.Acodec = null;
|
|
@@ -3930,7 +3930,7 @@ class AudioTemplateInfo extends AbstractModel {
|
|
|
3930
3930
|
this.Name = null;
|
|
3931
3931
|
|
|
3932
3932
|
/**
|
|
3933
|
-
* Audio
|
|
3933
|
+
* Audio encoding format, only `AAC` and `PASSTHROUGH` are available, with `AAC` as the default.
|
|
3934
3934
|
* @type {string || null}
|
|
3935
3935
|
*/
|
|
3936
3936
|
this.Acodec = null;
|
|
@@ -7795,6 +7795,34 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
7795
7795
|
}
|
|
7796
7796
|
}
|
|
7797
7797
|
|
|
7798
|
+
/**
|
|
7799
|
+
* DescribeEventConfig request structure.
|
|
7800
|
+
* @class
|
|
7801
|
+
*/
|
|
7802
|
+
class DescribeEventConfigRequest extends AbstractModel {
|
|
7803
|
+
constructor(){
|
|
7804
|
+
super();
|
|
7805
|
+
|
|
7806
|
+
/**
|
|
7807
|
+
* <b>The VOD [application](https://www.tencentcloud.com/document/product/266/33987) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
7808
|
+
* @type {number || null}
|
|
7809
|
+
*/
|
|
7810
|
+
this.SubAppId = null;
|
|
7811
|
+
|
|
7812
|
+
}
|
|
7813
|
+
|
|
7814
|
+
/**
|
|
7815
|
+
* @private
|
|
7816
|
+
*/
|
|
7817
|
+
deserialize(params) {
|
|
7818
|
+
if (!params) {
|
|
7819
|
+
return;
|
|
7820
|
+
}
|
|
7821
|
+
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
7822
|
+
|
|
7823
|
+
}
|
|
7824
|
+
}
|
|
7825
|
+
|
|
7798
7826
|
/**
|
|
7799
7827
|
* Video segment containing OCR-detected suspicious content
|
|
7800
7828
|
* @class
|
|
@@ -11113,6 +11141,44 @@ class EnhanceMediaQualityRequest extends AbstractModel {
|
|
|
11113
11141
|
}
|
|
11114
11142
|
}
|
|
11115
11143
|
|
|
11144
|
+
/**
|
|
11145
|
+
*
|
|
11146
|
+
* @class
|
|
11147
|
+
*/
|
|
11148
|
+
class PersistenceCompleteTask extends AbstractModel {
|
|
11149
|
+
constructor(){
|
|
11150
|
+
super();
|
|
11151
|
+
|
|
11152
|
+
/**
|
|
11153
|
+
* File ID of new media generated by persistence.
|
|
11154
|
+
* @type {string || null}
|
|
11155
|
+
*/
|
|
11156
|
+
this.FileId = null;
|
|
11157
|
+
|
|
11158
|
+
/**
|
|
11159
|
+
* The source of persistence.
|
|
11160
|
+
<li>SimpleHlsClip: from SimpleHlsClip API;</li>
|
|
11161
|
+
<li>FastEditMedia: from FastEditMedia API;</li>
|
|
11162
|
+
<li>LiveRealTimeClip: from LiveRealTimeClip API.</li>
|
|
11163
|
+
* @type {string || null}
|
|
11164
|
+
*/
|
|
11165
|
+
this.PersistenceSource = null;
|
|
11166
|
+
|
|
11167
|
+
}
|
|
11168
|
+
|
|
11169
|
+
/**
|
|
11170
|
+
* @private
|
|
11171
|
+
*/
|
|
11172
|
+
deserialize(params) {
|
|
11173
|
+
if (!params) {
|
|
11174
|
+
return;
|
|
11175
|
+
}
|
|
11176
|
+
this.FileId = 'FileId' in params ? params.FileId : null;
|
|
11177
|
+
this.PersistenceSource = 'PersistenceSource' in params ? params.PersistenceSource : null;
|
|
11178
|
+
|
|
11179
|
+
}
|
|
11180
|
+
}
|
|
11181
|
+
|
|
11116
11182
|
/**
|
|
11117
11183
|
* Face recognition result segment
|
|
11118
11184
|
* @class
|
|
@@ -12186,7 +12252,7 @@ class LiveRealTimeClipRequest extends AbstractModel {
|
|
|
12186
12252
|
this.EndTime = null;
|
|
12187
12253
|
|
|
12188
12254
|
/**
|
|
12189
|
-
* <b>The VOD [application](https://
|
|
12255
|
+
* <b>The VOD [application](https://www.tencentcloud.com/document/product/266/33987) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
12190
12256
|
* @type {number || null}
|
|
12191
12257
|
*/
|
|
12192
12258
|
this.SubAppId = null;
|
|
@@ -18724,7 +18790,13 @@ Note: If the NotificationUrl parameter is provided and the value is an empty str
|
|
|
18724
18790
|
this.DeleteMediaCompleteEventSwitch = null;
|
|
18725
18791
|
|
|
18726
18792
|
/**
|
|
18727
|
-
*
|
|
18793
|
+
* Whether to receive the Persistence completed event notification, the default "OFF" means to ignore the event notification, "ON" means to receive the event notification.
|
|
18794
|
+
* @type {string || null}
|
|
18795
|
+
*/
|
|
18796
|
+
this.PersistenceCompleteEventSwitch = null;
|
|
18797
|
+
|
|
18798
|
+
/**
|
|
18799
|
+
* <b>The VOD [application](https://www.tencentcloud.com/document/product/266/33987) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
|
|
18728
18800
|
* @type {number || null}
|
|
18729
18801
|
*/
|
|
18730
18802
|
this.SubAppId = null;
|
|
@@ -18742,6 +18814,7 @@ Note: If the NotificationUrl parameter is provided and the value is an empty str
|
|
|
18742
18814
|
this.NotificationUrl = 'NotificationUrl' in params ? params.NotificationUrl : null;
|
|
18743
18815
|
this.UploadMediaCompleteEventSwitch = 'UploadMediaCompleteEventSwitch' in params ? params.UploadMediaCompleteEventSwitch : null;
|
|
18744
18816
|
this.DeleteMediaCompleteEventSwitch = 'DeleteMediaCompleteEventSwitch' in params ? params.DeleteMediaCompleteEventSwitch : null;
|
|
18817
|
+
this.PersistenceCompleteEventSwitch = 'PersistenceCompleteEventSwitch' in params ? params.PersistenceCompleteEventSwitch : null;
|
|
18745
18818
|
this.SubAppId = 'SubAppId' in params ? params.SubAppId : null;
|
|
18746
18819
|
|
|
18747
18820
|
}
|
|
@@ -19869,6 +19942,24 @@ This parameter is valid only if `IsPersistence` is `1`.
|
|
|
19869
19942
|
*/
|
|
19870
19943
|
this.SessionContext = null;
|
|
19871
19944
|
|
|
19945
|
+
/**
|
|
19946
|
+
*
|
|
19947
|
+
* @type {string || null}
|
|
19948
|
+
*/
|
|
19949
|
+
this.Precision = null;
|
|
19950
|
+
|
|
19951
|
+
/**
|
|
19952
|
+
*
|
|
19953
|
+
* @type {string || null}
|
|
19954
|
+
*/
|
|
19955
|
+
this.OutputMediaType = null;
|
|
19956
|
+
|
|
19957
|
+
/**
|
|
19958
|
+
*
|
|
19959
|
+
* @type {string || null}
|
|
19960
|
+
*/
|
|
19961
|
+
this.ExtInfo = null;
|
|
19962
|
+
|
|
19872
19963
|
}
|
|
19873
19964
|
|
|
19874
19965
|
/**
|
|
@@ -19888,6 +19979,9 @@ This parameter is valid only if `IsPersistence` is `1`.
|
|
|
19888
19979
|
this.ClassId = 'ClassId' in params ? params.ClassId : null;
|
|
19889
19980
|
this.SourceContext = 'SourceContext' in params ? params.SourceContext : null;
|
|
19890
19981
|
this.SessionContext = 'SessionContext' in params ? params.SessionContext : null;
|
|
19982
|
+
this.Precision = 'Precision' in params ? params.Precision : null;
|
|
19983
|
+
this.OutputMediaType = 'OutputMediaType' in params ? params.OutputMediaType : null;
|
|
19984
|
+
this.ExtInfo = 'ExtInfo' in params ? params.ExtInfo : null;
|
|
19891
19985
|
|
|
19892
19986
|
}
|
|
19893
19987
|
}
|
|
@@ -25654,6 +25748,71 @@ Note: this field may return null, indicating that no valid values can be obtaine
|
|
|
25654
25748
|
}
|
|
25655
25749
|
}
|
|
25656
25750
|
|
|
25751
|
+
/**
|
|
25752
|
+
* DescribeEventConfig response structure.
|
|
25753
|
+
* @class
|
|
25754
|
+
*/
|
|
25755
|
+
class DescribeEventConfigResponse extends AbstractModel {
|
|
25756
|
+
constructor(){
|
|
25757
|
+
super();
|
|
25758
|
+
|
|
25759
|
+
/**
|
|
25760
|
+
* How to receive event notifications.
|
|
25761
|
+
<li>PUSH: [HTTP callback notification](https://www.tencentcloud.com/document/product/266/33948);</li>
|
|
25762
|
+
<li>PULL: [Reliable notification based on message queue ](https://www.tencentcloud.com/document/product/266/33948). </li>
|
|
25763
|
+
* @type {string || null}
|
|
25764
|
+
*/
|
|
25765
|
+
this.Mode = null;
|
|
25766
|
+
|
|
25767
|
+
/**
|
|
25768
|
+
* The address used to receive 3.0 format callbacks when using the [HTTP callback notification](https://www.tencentcloud.com/document/product/266/33948) reception method.
|
|
25769
|
+
* @type {string || null}
|
|
25770
|
+
*/
|
|
25771
|
+
this.NotificationUrl = null;
|
|
25772
|
+
|
|
25773
|
+
/**
|
|
25774
|
+
* Whether to receive the [Video Upload Completed](https://www.tencentcloud.com/document/product/266/33950) event notification. "OFF" is to ignore the event notification, and "ON" is to receive the event notification.
|
|
25775
|
+
* @type {string || null}
|
|
25776
|
+
*/
|
|
25777
|
+
this.UploadMediaCompleteEventSwitch = null;
|
|
25778
|
+
|
|
25779
|
+
/**
|
|
25780
|
+
* Whether to receive [Video deletion completed](https://www.tencentcloud.com/document/product/266/33952) event notification, "OFF" means to ignore the event notification, "ON" means to receive the event notification .
|
|
25781
|
+
* @type {string || null}
|
|
25782
|
+
*/
|
|
25783
|
+
this.DeleteMediaCompleteEventSwitch = null;
|
|
25784
|
+
|
|
25785
|
+
/**
|
|
25786
|
+
* Whether to receive the Persistence completed event notification, "OFF" means to ignore the event notification, "ON" means to receive the event notification.
|
|
25787
|
+
* @type {string || null}
|
|
25788
|
+
*/
|
|
25789
|
+
this.PersistenceCompleteEventSwitch = null;
|
|
25790
|
+
|
|
25791
|
+
/**
|
|
25792
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
25793
|
+
* @type {string || null}
|
|
25794
|
+
*/
|
|
25795
|
+
this.RequestId = null;
|
|
25796
|
+
|
|
25797
|
+
}
|
|
25798
|
+
|
|
25799
|
+
/**
|
|
25800
|
+
* @private
|
|
25801
|
+
*/
|
|
25802
|
+
deserialize(params) {
|
|
25803
|
+
if (!params) {
|
|
25804
|
+
return;
|
|
25805
|
+
}
|
|
25806
|
+
this.Mode = 'Mode' in params ? params.Mode : null;
|
|
25807
|
+
this.NotificationUrl = 'NotificationUrl' in params ? params.NotificationUrl : null;
|
|
25808
|
+
this.UploadMediaCompleteEventSwitch = 'UploadMediaCompleteEventSwitch' in params ? params.UploadMediaCompleteEventSwitch : null;
|
|
25809
|
+
this.DeleteMediaCompleteEventSwitch = 'DeleteMediaCompleteEventSwitch' in params ? params.DeleteMediaCompleteEventSwitch : null;
|
|
25810
|
+
this.PersistenceCompleteEventSwitch = 'PersistenceCompleteEventSwitch' in params ? params.PersistenceCompleteEventSwitch : null;
|
|
25811
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
25812
|
+
|
|
25813
|
+
}
|
|
25814
|
+
}
|
|
25815
|
+
|
|
25657
25816
|
/**
|
|
25658
25817
|
* DescribeCdnLogs response structure.
|
|
25659
25818
|
* @class
|
|
@@ -30876,167 +31035,158 @@ class EventContent extends AbstractModel {
|
|
|
30876
31035
|
this.EventHandle = null;
|
|
30877
31036
|
|
|
30878
31037
|
/**
|
|
30879
|
-
* <b>Supported event types:</b><li>`NewFileUpload`: Video uploaded.</li><li>`ProcedureStateChanged`: Task flow status changed.</li><li>`FileDeleted`: Video deleted.</li><li>`RestoreMediaComplete`: Video retrieved.</li><li>`PullComplete`: Finished video pulling.</li><li>`EditMediaComplete`: Finished video editing.</li><li>`SplitMediaComplete`: Finished video splitting.</li><li>`ComposeMediaComplete`: Finished producing the media file.</li><li>`WechatMiniProgramPublishComplete`: Finished publishing on Weixin Mini Program.</li><li>`RemoveWatermark`: Watermark removed.</li><li>`RebuildMediaComplete`: Finished audio/video remastering.</li><li>`ReviewAudioVideoComplete`: Finished moderation.</li><li>`ExtractTraceWatermarkComplete`: Finished digital watermark extraction.</li><li>`DescribeFileAttributesComplete`: Finished getting file attributes.</li><li>`QualityEnhanceComplete`: FinishedQualityEnhance.</li><b>v2017 task types:</b><li>`TranscodeComplete`: Finished video transcoding.</li><li>`ConcatComplete`: Finished video splicing.</li><li>`ClipComplete`: Finished video clipping.</li><li>`CreateImageSpriteComplete`: Finished image sprite generation.</li><li>`CreateSnapshotByTimeOffsetComplete`: Finished time point screencapturing.</li>
|
|
31038
|
+
* <b>Supported event types:</b><li>`NewFileUpload`: Video uploaded.</li><li>`ProcedureStateChanged`: Task flow status changed.</li><li>`FileDeleted`: Video deleted.</li><li>`RestoreMediaComplete`: Video retrieved.</li><li>`PullComplete`: Finished video pulling.</li><li>`EditMediaComplete`: Finished video editing.</li><li>`SplitMediaComplete`: Finished video splitting.</li><li>`ComposeMediaComplete`: Finished producing the media file.</li><li>`WechatMiniProgramPublishComplete`: Finished publishing on Weixin Mini Program.</li><li>`RemoveWatermark`: Watermark removed.</li><li>`RebuildMediaComplete`: Finished audio/video remastering.</li><li>`ReviewAudioVideoComplete`: Finished moderation.</li><li>`ExtractTraceWatermarkComplete`: Finished digital watermark extraction.</li><li>`DescribeFileAttributesComplete`: Finished getting file attributes.</li><li>`QualityEnhanceComplete`: FinishedQualityEnhance.</li><li>`PersistenceComplete`: Clipping persistented. </li><b>v2017 task types:</b><li>`TranscodeComplete`: Finished video transcoding.</li><li>`ConcatComplete`: Finished video splicing.</li><li>`ClipComplete`: Finished video clipping.</li><li>`CreateImageSpriteComplete`: Finished image sprite generation.</li><li>`CreateSnapshotByTimeOffsetComplete`: Finished time point screencapturing.</li>
|
|
30880
31039
|
* @type {string || null}
|
|
30881
31040
|
*/
|
|
30882
31041
|
this.EventType = null;
|
|
30883
31042
|
|
|
30884
31043
|
/**
|
|
30885
|
-
*
|
|
31044
|
+
* Media uploaded event, valid when the event type is NewFileUpload.
|
|
30886
31045
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30887
31046
|
* @type {FileUploadTask || null}
|
|
30888
31047
|
*/
|
|
30889
31048
|
this.FileUploadEvent = null;
|
|
30890
31049
|
|
|
30891
31050
|
/**
|
|
30892
|
-
*
|
|
31051
|
+
* Task flow status changed event, valid when the event type is ProcedureStateChanged.
|
|
30893
31052
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30894
31053
|
* @type {ProcedureTask || null}
|
|
30895
31054
|
*/
|
|
30896
31055
|
this.ProcedureStateChangeEvent = null;
|
|
30897
31056
|
|
|
30898
31057
|
/**
|
|
30899
|
-
*
|
|
31058
|
+
* File deleted event, valid when the event type is FileDeleted.
|
|
30900
31059
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30901
31060
|
* @type {FileDeleteTask || null}
|
|
30902
31061
|
*/
|
|
30903
31062
|
this.FileDeleteEvent = null;
|
|
30904
31063
|
|
|
30905
31064
|
/**
|
|
30906
|
-
*
|
|
31065
|
+
* PullUpload completion event, valid when the event type is PullComplete.
|
|
30907
31066
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30908
31067
|
* @type {PullUploadTask || null}
|
|
30909
31068
|
*/
|
|
30910
31069
|
this.PullCompleteEvent = null;
|
|
30911
31070
|
|
|
30912
31071
|
/**
|
|
30913
|
-
*
|
|
31072
|
+
* EditMedia completion event, valid when the event type is EditMediaComplete.
|
|
30914
31073
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30915
31074
|
* @type {EditMediaTask || null}
|
|
30916
31075
|
*/
|
|
30917
31076
|
this.EditMediaCompleteEvent = null;
|
|
30918
31077
|
|
|
30919
31078
|
/**
|
|
30920
|
-
*
|
|
31079
|
+
* SplitMedia completion event, valid when the event type is SplitMediaComplete.
|
|
30921
31080
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30922
31081
|
* @type {SplitMediaTask || null}
|
|
30923
31082
|
*/
|
|
30924
31083
|
this.SplitMediaCompleteEvent = null;
|
|
30925
31084
|
|
|
30926
31085
|
/**
|
|
30927
|
-
*
|
|
31086
|
+
* ComposeMedia completion event, valid when the event type is ComposeMediaComplete.
|
|
30928
31087
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30929
31088
|
* @type {ComposeMediaTask || null}
|
|
30930
31089
|
*/
|
|
30931
31090
|
this.ComposeMediaCompleteEvent = null;
|
|
30932
31091
|
|
|
30933
31092
|
/**
|
|
30934
|
-
*
|
|
30935
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31093
|
+
* Expired.
|
|
30936
31094
|
* @type {ClipTask2017 || null}
|
|
30937
31095
|
*/
|
|
30938
31096
|
this.ClipCompleteEvent = null;
|
|
30939
31097
|
|
|
30940
31098
|
/**
|
|
30941
|
-
*
|
|
30942
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31099
|
+
* Expired.
|
|
30943
31100
|
* @type {TranscodeTask2017 || null}
|
|
30944
31101
|
*/
|
|
30945
31102
|
this.TranscodeCompleteEvent = null;
|
|
30946
31103
|
|
|
30947
31104
|
/**
|
|
30948
|
-
*
|
|
30949
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31105
|
+
* Expired.
|
|
30950
31106
|
* @type {CreateImageSpriteTask2017 || null}
|
|
30951
31107
|
*/
|
|
30952
31108
|
this.CreateImageSpriteCompleteEvent = null;
|
|
30953
31109
|
|
|
30954
31110
|
/**
|
|
30955
|
-
*
|
|
30956
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31111
|
+
* Expired.
|
|
30957
31112
|
* @type {ConcatTask2017 || null}
|
|
30958
31113
|
*/
|
|
30959
31114
|
this.ConcatCompleteEvent = null;
|
|
30960
31115
|
|
|
30961
31116
|
/**
|
|
30962
|
-
*
|
|
30963
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31117
|
+
* Expired.
|
|
30964
31118
|
* @type {SnapshotByTimeOffsetTask2017 || null}
|
|
30965
31119
|
*/
|
|
30966
31120
|
this.SnapshotByTimeOffsetCompleteEvent = null;
|
|
30967
31121
|
|
|
30968
31122
|
/**
|
|
30969
|
-
*
|
|
30970
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31123
|
+
* Expired.
|
|
30971
31124
|
* @type {WechatPublishTask || null}
|
|
30972
31125
|
*/
|
|
30973
31126
|
this.WechatPublishCompleteEvent = null;
|
|
30974
31127
|
|
|
30975
31128
|
/**
|
|
30976
|
-
*
|
|
31129
|
+
* WechatMiniProgramPublish completion event, valid when the event type is WechatMiniProgramPublishComplete.
|
|
30977
31130
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30978
31131
|
* @type {WechatMiniProgramPublishTask || null}
|
|
30979
31132
|
*/
|
|
30980
31133
|
this.WechatMiniProgramPublishCompleteEvent = null;
|
|
30981
31134
|
|
|
30982
31135
|
/**
|
|
30983
|
-
*
|
|
31136
|
+
* RemoveWatermark completion event, valid when the event type is RemoveWatermark.
|
|
30984
31137
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30985
31138
|
* @type {RemoveWatermarkTask || null}
|
|
30986
31139
|
*/
|
|
30987
31140
|
this.RemoveWatermarkCompleteEvent = null;
|
|
30988
31141
|
|
|
30989
31142
|
/**
|
|
30990
|
-
*
|
|
31143
|
+
* RestoreMedia completion event, valid when the event type is RestoreMediaComplete.
|
|
30991
31144
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30992
31145
|
* @type {RestoreMediaTask || null}
|
|
30993
31146
|
*/
|
|
30994
31147
|
this.RestoreMediaCompleteEvent = null;
|
|
30995
31148
|
|
|
30996
31149
|
/**
|
|
30997
|
-
*
|
|
31150
|
+
* RebuildMedia completion event, valid when the event type is RebuildMediaComplete.
|
|
30998
31151
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
30999
31152
|
* @type {RebuildMediaTask || null}
|
|
31000
31153
|
*/
|
|
31001
31154
|
this.RebuildMediaCompleteEvent = null;
|
|
31002
31155
|
|
|
31003
31156
|
/**
|
|
31004
|
-
*
|
|
31005
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31157
|
+
* Expired.
|
|
31006
31158
|
* @type {ExtractTraceWatermarkTask || null}
|
|
31007
31159
|
*/
|
|
31008
31160
|
this.ExtractTraceWatermarkCompleteEvent = null;
|
|
31009
31161
|
|
|
31010
31162
|
/**
|
|
31011
|
-
*
|
|
31012
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31163
|
+
* Expired.
|
|
31013
31164
|
* @type {ExtractCopyRightWatermarkTask || null}
|
|
31014
31165
|
*/
|
|
31015
31166
|
this.ExtractCopyRightWatermarkCompleteEvent = null;
|
|
31016
31167
|
|
|
31017
31168
|
/**
|
|
31018
|
-
*
|
|
31169
|
+
* ReviewAudioVideo completion event, valid when the event type is ReviewAudioVideoComplete.
|
|
31019
31170
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31020
31171
|
* @type {ReviewAudioVideoTask || null}
|
|
31021
31172
|
*/
|
|
31022
31173
|
this.ReviewAudioVideoCompleteEvent = null;
|
|
31023
31174
|
|
|
31024
31175
|
/**
|
|
31025
|
-
*
|
|
31026
|
-
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31176
|
+
* Expired.
|
|
31027
31177
|
* @type {ReduceMediaBitrateTask || null}
|
|
31028
31178
|
*/
|
|
31029
31179
|
this.ReduceMediaBitrateCompleteEvent = null;
|
|
31030
31180
|
|
|
31031
31181
|
/**
|
|
31032
|
-
*
|
|
31182
|
+
* DescribeFileAttributes completion event, valid when the event type is DescribeFileAttributesComplete.
|
|
31033
31183
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31034
31184
|
* @type {DescribeFileAttributesTask || null}
|
|
31035
31185
|
*/
|
|
31036
31186
|
this.DescribeFileAttributesCompleteEvent = null;
|
|
31037
31187
|
|
|
31038
31188
|
/**
|
|
31039
|
-
*
|
|
31189
|
+
* QualityInspect completion event, valid when the event type is QualityInspectComplete.
|
|
31040
31190
|
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31041
31191
|
* @type {QualityInspectTask || null}
|
|
31042
31192
|
*/
|
|
@@ -31049,6 +31199,20 @@ Pay attention to: this field may return null, indicating that no valid value can
|
|
|
31049
31199
|
*/
|
|
31050
31200
|
this.QualityEnhanceCompleteEvent = null;
|
|
31051
31201
|
|
|
31202
|
+
/**
|
|
31203
|
+
* MediaCastStatus changed event, valid when the event type is MediaCastStatusChanged.
|
|
31204
|
+
Pay attention to: this field may return null, indicating that no valid value can be obtained.
|
|
31205
|
+
* @type {MediaCastEvent || null}
|
|
31206
|
+
*/
|
|
31207
|
+
this.MediaCastStatusChangedEvent = null;
|
|
31208
|
+
|
|
31209
|
+
/**
|
|
31210
|
+
* Persistence completion event, valid when the event type is PersistenceComplete.
|
|
31211
|
+
Note: This field may return null, indicating that no valid value can be obtained.
|
|
31212
|
+
* @type {PersistenceCompleteTask || null}
|
|
31213
|
+
*/
|
|
31214
|
+
this.PersistenceCompleteEvent = null;
|
|
31215
|
+
|
|
31052
31216
|
}
|
|
31053
31217
|
|
|
31054
31218
|
/**
|
|
@@ -31205,6 +31369,18 @@ Pay attention to: this field may return null, indicating that no valid value can
|
|
|
31205
31369
|
this.QualityEnhanceCompleteEvent = obj;
|
|
31206
31370
|
}
|
|
31207
31371
|
|
|
31372
|
+
if (params.MediaCastStatusChangedEvent) {
|
|
31373
|
+
let obj = new MediaCastEvent();
|
|
31374
|
+
obj.deserialize(params.MediaCastStatusChangedEvent)
|
|
31375
|
+
this.MediaCastStatusChangedEvent = obj;
|
|
31376
|
+
}
|
|
31377
|
+
|
|
31378
|
+
if (params.PersistenceCompleteEvent) {
|
|
31379
|
+
let obj = new PersistenceCompleteTask();
|
|
31380
|
+
obj.deserialize(params.PersistenceCompleteEvent)
|
|
31381
|
+
this.PersistenceCompleteEvent = obj;
|
|
31382
|
+
}
|
|
31383
|
+
|
|
31208
31384
|
}
|
|
31209
31385
|
}
|
|
31210
31386
|
|
|
@@ -33133,6 +33309,41 @@ class DeleteWordSamplesResponse extends AbstractModel {
|
|
|
33133
33309
|
}
|
|
33134
33310
|
}
|
|
33135
33311
|
|
|
33312
|
+
/**
|
|
33313
|
+
*
|
|
33314
|
+
* @class
|
|
33315
|
+
*/
|
|
33316
|
+
class MediaCastEvent extends AbstractModel {
|
|
33317
|
+
constructor(){
|
|
33318
|
+
super();
|
|
33319
|
+
|
|
33320
|
+
/**
|
|
33321
|
+
*
|
|
33322
|
+
* @type {string || null}
|
|
33323
|
+
*/
|
|
33324
|
+
this.CastId = null;
|
|
33325
|
+
|
|
33326
|
+
/**
|
|
33327
|
+
*
|
|
33328
|
+
* @type {string || null}
|
|
33329
|
+
*/
|
|
33330
|
+
this.Status = null;
|
|
33331
|
+
|
|
33332
|
+
}
|
|
33333
|
+
|
|
33334
|
+
/**
|
|
33335
|
+
* @private
|
|
33336
|
+
*/
|
|
33337
|
+
deserialize(params) {
|
|
33338
|
+
if (!params) {
|
|
33339
|
+
return;
|
|
33340
|
+
}
|
|
33341
|
+
this.CastId = 'CastId' in params ? params.CastId : null;
|
|
33342
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
33343
|
+
|
|
33344
|
+
}
|
|
33345
|
+
}
|
|
33346
|
+
|
|
33136
33347
|
/**
|
|
33137
33348
|
* Heuristic cache configuration
|
|
33138
33349
|
* @class
|
|
@@ -47785,6 +47996,7 @@ module.exports = {
|
|
|
47785
47996
|
DescribeCDNStatDetailsResponse: DescribeCDNStatDetailsResponse,
|
|
47786
47997
|
AttachMediaSubtitlesRequest: AttachMediaSubtitlesRequest,
|
|
47787
47998
|
AiAnalysisTaskCoverResult: AiAnalysisTaskCoverResult,
|
|
47999
|
+
DescribeEventConfigRequest: DescribeEventConfigRequest,
|
|
47788
48000
|
MediaContentReviewOcrTextSegmentItem: MediaContentReviewOcrTextSegmentItem,
|
|
47789
48001
|
AiAnalysisTaskClassificationOutput: AiAnalysisTaskClassificationOutput,
|
|
47790
48002
|
QualityInspectTask: QualityInspectTask,
|
|
@@ -47842,6 +48054,7 @@ module.exports = {
|
|
|
47842
48054
|
SuperResolutionInfo: SuperResolutionInfo,
|
|
47843
48055
|
MediaImageSpriteInfo: MediaImageSpriteInfo,
|
|
47844
48056
|
EnhanceMediaQualityRequest: EnhanceMediaQualityRequest,
|
|
48057
|
+
PersistenceCompleteTask: PersistenceCompleteTask,
|
|
47845
48058
|
AiRecognitionTaskFaceSegmentItem: AiRecognitionTaskFaceSegmentItem,
|
|
47846
48059
|
ProcessMediaResponse: ProcessMediaResponse,
|
|
47847
48060
|
CreateWordSamplesResponse: CreateWordSamplesResponse,
|
|
@@ -48102,6 +48315,7 @@ module.exports = {
|
|
|
48102
48315
|
ProcessMediaByUrlResponse: ProcessMediaByUrlResponse,
|
|
48103
48316
|
DescribeImageReviewUsageDataRequest: DescribeImageReviewUsageDataRequest,
|
|
48104
48317
|
MediaContentReviewAsrTextSegmentItem: MediaContentReviewAsrTextSegmentItem,
|
|
48318
|
+
DescribeEventConfigResponse: DescribeEventConfigResponse,
|
|
48105
48319
|
DescribeCdnLogsResponse: DescribeCdnLogsResponse,
|
|
48106
48320
|
MediaContentReviewPoliticalSegmentItem: MediaContentReviewPoliticalSegmentItem,
|
|
48107
48321
|
DeletePersonSampleResponse: DeletePersonSampleResponse,
|
|
@@ -48226,6 +48440,7 @@ module.exports = {
|
|
|
48226
48440
|
AiRecognitionTaskOcrWordsSegmentItem: AiRecognitionTaskOcrWordsSegmentItem,
|
|
48227
48441
|
MediaProcessTaskResult: MediaProcessTaskResult,
|
|
48228
48442
|
DeleteWordSamplesResponse: DeleteWordSamplesResponse,
|
|
48443
|
+
MediaCastEvent: MediaCastEvent,
|
|
48229
48444
|
HeuristicCache: HeuristicCache,
|
|
48230
48445
|
DeleteProcedureTemplateRequest: DeleteProcedureTemplateRequest,
|
|
48231
48446
|
WatermarkInput: WatermarkInput,
|
|
@@ -150,6 +150,7 @@ const FileUploadTask = models.FileUploadTask;
|
|
|
150
150
|
const DescribeCDNStatDetailsResponse = models.DescribeCDNStatDetailsResponse;
|
|
151
151
|
const AttachMediaSubtitlesRequest = models.AttachMediaSubtitlesRequest;
|
|
152
152
|
const AiAnalysisTaskCoverResult = models.AiAnalysisTaskCoverResult;
|
|
153
|
+
const DescribeEventConfigRequest = models.DescribeEventConfigRequest;
|
|
153
154
|
const MediaContentReviewOcrTextSegmentItem = models.MediaContentReviewOcrTextSegmentItem;
|
|
154
155
|
const AiAnalysisTaskClassificationOutput = models.AiAnalysisTaskClassificationOutput;
|
|
155
156
|
const QualityInspectTask = models.QualityInspectTask;
|
|
@@ -207,6 +208,7 @@ const DeleteRoundPlayRequest = models.DeleteRoundPlayRequest;
|
|
|
207
208
|
const SuperResolutionInfo = models.SuperResolutionInfo;
|
|
208
209
|
const MediaImageSpriteInfo = models.MediaImageSpriteInfo;
|
|
209
210
|
const EnhanceMediaQualityRequest = models.EnhanceMediaQualityRequest;
|
|
211
|
+
const PersistenceCompleteTask = models.PersistenceCompleteTask;
|
|
210
212
|
const AiRecognitionTaskFaceSegmentItem = models.AiRecognitionTaskFaceSegmentItem;
|
|
211
213
|
const ProcessMediaResponse = models.ProcessMediaResponse;
|
|
212
214
|
const CreateWordSamplesResponse = models.CreateWordSamplesResponse;
|
|
@@ -467,6 +469,7 @@ const AiReviewTaskTerrorismResult = models.AiReviewTaskTerrorismResult;
|
|
|
467
469
|
const ProcessMediaByUrlResponse = models.ProcessMediaByUrlResponse;
|
|
468
470
|
const DescribeImageReviewUsageDataRequest = models.DescribeImageReviewUsageDataRequest;
|
|
469
471
|
const MediaContentReviewAsrTextSegmentItem = models.MediaContentReviewAsrTextSegmentItem;
|
|
472
|
+
const DescribeEventConfigResponse = models.DescribeEventConfigResponse;
|
|
470
473
|
const DescribeCdnLogsResponse = models.DescribeCdnLogsResponse;
|
|
471
474
|
const MediaContentReviewPoliticalSegmentItem = models.MediaContentReviewPoliticalSegmentItem;
|
|
472
475
|
const DeletePersonSampleResponse = models.DeletePersonSampleResponse;
|
|
@@ -591,6 +594,7 @@ const CreateHeadTailTemplateResponse = models.CreateHeadTailTemplateResponse;
|
|
|
591
594
|
const AiRecognitionTaskOcrWordsSegmentItem = models.AiRecognitionTaskOcrWordsSegmentItem;
|
|
592
595
|
const MediaProcessTaskResult = models.MediaProcessTaskResult;
|
|
593
596
|
const DeleteWordSamplesResponse = models.DeleteWordSamplesResponse;
|
|
597
|
+
const MediaCastEvent = models.MediaCastEvent;
|
|
594
598
|
const HeuristicCache = models.HeuristicCache;
|
|
595
599
|
const DeleteProcedureTemplateRequest = models.DeleteProcedureTemplateRequest;
|
|
596
600
|
const WatermarkInput = models.WatermarkInput;
|
|
@@ -1532,6 +1536,8 @@ For example: for a complete football match, the original video recorded live may
|
|
|
1532
1536
|
|
|
1533
1537
|
The advantage of editing and curing is that its life cycle is independent of the original recorded video, and can be managed independently and stored for a long time.
|
|
1534
1538
|
|
|
1539
|
+
<font color='red'>Notice:</font> If solidification is specified during clipping, enable the reception of persistence completed event notifications through the ModifyEventConfig interface. After successful solidification, an event notification of type PersistenceComplete will be received. Before receiving this event notification, operations such as deletion or cooling down of live recording videos should not be performed, otherwise, abnormal playback may occur in the video generated by the clipping.
|
|
1540
|
+
|
|
1535
1541
|
### Clips are not solidified
|
|
1536
1542
|
The editing is not solidified, which means that the result of editing (m3u8 file) and the live recording video share the same ts fragment. The newly generated video is not an independent and complete video (no independent FileId, only playback URL), and its validity period is the same as the live broadcast. The validity period of the complete recorded video is the same. Once the video recorded during the live broadcast is deleted, the clip will also become unplayable.
|
|
1537
1543
|
|
|
@@ -2099,7 +2105,7 @@ If using event notification, the event notification type is [task flow status ch
|
|
|
2099
2105
|
}
|
|
2100
2106
|
|
|
2101
2107
|
/**
|
|
2102
|
-
* Implement
|
|
2108
|
+
* Implement quick concatenation and quick clipping for Tencent Cloud VOD's HLS videos to generate new media in HLS format. The video generated by quick concatenation or clipping will produce a new FileId and undergo solidification. After successful solidification, the new video file exists independently of the original input video and is not affected by deletions or other actions on the original video. <font color='red'>Note:</font> Enable the reception of persistence completed event notifications through the ModifyEvent config interface, and a PersistenceComplete type event notification will be received after successful solidification. Before receiving this event notification, operations such as deletion or cooling down of the original input video should not be performed, otherwise, abnormal playback may occur in the video generated by the concatenation and clipping.
|
|
2103
2109
|
* @param {FastEditMediaRequest} req
|
|
2104
2110
|
* @param {function(string, FastEditMediaResponse):void} cb
|
|
2105
2111
|
* @public
|
|
@@ -2260,6 +2266,17 @@ This API is used to modify a player configuration.
|
|
|
2260
2266
|
this.request("CreateWordSamples", req, resp, cb);
|
|
2261
2267
|
}
|
|
2262
2268
|
|
|
2269
|
+
/**
|
|
2270
|
+
* Tencent Cloud VOD provides customers with services such as media upload, media management, and media processing. During or after the execution of these services, Tencent Cloud VOD also offers various corresponding event notifications to facilitate developers' awareness of the service processing status and to perform subsequent business operations. Developers can use this interface to query the current configuration of event notification reception methods, reception addresses, and which events have callback notification reception enabled.
|
|
2271
|
+
* @param {DescribeEventConfigRequest} req
|
|
2272
|
+
* @param {function(string, DescribeEventConfigResponse):void} cb
|
|
2273
|
+
* @public
|
|
2274
|
+
*/
|
|
2275
|
+
DescribeEventConfig(req, cb) {
|
|
2276
|
+
let resp = new DescribeEventConfigResponse();
|
|
2277
|
+
this.request("DescribeEventConfig", req, resp, cb);
|
|
2278
|
+
}
|
|
2279
|
+
|
|
2263
2280
|
/**
|
|
2264
2281
|
* This API is used to modify subapplication information, but it is not allowed to modify primary application information.
|
|
2265
2282
|
* @param {ModifySubAppIdInfoRequest} req
|
|
@@ -2711,6 +2728,8 @@ Suppose you recorded a two-hour football match. You want to save the full video
|
|
|
2711
2728
|
|
|
2712
2729
|
The advantage of clipping for persistent storage is that the video clip has a lifecycle independent of the input video and can be managed independently and stored persistently.
|
|
2713
2730
|
|
|
2731
|
+
<font color='red'>Notice:</font> If solidification is specified during clipping, enable the reception of persistence completed event notifications through the ModifyEventConfig interface. After successful solidification, an event notification of type PersistenceComplete will be received. Before receiving this event notification, operations such as deletion or cooling down of live recording videos should not be performed, otherwise, abnormal playback may occur in the video generated by the clipping.
|
|
2732
|
+
|
|
2714
2733
|
### Clipping for temporary sharing
|
|
2715
2734
|
The video clip (an M3U8 file) shares the same TS segments with the input video instead of being an independent video. It only has a playback URL but has no `FileId`, and its validity period is the same as that of the input video. Once the input video is deleted, the video clip cannot be played back.
|
|
2716
2735
|
|