tencentcloud-sdk-nodejs-intl-en 3.0.430 → 3.0.431

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.
@@ -16,73 +16,36 @@
16
16
  */
17
17
  const models = require("./models");
18
18
  const AbstractClient = require('../../common/abstract_client')
19
- const DescribeAbnormalEventResponse = models.DescribeAbnormalEventResponse;
20
- const DescribeAbnormalEventRequest = models.DescribeAbnormalEventRequest;
21
- const DescribeTrtcInteractiveTimeResponse = models.DescribeTrtcInteractiveTimeResponse;
22
- const ModifyPictureResponse = models.ModifyPictureResponse;
23
- const StartMCUMixTranscodeByStrRoomIdRequest = models.StartMCUMixTranscodeByStrRoomIdRequest;
24
- const LayoutParams = models.LayoutParams;
25
- const TimeValue = models.TimeValue;
26
- const CreatePictureRequest = models.CreatePictureRequest;
27
- const DescribeTrtcMcuTranscodeTimeRequest = models.DescribeTrtcMcuTranscodeTimeRequest;
28
- const SdkAppIdTrtcMcuTranscodeTimeUsage = models.SdkAppIdTrtcMcuTranscodeTimeUsage;
29
- const RemoveUserByStrRoomIdRequest = models.RemoveUserByStrRoomIdRequest;
19
+ const CreateCloudRecordingResponse = models.CreateCloudRecordingResponse;
20
+ const CloudStorage = models.CloudStorage;
21
+ const StorageFile = models.StorageFile;
22
+ const WaterMark = models.WaterMark;
23
+ const DescribeCloudRecordingResponse = models.DescribeCloudRecordingResponse;
24
+ const DismissRoomByStrRoomIdRequest = models.DismissRoomByStrRoomIdRequest;
30
25
  const DismissRoomResponse = models.DismissRoomResponse;
31
- const EventMessage = models.EventMessage;
32
- const DescribeRecordStatisticRequest = models.DescribeRecordStatisticRequest;
33
- const DescribeUserInformationRequest = models.DescribeUserInformationRequest;
34
- const DescribeCallDetailRequest = models.DescribeCallDetailRequest;
35
- const ScaleInfomation = models.ScaleInfomation;
36
- const DescribeUserInformationResponse = models.DescribeUserInformationResponse;
37
- const EncodeParams = models.EncodeParams;
38
- const RemoveUserByStrRoomIdResponse = models.RemoveUserByStrRoomIdResponse;
39
- const StartMCUMixTranscodeRequest = models.StartMCUMixTranscodeRequest;
40
- const StopMCUMixTranscodeRequest = models.StopMCUMixTranscodeRequest;
41
- const UserInformation = models.UserInformation;
42
- const DescribeHistoryScaleRequest = models.DescribeHistoryScaleRequest;
43
- const DeletePictureRequest = models.DeletePictureRequest;
44
- const DescribeRoomInformationResponse = models.DescribeRoomInformationResponse;
45
- const RecordUsage = models.RecordUsage;
26
+ const MixLayout = models.MixLayout;
46
27
  const RemoveUserRequest = models.RemoveUserRequest;
47
- const OutputParams = models.OutputParams;
48
- const ModifyPictureRequest = models.ModifyPictureRequest;
49
- const CreateTroubleInfoResponse = models.CreateTroubleInfoResponse;
50
- const StopMCUMixTranscodeByStrRoomIdRequest = models.StopMCUMixTranscodeByStrRoomIdRequest;
51
- const QualityData = models.QualityData;
52
- const AbnormalEvent = models.AbnormalEvent;
53
- const StopMCUMixTranscodeByStrRoomIdResponse = models.StopMCUMixTranscodeByStrRoomIdResponse;
54
- const DeletePictureResponse = models.DeletePictureResponse;
55
- const CreateTroubleInfoRequest = models.CreateTroubleInfoRequest;
56
- const EventList = models.EventList;
28
+ const StorageParams = models.StorageParams;
57
29
  const DismissRoomRequest = models.DismissRoomRequest;
