tencentcloud-sdk-nodejs-intl-en 3.0.780 → 3.0.781
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,2 +1,2 @@
|
|
|
1
|
-
const sdkVersion = "3.0.
|
|
1
|
+
const sdkVersion = "3.0.781";
|
|
2
2
|
module.exports = sdkVersion
|
|
@@ -150,8 +150,9 @@ const DescribeTimeShiftRecordDetailRequest = models.DescribeTimeShiftRecordDetai
|
|
|
150
150
|
const PushDataInfo = models.PushDataInfo;
|
|
151
151
|
const CommonMixLayoutParams = models.CommonMixLayoutParams;
|
|
152
152
|
const DescribeGroupProIspPlayInfoListRequest = models.DescribeGroupProIspPlayInfoListRequest;
|
|
153
|
+
const RestartLivePullStreamTaskResponse = models.RestartLivePullStreamTaskResponse;
|
|
153
154
|
const DescribeStreamDayPlayInfoListRequest = models.DescribeStreamDayPlayInfoListRequest;
|
|
154
|
-
const
|
|
155
|
+
const RestartLivePullStreamTaskRequest = models.RestartLivePullStreamTaskRequest;
|
|
155
156
|
const DescribeLiveSnapshotTemplateResponse = models.DescribeLiveSnapshotTemplateResponse;
|
|
156
157
|
const DescribeLiveTranscodeRulesResponse = models.DescribeLiveTranscodeRulesResponse;
|
|
157
158
|
const CreateLiveTimeShiftTemplateRequest = models.CreateLiveTimeShiftTemplateRequest;
|
|
@@ -204,6 +205,7 @@ const BandwidthInfo = models.BandwidthInfo;
|
|
|
204
205
|
const CancelCommonMixStreamRequest = models.CancelCommonMixStreamRequest;
|
|
205
206
|
const UpdateLiveWatermarkRequest = models.UpdateLiveWatermarkRequest;
|
|
206
207
|
const CertInfo = models.CertInfo;
|
|
208
|
+
const TranscodeDetailInfo = models.TranscodeDetailInfo;
|
|
207
209
|
const DescribeRecordTaskResponse = models.DescribeRecordTaskResponse;
|
|
208
210
|
const DescribeLiveDelayInfoListResponse = models.DescribeLiveDelayInfoListResponse;
|
|
209
211
|
const DeleteLiveTranscodeTemplateRequest = models.DeleteLiveTranscodeTemplateRequest;
|
|
@@ -1450,6 +1452,17 @@ Note:
|
|
|
1450
1452
|
this.request("DeleteLiveTimeShiftRule", req, resp, cb);
|
|
1451
1453
|
}
|
|
1452
1454
|
|
|
1455
|
+
/**
|
|
1456
|
+
* Restart the running live streaming pull task.
|
|
1457
|
+
* @param {RestartLivePullStreamTaskRequest} req
|
|
1458
|
+
* @param {function(string, RestartLivePullStreamTaskResponse):void} cb
|
|
1459
|
+
* @public
|
|
1460
|
+
*/
|
|
1461
|
+
RestartLivePullStreamTask(req, cb) {
|
|
1462
|
+
let resp = new RestartLivePullStreamTaskResponse();
|
|
1463
|
+
this.request("RestartLivePullStreamTask", req, resp, cb);
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1453
1466
|
/**
|
|
1454
1467
|
* This API is used to get the watermarking rule list.
|
|
1455
1468
|
* @param {DescribeLiveWatermarkRulesRequest} req
|
|
@@ -7073,6 +7073,34 @@ class DescribeGroupProIspPlayInfoListRequest extends AbstractModel {
|
|
|
7073
7073
|
}
|
|
7074
7074
|
}
|
|
7075
7075
|
|
|
7076
|
+
/**
|
|
7077
|
+
* RestartLivePullStreamTask response structure.
|
|
7078
|
+
* @class
|
|
7079
|
+
*/
|
|
7080
|
+
class RestartLivePullStreamTaskResponse extends AbstractModel {
|
|
7081
|
+
constructor(){
|
|
7082
|
+
super();
|
|
7083
|
+
|
|
7084
|
+
/**
|
|
7085
|
+
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
|
|
7086
|
+
* @type {string || null}
|
|
7087
|
+
*/
|
|
7088
|
+
this.RequestId = null;
|
|
7089
|
+
|
|
7090
|
+
}
|
|
7091
|
+
|
|
7092
|
+
/**
|
|
7093
|
+
* @private
|
|
7094
|
+
*/
|
|
7095
|
+
deserialize(params) {
|
|
7096
|
+
if (!params) {
|
|
7097
|
+
return;
|
|
7098
|
+
}
|
|
7099
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
7100
|
+
|
|
7101
|
+
}
|
|
7102
|
+
}
|
|
7103
|
+
|
|
7076
7104
|
/**
|
|
7077
7105
|
* DescribeStreamDayPlayInfoList request structure.
|
|
7078
7106
|
* @class
|
|
@@ -7141,80 +7169,24 @@ Default: query data for all regions.
|
|
|
7141
7169
|
}
|
|
7142
7170
|
|
|
7143
7171
|
/**
|
|
7144
|
-
*
|
|
7172
|
+
* RestartLivePullStreamTask request structure.
|
|
7145
7173
|
* @class
|
|
7146
7174
|
*/
|
|
7147
|
-
class
|
|
7175
|
+
class RestartLivePullStreamTaskRequest extends AbstractModel {
|
|
7148
7176
|
constructor(){
|
|
7149
7177
|
super();
|
|
7150
7178
|
|
|
7151
7179
|
/**
|
|
7152
|
-
*
|
|
7153
|
-
* @type {string || null}
|
|
7154
|
-
*/
|
|
7155
|
-
this.StreamName = null;
|
|
7156
|
-
|
|
7157
|
-
/**
|
|
7158
|
-
* Start time (Beijing time) in the format of `yyyy-mm-dd HH:MM`.
|
|
7159
|
-
* @type {string || null}
|
|
7160
|
-
*/
|
|
7161
|
-
this.StartTime = null;
|
|
7162
|
-
|
|
7163
|
-
/**
|
|
7164
|
-
* End time (Beijing time) in the format of `yyyy-mm-dd HH:MM`.
|
|
7165
|
-
* @type {string || null}
|
|
7166
|
-
*/
|
|
7167
|
-
this.EndTime = null;
|
|
7168
|
-
|
|
7169
|
-
/**
|
|
7170
|
-
* Transcoding duration in minutes.
|
|
7171
|
-
Note: given the possible interruptions during push, duration here is the sum of actual duration of transcoding instead of the interval between the start time and end time.
|
|
7172
|
-
* @type {number || null}
|
|
7173
|
-
*/
|
|
7174
|
-
this.Duration = null;
|
|
7175
|
-
|
|
7176
|
-
/**
|
|
7177
|
-
* Codec with modules,
|
|
7178
|
-
Example:
|
|
7179
|
-
liveprocessor_H264: LVB transcoding - H264,
|
|
7180
|
-
liveprocessor_H265: LVB transcoding - H265,
|
|
7181
|
-
topspeed_H264: top speed codec - H264,
|
|
7182
|
-
topspeed_H265: top speed codec - H265.
|
|
7180
|
+
* Task Id.
|
|
7183
7181
|
* @type {string || null}
|
|
7184
7182
|
*/
|
|
7185
|
-
this.
|
|
7186
|
-
|
|
7187
|
-
/**
|
|
7188
|
-
* Bitrate.
|
|
7189
|
-
* @type {number || null}
|
|
7190
|
-
*/
|
|
7191
|
-
this.Bitrate = null;
|
|
7192
|
-
|
|
7193
|
-
/**
|
|
7194
|
-
* The task type. Valid values: Transcode, MixStream, WaterMark, Webrtc.
|
|
7195
|
-
* @type {string || null}
|
|
7196
|
-
*/
|
|
7197
|
-
this.Type = null;
|
|
7198
|
-
|
|
7199
|
-
/**
|
|
7200
|
-
* Push domain name.
|
|
7201
|
-
* @type {string || null}
|
|
7202
|
-
*/
|
|
7203
|
-
this.PushDomain = null;
|
|
7204
|
-
|
|
7205
|
-
/**
|
|
7206
|
-
* Resolution.
|
|
7207
|
-
* @type {string || null}
|
|
7208
|
-
*/
|
|
7209
|
-
this.Resolution = null;
|
|
7183
|
+
this.TaskId = null;
|
|
7210
7184
|
|
|
7211
7185
|
/**
|
|
7212
|
-
*
|
|
7213
|
-
`Mainland`: Inside the Chinese mainland.
|
|
7214
|
-
`Overseas`: Outside the Chinese mainland.
|
|
7186
|
+
* task operator.
|
|
7215
7187
|
* @type {string || null}
|
|
7216
7188
|
*/
|
|
7217
|
-
this.
|
|
7189
|
+
this.Operator = null;
|
|
7218
7190
|
|
|
7219
7191
|
}
|
|
7220
7192
|
|
|
@@ -7225,16 +7197,8 @@ topspeed_H265: top speed codec - H265.
|
|
|
7225
7197
|
if (!params) {
|
|
7226
7198
|
return;
|
|
7227
7199
|
}
|
|
7228
|
-
this.
|
|
7229
|
-
this.
|
|
7230
|
-
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
7231
|
-
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
7232
|
-
this.ModuleCodec = 'ModuleCodec' in params ? params.ModuleCodec : null;
|
|
7233
|
-
this.Bitrate = 'Bitrate' in params ? params.Bitrate : null;
|
|
7234
|
-
this.Type = 'Type' in params ? params.Type : null;
|
|
7235
|
-
this.PushDomain = 'PushDomain' in params ? params.PushDomain : null;
|
|
7236
|
-
this.Resolution = 'Resolution' in params ? params.Resolution : null;
|
|
7237
|
-
this.MainlandOrOversea = 'MainlandOrOversea' in params ? params.MainlandOrOversea : null;
|
|
7200
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
7201
|
+
this.Operator = 'Operator' in params ? params.Operator : null;
|
|
7238
7202
|
|
|
7239
7203
|
}
|
|
7240
7204
|
}
|
|
@@ -9994,6 +9958,105 @@ Note: Beijing time (UTC+8) is used.
|
|
|
9994
9958
|
}
|
|
9995
9959
|
}
|
|
9996
9960
|
|
|
9961
|
+
/**
|
|
9962
|
+
* Transcoding details.
|
|
9963
|
+
* @class
|
|
9964
|
+
*/
|
|
9965
|
+
class TranscodeDetailInfo extends AbstractModel {
|
|
9966
|
+
constructor(){
|
|
9967
|
+
super();
|
|
9968
|
+
|
|
9969
|
+
/**
|
|
9970
|
+
* Stream name.
|
|
9971
|
+
* @type {string || null}
|
|
9972
|
+
*/
|
|
9973
|
+
this.StreamName = null;
|
|
9974
|
+
|
|
9975
|
+
/**
|
|
9976
|
+
* Start time (Beijing time) in the format of `yyyy-mm-dd HH:MM`.
|
|
9977
|
+
* @type {string || null}
|
|
9978
|
+
*/
|
|
9979
|
+
this.StartTime = null;
|
|
9980
|
+
|
|
9981
|
+
/**
|
|
9982
|
+
* End time (Beijing time) in the format of `yyyy-mm-dd HH:MM`.
|
|
9983
|
+
* @type {string || null}
|
|
9984
|
+
*/
|
|
9985
|
+
this.EndTime = null;
|
|
9986
|
+
|
|
9987
|
+
/**
|
|
9988
|
+
* Transcoding duration in minutes.
|
|
9989
|
+
Note: given the possible interruptions during push, duration here is the sum of actual duration of transcoding instead of the interval between the start time and end time.
|
|
9990
|
+
* @type {number || null}
|
|
9991
|
+
*/
|
|
9992
|
+
this.Duration = null;
|
|
9993
|
+
|
|
9994
|
+
/**
|
|
9995
|
+
* Codec with modules,
|
|
9996
|
+
Example:
|
|
9997
|
+
liveprocessor_H264: LVB transcoding - H264,
|
|
9998
|
+
liveprocessor_H265: LVB transcoding - H265,
|
|
9999
|
+
topspeed_H264: top speed codec - H264,
|
|
10000
|
+
topspeed_H265: top speed codec - H265.
|
|
10001
|
+
* @type {string || null}
|
|
10002
|
+
*/
|
|
10003
|
+
this.ModuleCodec = null;
|
|
10004
|
+
|
|
10005
|
+
/**
|
|
10006
|
+
* Bitrate.
|
|
10007
|
+
* @type {number || null}
|
|
10008
|
+
*/
|
|
10009
|
+
this.Bitrate = null;
|
|
10010
|
+
|
|
10011
|
+
/**
|
|
10012
|
+
* The task type. Valid values: Transcode, MixStream, WaterMark, Webrtc.
|
|
10013
|
+
* @type {string || null}
|
|
10014
|
+
*/
|
|
10015
|
+
this.Type = null;
|
|
10016
|
+
|
|
10017
|
+
/**
|
|
10018
|
+
* Push domain name.
|
|
10019
|
+
* @type {string || null}
|
|
10020
|
+
*/
|
|
10021
|
+
this.PushDomain = null;
|
|
10022
|
+
|
|
10023
|
+
/**
|
|
10024
|
+
* Resolution.
|
|
10025
|
+
* @type {string || null}
|
|
10026
|
+
*/
|
|
10027
|
+
this.Resolution = null;
|
|
10028
|
+
|
|
10029
|
+
/**
|
|
10030
|
+
* The region. Valid values:
|
|
10031
|
+
`Mainland`: Inside the Chinese mainland.
|
|
10032
|
+
`Overseas`: Outside the Chinese mainland.
|
|
10033
|
+
* @type {string || null}
|
|
10034
|
+
*/
|
|
10035
|
+
this.MainlandOrOversea = null;
|
|
10036
|
+
|
|
10037
|
+
}
|
|
10038
|
+
|
|
10039
|
+
/**
|
|
10040
|
+
* @private
|
|
10041
|
+
*/
|
|
10042
|
+
deserialize(params) {
|
|
10043
|
+
if (!params) {
|
|
10044
|
+
return;
|
|
10045
|
+
}
|
|
10046
|
+
this.StreamName = 'StreamName' in params ? params.StreamName : null;
|
|
10047
|
+
this.StartTime = 'StartTime' in params ? params.StartTime : null;
|
|
10048
|
+
this.EndTime = 'EndTime' in params ? params.EndTime : null;
|
|
10049
|
+
this.Duration = 'Duration' in params ? params.Duration : null;
|
|
10050
|
+
this.ModuleCodec = 'ModuleCodec' in params ? params.ModuleCodec : null;
|
|
10051
|
+
this.Bitrate = 'Bitrate' in params ? params.Bitrate : null;
|
|
10052
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
10053
|
+
this.PushDomain = 'PushDomain' in params ? params.PushDomain : null;
|
|
10054
|
+
this.Resolution = 'Resolution' in params ? params.Resolution : null;
|
|
10055
|
+
this.MainlandOrOversea = 'MainlandOrOversea' in params ? params.MainlandOrOversea : null;
|
|
10056
|
+
|
|
10057
|
+
}
|
|
10058
|
+
}
|
|
10059
|
+
|
|
9997
10060
|
/**
|
|
9998
10061
|
* DescribeRecordTask response structure.
|
|
9999
10062
|
* @class
|
|
@@ -14499,6 +14562,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14499
14562
|
*/
|
|
14500
14563
|
this.VodLocalMode = null;
|
|
14501
14564
|
|
|
14565
|
+
/**
|
|
14566
|
+
* Recording template ID.
|
|
14567
|
+
* @type {string || null}
|
|
14568
|
+
*/
|
|
14569
|
+
this.RecordTemplateId = null;
|
|
14570
|
+
|
|
14571
|
+
/**
|
|
14572
|
+
* Newly added streaming address. Used for the scenario of pushing two streams with a single task.
|
|
14573
|
+
* @type {string || null}
|
|
14574
|
+
*/
|
|
14575
|
+
this.BackupToUrl = null;
|
|
14576
|
+
|
|
14502
14577
|
}
|
|
14503
14578
|
|
|
14504
14579
|
/**
|
|
@@ -14548,6 +14623,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
14548
14623
|
}
|
|
14549
14624
|
}
|
|
14550
14625
|
this.VodLocalMode = 'VodLocalMode' in params ? params.VodLocalMode : null;
|
|
14626
|
+
this.RecordTemplateId = 'RecordTemplateId' in params ? params.RecordTemplateId : null;
|
|
14627
|
+
this.BackupToUrl = 'BackupToUrl' in params ? params.BackupToUrl : null;
|
|
14551
14628
|
|
|
14552
14629
|
}
|
|
14553
14630
|
}
|
|
@@ -15795,8 +15872,9 @@ module.exports = {
|
|
|
15795
15872
|
PushDataInfo: PushDataInfo,
|
|
15796
15873
|
CommonMixLayoutParams: CommonMixLayoutParams,
|
|
15797
15874
|
DescribeGroupProIspPlayInfoListRequest: DescribeGroupProIspPlayInfoListRequest,
|
|
15875
|
+
RestartLivePullStreamTaskResponse: RestartLivePullStreamTaskResponse,
|
|
15798
15876
|
DescribeStreamDayPlayInfoListRequest: DescribeStreamDayPlayInfoListRequest,
|
|
15799
|
-
|
|
15877
|
+
RestartLivePullStreamTaskRequest: RestartLivePullStreamTaskRequest,
|
|
15800
15878
|
DescribeLiveSnapshotTemplateResponse: DescribeLiveSnapshotTemplateResponse,
|
|
15801
15879
|
DescribeLiveTranscodeRulesResponse: DescribeLiveTranscodeRulesResponse,
|
|
15802
15880
|
CreateLiveTimeShiftTemplateRequest: CreateLiveTimeShiftTemplateRequest,
|
|
@@ -15849,6 +15927,7 @@ module.exports = {
|
|
|
15849
15927
|
CancelCommonMixStreamRequest: CancelCommonMixStreamRequest,
|
|
15850
15928
|
UpdateLiveWatermarkRequest: UpdateLiveWatermarkRequest,
|
|
15851
15929
|
CertInfo: CertInfo,
|
|
15930
|
+
TranscodeDetailInfo: TranscodeDetailInfo,
|
|
15852
15931
|
DescribeRecordTaskResponse: DescribeRecordTaskResponse,
|
|
15853
15932
|
DescribeLiveDelayInfoListResponse: DescribeLiveDelayInfoListResponse,
|
|
15854
15933
|
DeleteLiveTranscodeTemplateRequest: DeleteLiveTranscodeTemplateRequest,
|