58
- const DescribeDetailEventResponse = models.DescribeDetailEventResponse;
59
- const DismissRoomByStrRoomIdRequest = models.DismissRoomByStrRoomIdRequest;
60
- const StartMCUMixTranscodeResponse = models.StartMCUMixTranscodeResponse;
61
- const OneSdkAppIdTranscodeTimeUsagesInfo = models.OneSdkAppIdTranscodeTimeUsagesInfo;
62
- const DescribeTrtcMcuTranscodeTimeResponse = models.DescribeTrtcMcuTranscodeTimeResponse;
63
- const DescribePictureRequest = models.DescribePictureRequest;
64
- const SdkAppIdRecordUsage = models.SdkAppIdRecordUsage;
65
- const OneSdkAppIdUsagesInfo = models.OneSdkAppIdUsagesInfo;
66
- const SmallVideoLayoutParams = models.SmallVideoLayoutParams;
30
+ const RemoveUserByStrRoomIdResponse = models.RemoveUserByStrRoomIdResponse;
31
+ const DescribeCloudRecordingRequest = models.DescribeCloudRecordingRequest;
32
+ const TencentVod = models.TencentVod;
33
+ const RecordParams = models.RecordParams;
34
+ const CreateCloudRecordingRequest = models.CreateCloudRecordingRequest;
35
+ const DeleteCloudRecordingResponse = models.DeleteCloudRecordingResponse;
36
+ const MixTranscodeParams = models.MixTranscodeParams;
37
+ const RemoveUserByStrRoomIdRequest = models.RemoveUserByStrRoomIdRequest;
38
+ const SubscribeStreamUserIds = models.SubscribeStreamUserIds;
39
+ const ModifyCloudRecordingRequest = models.ModifyCloudRecordingRequest;
40
+ const VideoParams = models.VideoParams;
41
+ const WaterMarkImage = models.WaterMarkImage;
42
+ const CloudVod = models.CloudVod;
43
+ const MixLayoutParams = models.MixLayoutParams;
44
+ const DeleteCloudRecordingRequest = models.DeleteCloudRecordingRequest;
67
45
  const RemoveUserResponse = models.RemoveUserResponse;
68
- const PresetLayoutConfig = models.PresetLayoutConfig;
69
- const StopMCUMixTranscodeResponse = models.StopMCUMixTranscodeResponse;
70
- const DescribeCallDetailResponse = models.DescribeCallDetailResponse;
71
- const DescribePictureResponse = models.DescribePictureResponse;
72
- const SdkAppIdTrtcUsage = models.SdkAppIdTrtcUsage;
73
- const DescribeTrtcInteractiveTimeRequest = models.DescribeTrtcInteractiveTimeRequest;
74
- const PublishCdnParams = models.PublishCdnParams;
75
- const DescribeRoomInformationRequest = models.DescribeRoomInformationRequest;
76
- const DescribeDetailEventRequest = models.DescribeDetailEventRequest;
77
- const AbnormalExperience = models.AbnormalExperience;
78
- const RoomState = models.RoomState;
79
- const CreatePictureResponse = models.CreatePictureResponse;
80
- const WaterMarkParams = models.WaterMarkParams;
81
- const DescribeRecordStatisticResponse = models.DescribeRecordStatisticResponse;
46
+ const AudioParams = models.AudioParams;
82
47
  const DismissRoomByStrRoomIdResponse = models.DismissRoomByStrRoomIdResponse;
83
- const DescribeHistoryScaleResponse = models.DescribeHistoryScaleResponse;
84
- const StartMCUMixTranscodeByStrRoomIdResponse = models.StartMCUMixTranscodeByStrRoomIdResponse;
85
- const PictureInfo = models.PictureInfo;
48
+ const ModifyCloudRecordingResponse = models.ModifyCloudRecordingResponse;
86
49
 
87
50
 
88
51
  /**
@@ -96,101 +59,58 @@ class TrtcClient extends AbstractClient {
96
59
  }
97
60
 
98
61
  /**
99
- * This API is used to enable On-Cloud MixTranscoding and specify the position of each channel of image in stream mixing.
100
-
101
- There may be multiple audio/video streams in a TRTC room. You can call this API to request the Tencent Cloud server to mix the audio and video and specify the position of each image to produce just one audio/video stream for recording and playback. The mixing stops automatically after a room is terminated.
102
-
103
- You can use this API to perform the following operations:
104
- - Set image and audio quality parameters of the final live stream, including video resolution, video bitrate, video frame rate, and audio quality.
105
- - Set the layout, i.e., the position of each image. You only need to set it once when enabling On-Cloud MixTranscoding, and the layout engine will automatically arrange images as configured.
106
- - Set the names of recording files for future playback.
107
- - Set the stream ID for CDN live streaming.
108
-
109
- Currently, On-Cloud MixTranscoding supports the following layout templates:
110
- - Floating: The entire screen is covered by the video image of the first user who enters the room, and the images of other users are displayed as small images in rows in the bottom-left corner in room entry sequence. The screen allows up to 4 rows of 4 small images, which float over the big image. Up to 1 big image and 15 small images can be displayed. A user sending audio only will still occupy an image spot.
111
- - Grid: The images of all users split the entire screen evenly. The more users, the smaller the image dimensions. Up to 16 images can be displayed. A user sending audio only will still occupy an image spot.
112
- - Screen sharing: This is designed for video conferencing and online education. The shared screen (or camera image of the anchor) is always displayed as the big image, which occupies the left half of the screen, and the images of other users occupy the right half in up to 2 columns of up to 8 small images each. Up to 1 big image and 15 small images can be displayed. If the upstream aspect ratio does not match the output, the big image on the left will be scaled and displayed in whole, while the small images on the right will be cropped.
113
- - Picture-in-picture: This template mixes the big and small images or big image of a user with the audio of other users. The small image floats over the big image. You can specify the user whose small and big images are displayed, as well as the position of the small image. This template can display at most 2 images.
114
- - Custom: This is designed for cases where you want to specify the image positions of users in the mixed stream or preset image positions. If users are assigned to preset positions, the layout engine will reserve the positions for the users; if not, users will occupy the positions in room entry sequence. Once all preset positions are occupied, TRTC will stop mixing the audio and video of other users. If the place-holding feature is enabled for a custom template (by setting `PlaceHolderMode` in `LayoutParams` to `1`) and a user for whom a place is held is not sending video, the position will show the specified placeholder image (`PlaceImageId`).
115
-
116
- Notes:
117
- 1. **As On-Cloud MixTranscoding is a paid feature, you will be charged for calling this API. For details, see [Billing of On-Cloud MixTranscoding](https://intl.cloud.tencent.com/document/product/647/49446?from_cn_redirect=1).**
118
- 2. You can call this API only if your application is created on or after January 9, 2020. Applications created before use the stream mixing service of CSS by default. If you want to switch to MCU On-Cloud MixTranscoding, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).
119
- 3. You cannot use the server and client stream mixing APIs at the same time.
120
- * @param {StartMCUMixTranscodeRequest} req
121
- * @param {function(string, StartMCUMixTranscodeResponse):void} cb
122
- * @public
123
- */
124
- StartMCUMixTranscode(req, cb) {
125
- let resp = new StartMCUMixTranscodeResponse();
126
- this.request("StartMCUMixTranscode", req, resp, cb);
127
- }
128
-
129
- /**
130
- * This API is used to query the room list of an `SDKAppID` in the last 14 days. It returns 10 calls by default and can return up to 100 calls per query.
131
- **Note**: You can use this API to query or check historical data, but not for real-time key business logic.
132
- * @param {DescribeRoomInformationRequest} req
133
- * @param {function(string, DescribeRoomInformationResponse):void} cb
62
+ * This API is used to remove all users from a room and close the room. It works on all platforms. For Android, iOS, Windows, and macOS, you need to update the TRTC SDK to version 6.6 or above.
63
+ * @param {DismissRoomByStrRoomIdRequest} req
64
+ * @param {function(string, DismissRoomByStrRoomIdResponse):void} cb
134
65
  * @public
135
66
  */
136
- DescribeRoomInformation(req, cb) {
137
- let resp = new DescribeRoomInformationResponse();
138
- this.request("DescribeRoomInformation", req, resp, cb);
67
+ DismissRoomByStrRoomId(req, cb) {
68
+ let resp = new DismissRoomByStrRoomIdResponse();
69
+ this.request("DismissRoomByStrRoomId", req, resp, cb);
139
70
  }
140
71
 
141
72
  /**
142
- * This API is used to end On-Cloud MixTranscoding.
143
- * @param {StopMCUMixTranscodeRequest} req
144
- * @param {function(string, StopMCUMixTranscodeResponse):void} cb
73
+ * This API is used to query the status of a recording task after it starts. It works only when a task is in progress. If the task has already ended when this API is called, an error will be returned.
74
+ * @param {DescribeCloudRecordingRequest} req
75
+ * @param {function(string, DescribeCloudRecordingResponse):void} cb
145
76
  * @public
146
77
  */
147
- StopMCUMixTranscode(req, cb) {
148
- let resp = new StopMCUMixTranscodeResponse();
149
- this.request("StopMCUMixTranscode", req, resp, cb);
78
+ DescribeCloudRecording(req, cb) {
79
+ let resp = new DescribeCloudRecordingResponse();
80
+ this.request("DescribeCloudRecording", req, resp, cb);
150
81
  }
151
82
 
152
83
  /**
153
- * This API is used to create exception information.
154
- * @param {CreateTroubleInfoRequest} req
155
- * @param {function(string, CreateTroubleInfoResponse):void} cb
156
- * @public
157
- */
158
- CreateTroubleInfo(req, cb) {
159
- let resp = new CreateTroubleInfoResponse();
160
- this.request("CreateTroubleInfo", req, resp, cb);
161
- }
84
+ * ### API description
85
+ This API is used to start an on-cloud recording task. It records the audio and video streams in a room and saves them to the specified cloud storage. You can use this API to record the streams in a room separately, or you can mix the streams first and then record the mixed stream.
162
86
 
163
- /**
164
- * This API is used to query the daily numbers of rooms and users under a specified `SDKAppID`. It can query data once per minute for the last 14 days. If a day has not ended, the numbers of rooms and users on the day cannot be queried.
165
- * @param {DescribeHistoryScaleRequest} req
166
- * @param {function(string, DescribeHistoryScaleResponse):void} cb
167
- * @public
168
- */
169
- DescribeHistoryScale(req, cb) {
170
- let resp = new DescribeHistoryScaleResponse();
171
- this.request("DescribeHistoryScale", req, resp, cb);
172
- }
87
+ ### You can use this API to perform the following operations:
88
+ * Specify the anchors whose streams you want or do not want to record by using the `RecordParams` parameter
89
+ * Specify the storage service you want to save recording files to by using the `StorageParams` parameter
90
+ * Specify transcoding settings for mixed-stream recording, including video resolution, video bitrate, frame rate, and audio quality, by using `MixTranscodeParams`
91
+ * Specify the layout of different videos in mixed-stream recording mode or select an auto-arranged layout template
173
92
 
174
- /**
175
- * This API is used to delete custom background or watermark images during [On-Cloud MixTranscoding](https://intl.cloud.tencent.com/document/product/647/16827?from_cn_redirect=1). If you do not need to delete such images frequently, we recommend you delete them in the console via **Application Management** > **[Material Management](https://intl.cloud.tencent.com/document/product/647/50769?from_cn_redirect=1)**.
176
- * @param {DeletePictureRequest} req
177
- * @param {function(string, DeletePictureResponse):void} cb
93
+ ### Key concepts
94
+ * Single-stream recording: Record the audio and video of each subscribed user (`UserId`) in a room and save the recording files (M3U8/TS) to the cloud
95
+ * Mixed-stream recording: Mix the audios and videos of subscribed users (`UserId`) in a room, record the mixed stream, and save the recording files (M3U8/TS) to the cloud
96
+ * @param {CreateCloudRecordingRequest} req
97
+ * @param {function(string, CreateCloudRecordingResponse):void} cb
178
98
  * @public
179
99
  */
180
- DeletePicture(req, cb) {
181
- let resp = new DeletePictureResponse();
182
- this.request("DeletePicture", req, resp, cb);
100
+ CreateCloudRecording(req, cb) {
101
+ let resp = new CreateCloudRecordingResponse();
102
+ this.request("CreateCloudRecording", req, resp, cb);
183
103
  }
184
104
 
185
105
  /**
186
- * This API is used to add custom background or watermark images during [On-Cloud MixTranscoding](https://intl.cloud.tencent.com/document/product/647/16827?from_cn_redirect=1). If you do not need to add such images frequently, we recommend you add them in the console via **Application Management** > **[Material Management](https://intl.cloud.tencent.com/document/product/647/50769?from_cn_redirect=1)**.
187
- * @param {CreatePictureRequest} req
188
- * @param {function(string, CreatePictureResponse):void} cb
106
+ * This API is used to stop a recording task. It works only when a task is in progress. If the task has already ended when this API is called, an error will be returned. If a task is stopped successfully, but the uploading of recording files has not completed, the backend will continue to upload the files and will notify you via a callback when the upload is completed.
107
+ * @param {DeleteCloudRecordingRequest} req
108
+ * @param {function(string, DeleteCloudRecordingResponse):void} cb
189
109
  * @public
190
110
  */
191
- CreatePicture(req, cb) {
192
- let resp = new CreatePictureResponse();
193
- this.request("CreatePicture", req, resp, cb);
111
+ DeleteCloudRecording(req, cb) {
112
+ let resp = new DeleteCloudRecordingResponse();
113
+ this.request("DeleteCloudRecording", req, resp, cb);
194
114
  }
195
115
 
196
116
  /**
@@ -205,90 +125,14 @@ Notes:
205
125
  }
206
126
 
207
127
  /**
208
- * This API is used to query the user list and call quality data of a specified time range in the last 14 days. When `DataType` is not null, data of up to 6 users during a period of up to 1 hour can be queried each time, and the period can start on one day and end on the next. When `DataType` and `UserIds` are null, 6 users are queried by default, and data of up to 100 users can be displayed on each page (`PageSize` set to 100 or smaller). This API is used to query call quality and is not recommended for billing.
209
- **Note**: You can use this API to query or check historical data, but not for real-time key business logic.
210
- * @param {DescribeCallDetailRequest} req
211
- * @param {function(string, DescribeCallDetailResponse):void} cb
212
- * @public
213
- */
214
- DescribeCallDetail(req, cb) {
215
- let resp = new DescribeCallDetailResponse();
216
- this.request("DescribeCallDetail", req, resp, cb);
217
- }
218
-
219
- /**
220
- * This API is used to stop On-Cloud MixTranscoding.
221
- * @param {StopMCUMixTranscodeByStrRoomIdRequest} req
222
- * @param {function(string, StopMCUMixTranscodeByStrRoomIdResponse):void} cb
223
- * @public
224
- */
225
- StopMCUMixTranscodeByStrRoomId(req, cb) {
226
- let resp = new StopMCUMixTranscodeByStrRoomIdResponse();
227
- this.request("StopMCUMixTranscodeByStrRoomId", req, resp, cb);
228
- }
229
-
230
- /**
231
- * This API is used to modify custom background or watermark images during [On-Cloud MixTranscoding](https://intl.cloud.tencent.com/document/product/647/16827?from_cn_redirect=1). If you do not need to modify such images frequently, we recommend you modify them in the console via **Application Management** > **[Material Management](https://intl.cloud.tencent.com/document/product/647/50769?from_cn_redirect=1)**.
232
- * @param {ModifyPictureRequest} req
233
- * @param {function(string, ModifyPictureResponse):void} cb
128
+ * This API is used to modify a recording task. It works only when a task is in progress. If the task has already ended when this API is called, an error will be returned. You need to specify all the parameters for each request instead of just the ones you want to modify.
129
+ * @param {ModifyCloudRecordingRequest} req
130
+ * @param {function(string, ModifyCloudRecordingResponse):void} cb
234
131
  * @public
235
132
  */
236
- ModifyPicture(req, cb) {
237
- let resp = new ModifyPictureResponse();
238
- this.request("ModifyPicture", req, resp, cb);
239
- }
240
-
241
- /**
242
- * This API is used to remove all users from a room and close the room. It works on all platforms. For Android, iOS, Windows, and macOS, you need to update the TRTC SDK to version 6.6 or above.
243
- * @param {DismissRoomByStrRoomIdRequest} req
244
- * @param {function(string, DismissRoomByStrRoomIdResponse):void} cb
245
- * @public
246
- */
247
- DismissRoomByStrRoomId(req, cb) {
248
- let resp = new DismissRoomByStrRoomIdResponse();
249
- this.request("DismissRoomByStrRoomId", req, resp, cb);
250
- }
251
-
252
- /**
253
- * This API is used to query exception occurrences under a specified `SDKAppID` and return the exception IDs and possible causes. It queries data in last 15 days, and the query period is up to 1 hour, which can start and end on different days. For more information about exceptions, please see the exception event ID mapping table: https://intl.cloud.tencent.com/document/product/647/37906.
254
- * @param {DescribeAbnormalEventRequest} req
255
- * @param {function(string, DescribeAbnormalEventResponse):void} cb
256
- * @public
257
- */
258
- DescribeAbnormalEvent(req, cb) {
259
- let resp = new DescribeAbnormalEventResponse();
260
- this.request("DescribeAbnormalEvent", req, resp, cb);
261
- }
262
-
263
- /**
264
- * This API is used to enable On-Cloud MixTranscoding and specify the position of each channel of image in stream mixing.
265
-
266
- There may be multiple channels of audio/video streams in a TRTC room. You can call this API to request the Tencent Cloud server to mix multiple channels of video images and audio into one channel and specify the position of each image so as to produce only one channel of audio/video stream for recording and live streaming.
267
-
268
- You can use this API to perform the following operations:
269
- - Set image and audio quality parameters of the mixed stream, including video resolution, bitrate, frame rate, and audio quality.
270
- - Set the layout, i.e., the position of each channel of image. You only need to set it once when enabling On-Cloud MixTranscoding, and the layout engine will automatically arrange images as configured.
271
- - Set the names of recording files for future playback.
272
- - Set the stream ID for CDN live streaming.
273
-
274
- Currently, On-Cloud MixTranscoding supports the following layout templates:
275
- - Floating: the entire screen is covered by the video image of the first user who enters the room, and the images of other users are displayed as small images in horizontal rows in the bottom-left corner in room entry sequence. The screen can accommodate up to 4 rows of 4 small images, which float over the big image. Up to 1 big image and 15 small images can be displayed. A user sending audio only will still occupy an image spot.
276
- - Grid: the images of all users split the screen evenly. The more the users, the smaller the image dimensions. Up to 16 images can be displayed. A user sending audio only will still occupy an image spot.
277
- - Screen sharing: this template is designed for video conferencing and online classes. The shared screen (or camera image of the anchor) is always displayed as the big image, which occupies the left half of the screen, and the images of other users occupy the right half in up to 2 columns of a maximum of 8 small images each. Up to 1 big image and 15 small images can be displayed. If the aspect ratio of upstream images does not match that of output images, the big image on the left will be scaled and displayed in whole, while the small images on the right will be cropped.
278
- - Picture-in-picture: this template mixes the big and small images or big image of a user with the audio of other users. The small image floats over the big image. You can specify the user whose big and small images are displayed and the position of the small image.
279
- - Custom: you can use custom templates to specify the image positions of users in mixed streams or preset image positions. If users are assigned to preset positions, the layout engine will reserve the positions for the users; if not, users will occupy the positions in room entry sequence. Once all preset positions are occupied, TRTC will stop mixing the audio and images of other users. If the placeholding feature is enabled for a custom template (`PlaceHolderMode` in `LayoutParams` is set to 1), but a user for whom a place is reserved is not sending video data, the position will show the corresponding placeholder image (`PlaceImageId`).
280
-
281
- Notes:
282
- 1. **As On-Cloud MixTranscoding is a paid feature, you will be charged for calling this API. For details, see [Billing of On-Cloud MixTranscoding](https://intl.cloud.tencent.com/document/product/647/49446?from_cn_redirect=1).**
283
- 2. You can call this API only if your application is created on or after January 9, 2020. Applications created before use the stream mixing service of CSS by default. If you want to switch to MCU On-Cloud MixTranscoding, please [submit a ticket](https://console.cloud.tencent.com/workorder/category).
284
- 3. You cannot use the server and client stream mixing APIs at the same time.
285
- * @param {StartMCUMixTranscodeByStrRoomIdRequest} req
286
- * @param {function(string, StartMCUMixTranscodeByStrRoomIdResponse):void} cb
287
- * @public
288
- */
289
- StartMCUMixTranscodeByStrRoomId(req, cb) {
290
- let resp = new StartMCUMixTranscodeByStrRoomIdResponse();
291
- this.request("StartMCUMixTranscodeByStrRoomId", req, resp, cb);
133
+ ModifyCloudRecording(req, cb) {
134
+ let resp = new ModifyCloudRecordingResponse();
135
+ this.request("ModifyCloudRecording", req, resp, cb);
292
136
  }
293
137
 
294
138
  /**
@@ -313,86 +157,6 @@ Notes:
313
157
  this.request("DismissRoom", req, resp, cb);
314
158
  }
315
159
 
316
- /**
317
- * This API is used to query billable on-cloud recording durations.
318
-
319
- - If the period queried is 1 day or shorter, the statistics returned are on a 5-minute basis. If the period queried is longer than 1 day, the statistics returned are on a daily basis.
320
- - The period queried in a request cannot be longer than 31 days.
321
- - If you query the statistics of the current day, the statistics returned may be inaccurate due to the delay in data collection.
322
- - In the daily pay-as-you-go mode, bills for a day are generated the next morning. Therefore, we recommend you query the statistics after 9 AM the next day.
323
- * @param {DescribeRecordStatisticRequest} req
324
- * @param {function(string, DescribeRecordStatisticResponse):void} cb
325
- * @public
326
- */
327
- DescribeRecordStatistic(req, cb) {
328
- let resp = new DescribeRecordStatisticResponse();
329
- this.request("DescribeRecordStatistic", req, resp, cb);
330
- }
331
-
332
- /**
333
- * This API is used to query billable relaying and transcoding durations.
334
- - If the period queried is 1 day or shorter, the statistics returned are on a 5-minute basis. If the period queried is longer than 1 day, the statistics returned are on a daily basis.
335
- - The period queried in a request cannot be longer than 31 days.
336
- - If you query the statistics of the current day, the statistics returned may be inaccurate due to the delay in data collection.
337
- - In the daily pay-as-you-go mode, bills for a day are generated the next morning. Therefore, we recommend you query the statistics after 9 AM the next day.
338
- * @param {DescribeTrtcMcuTranscodeTimeRequest} req
339
- * @param {function(string, DescribeTrtcMcuTranscodeTimeResponse):void} cb
340
- * @public
341
- */
342
- DescribeTrtcMcuTranscodeTime(req, cb) {
343
- let resp = new DescribeTrtcMcuTranscodeTimeResponse();
344
- this.request("DescribeTrtcMcuTranscodeTime", req, resp, cb);
345
- }
346
-
347
- /**
348
- * This API is used to query billable audio/video interaction durations.
349
- - If the period queried is 1 day or shorter, the statistics returned are on a 5-minute basis. If the period queried is longer than 1 day, the statistics returned are on a daily basis.
350
- - The period queried in a request cannot be longer than 31 days.
351
- - If you query the statistics of the current day, the statistics returned may be inaccurate due to the delay in data collection.
352
- - In the daily pay-as-you-go mode, bills for a day are generated the next morning. Therefore, we recommend you query the statistics after 9 AM the next day.
353
- * @param {DescribeTrtcInteractiveTimeRequest} req
354
- * @param {function(string, DescribeTrtcInteractiveTimeResponse):void} cb
355
- * @public
356
- */
357
- DescribeTrtcInteractiveTime(req, cb) {
358
- let resp = new DescribeTrtcInteractiveTimeResponse();
359
- this.request("DescribeTrtcInteractiveTime", req, resp, cb);
360
- }
361
-
362
- /**
363
- * This API is used to query the information of custom background or watermark images during [On-Cloud MixTranscoding](https://intl.cloud.tencent.com/document/product/647/16827?from_cn_redirect=1). If you do not need to query such information frequently, we recommend you query it in the console via **Application Management** > **[Material Management](https://intl.cloud.tencent.com/document/product/647/50769?from_cn_redirect=1)**.
364
- * @param {DescribePictureRequest} req
365
- * @param {function(string, DescribePictureResponse):void} cb
366
- * @public
367
- */
368
- DescribePicture(req, cb) {
369
- let resp = new DescribePictureResponse();
370
- this.request("DescribePicture", req, resp, cb);
371
- }
372
-
373
- /**
374
- * This API is used to query a user’s activity details such as room entry/exit and video enablement/disablement during a call. It can query data for the last 14 days.
375
- * @param {DescribeDetailEventRequest} req
376
- * @param {function(string, DescribeDetailEventResponse):void} cb
377
- * @public
378
- */
379
- DescribeDetailEvent(req, cb) {
380
- let resp = new DescribeDetailEventResponse();
381
- this.request("DescribeDetailEvent", req, resp, cb);
382
- }
383
-
384
- /**
385
- * This API is used to query the user list of a specified time range (up to 4 hours) in the last 14 days. Data of 6 users is displayed on each page by default, and data of up to 100 users can be displayed on each page (`PageSize` set to 100 or smaller).
386
- **Note**: You can use this API to query or check historical data, but not for real-time key business logic.
387
- * @param {DescribeUserInformationRequest} req
388
- * @param {function(string, DescribeUserInformationResponse):void} cb
389
- * @public
390
- */
391
- DescribeUserInformation(req, cb) {
392
- let resp = new DescribeUserInformationResponse();
393
- this.request("DescribeUserInformation", req, resp, cb);
394
- }
395
-
396
160
 
397
161
  }
398
162
  module.exports = TrtcClient;