tencentcloud-sdk-nodejs-trtc 4.0.389 → 4.0.433

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.
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { DescribeAbnormalEventResponse, DescribeAbnormalEventRequest, DescribeScaleInfoRequest, ModifyPictureResponse, StartMCUMixTranscodeByStrRoomIdRequest, DescribeScaleInfoResponse, CreatePictureRequest, DescribeTrtcMcuTranscodeTimeRequest, RemoveUserByStrRoomIdRequest, DismissRoomResponse, DescribeRecordStatisticRequest, DescribeUserInformationRequest, DescribeCallDetailRequest, DescribeUserInformationResponse, DescribeTrtcMcuTranscodeTimeResponse, RemoveUserByStrRoomIdResponse, StartMCUMixTranscodeRequest, StopMCUMixTranscodeRequest, DescribeCallDetailInfoResponse, DescribeUserEventRequest, DescribeHistoryScaleRequest, DeletePictureRequest, DescribeRoomInformationResponse, RemoveUserRequest, DescribeRoomInfoRequest, DescribeExternalTrtcMeasureRequest, ModifyPictureRequest, StopMCUMixTranscodeByStrRoomIdRequest, StopMCUMixTranscodeByStrRoomIdResponse, DeletePictureResponse, DescribeRoomInfoResponse, DismissRoomRequest, DescribeDetailEventResponse, DismissRoomByStrRoomIdRequest, DescribeExternalTrtcMeasureResponse, DescribeUserEventResponse, DescribeCallDetailInfoRequest, DescribePictureRequest, DescribeUnusualEventRequest, DescribeUserInfoResponse, RemoveUserResponse, StopMCUMixTranscodeResponse, DescribeCallDetailResponse, DescribePictureResponse, DescribeRoomInformationRequest, DescribeUserInfoRequest, DescribeDetailEventRequest, StartMCUMixTranscodeResponse, CreatePictureResponse, DescribeRecordStatisticResponse, DismissRoomByStrRoomIdResponse, DescribeHistoryScaleResponse, DescribeUnusualEventResponse, StartMCUMixTranscodeByStrRoomIdResponse } from "./trtc_models";
2
+ import { CreatePictureRequest, RemoveUserByStrRoomIdResponse, StartMCUMixTranscodeRequest, DescribeUserEventRequest, StartMCUMixTranscodeByStrRoomIdRequest, DescribeUserEventResponse, StopMCUMixTranscodeByStrRoomIdResponse, DescribeCallDetailInfoRequest, DescribeUserInfoRequest, DescribeRecordStatisticResponse, StartMCUMixTranscodeByStrRoomIdResponse, DismissRoomByStrRoomIdRequest, DescribeRecordStatisticRequest, DescribeRoomInfoRequest, DescribeCallDetailInfoResponse, ModifyPictureRequest, DescribeRoomInfoResponse, DescribeUserInfoResponse, ModifyPictureResponse, DescribeScaleInfoResponse, StopMCUMixTranscodeResponse, RemoveUserRequest, DismissRoomRequest, DescribeUnusualEventRequest, DescribeCloudRecordingRequest, StopMCUMixTranscodeRequest, CreateCloudRecordingRequest, DeleteCloudRecordingResponse, StopMCUMixTranscodeByStrRoomIdRequest, DeletePictureResponse, ModifyCloudRecordingRequest, CreateCloudRecordingResponse, StartMCUMixTranscodeResponse, DescribeTrtcMcuTranscodeTimeResponse, DeleteCloudRecordingRequest, DescribePictureRequest, DescribeExternalTrtcMeasureResponse, DescribePictureResponse, DescribeTrtcMcuTranscodeTimeRequest, DescribeScaleInfoRequest, DismissRoomByStrRoomIdResponse, DescribeUnusualEventResponse, ModifyCloudRecordingResponse, DescribeCloudRecordingResponse, DismissRoomResponse, DeletePictureRequest, DescribeExternalTrtcMeasureRequest, RemoveUserByStrRoomIdRequest, CreatePictureResponse, RemoveUserResponse } from "./trtc_models";
3
3
  /**
4
4
  * trtc client
5
5
  * @class
@@ -7,9 +7,11 @@ import { DescribeAbnormalEventResponse, DescribeAbnormalEventRequest, DescribeSc
7
7
  export declare class Client extends TencentCloudCommon.AbstractClient {
8
8
  constructor(clientConfig: TencentCloudCommon.ClientConfig);
9
9
  /**
10
- * 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。(同老接口DescribeRoomInformation)
11
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
12
- */
10
+ * 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。(同老接口DescribeRoomInformation)
11
+ **注意**:
12
+ 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
13
+ 2.该接口目前免费提供中,监控仪表盘商业化计费后该接口需要订阅付费版后方可调用,仪表盘商业化说明请见:https://cloud.tencent.com/document/product/647/77735
14
+ */
13
15
  DescribeRoomInfo(req: DescribeRoomInfoRequest, cb?: (error: string, rep: DescribeRoomInfoResponse) => void): Promise<DescribeRoomInfoResponse>;
14
16
  /**
15
17
  * 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
@@ -36,23 +38,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
36
38
  */
37
39
  StartMCUMixTranscode(req: StartMCUMixTranscodeRequest, cb?: (error: string, rep: StartMCUMixTranscodeResponse) => void): Promise<StartMCUMixTranscodeResponse>;
38
40
  /**
39
- * 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。
40
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
41
- */
42
- DescribeRoomInformation(req: DescribeRoomInformationRequest, cb?: (error: string, rep: DescribeRoomInformationResponse) => void): Promise<DescribeRoomInformationResponse>;
43
- /**
44
- * 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
45
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
46
- */
41
+ * 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
42
+ **注意**:
43
+ 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
44
+ 2.该接口目前免费提供中,监控仪表盘商业化计费后该接口需要订阅付费版后方可调用,仪表盘商业化说明请见:https://cloud.tencent.com/document/product/647/77735
45
+ */
47
46
  DescribeCallDetailInfo(req: DescribeCallDetailInfoRequest, cb?: (error: string, rep: DescribeCallDetailInfoResponse) => void): Promise<DescribeCallDetailInfoResponse>;
48
47
  /**
49
48
  * 接口说明:结束云端混流
50
49
  */
51
50
  StopMCUMixTranscode(req: StopMCUMixTranscodeRequest, cb?: (error: string, rep: StopMCUMixTranscodeResponse) => void): Promise<StopMCUMixTranscodeResponse>;
52
- /**
53
- * 可查询SdkAppId每天的房间数和用户数,按天统计,可查询最近14天的数据。当天未结束,数据未统计完成,无法查到当天的房间数与用户数
54
- */
55
- DescribeHistoryScale(req: DescribeHistoryScaleRequest, cb?: (error: string, rep: DescribeHistoryScaleResponse) => void): Promise<DescribeHistoryScaleResponse>;
56
51
  /**
57
52
  * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
58
53
  */
@@ -66,14 +61,28 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
66
61
  */
67
62
  RemoveUser(req: RemoveUserRequest, cb?: (error: string, rep: RemoveUserResponse) => void): Promise<RemoveUserResponse>;
68
63
  /**
69
- * 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。
70
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
64
+ * 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
71
65
  */
72
- DescribeCallDetail(req: DescribeCallDetailRequest, cb?: (error: string, rep: DescribeCallDetailResponse) => void): Promise<DescribeCallDetailResponse>;
66
+ ModifyCloudRecording(req: ModifyCloudRecordingRequest, cb?: (error: string, rep: ModifyCloudRecordingResponse) => void): Promise<ModifyCloudRecordingResponse>;
73
67
  /**
74
68
  * 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。(同接口DescribeDetailEvent)
75
69
  */
76
70
  DescribeUserEvent(req: DescribeUserEventRequest, cb?: (error: string, rep: DescribeUserEventResponse) => void): Promise<DescribeUserEventResponse>;
71
+ /**
72
+ * 接口说明:
73
+ 启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制有或者多路视频画面混流一路。
74
+
75
+ 您可以通过此接口实现如下目标:
76
+ * 指定订阅流参数(RecordParams)来指定需要录制的主播的黑名单或者白名单。
77
+ * 指定第三方存储的参数(StorageParams)来指定上传到您希望的云存储,目前仅支持云点播存储(CloudVod)
78
+ * 指定混流模式下的音视频转码详细参数(MixTranscodeParams),包括视频分辨率、视频码率、视频帧率、以及声音质量等
79
+ * 指定混流模式各路画面的位置和布局或者也可以指定自动模板的方式来配置。
80
+
81
+ 关键名词:
82
+ * 单流录制:分别录制房间的订阅UserId的音频和视频。录制服务会实时将录制文件上传至云点播存储。
83
+ * 合流录制:将房间内订阅UserId的音视频混录成一个音视频文件,并将录制文件上传至云点播存储(录制结束后可前往云点播控制台查看录制文件:https://console.cloud.tencent.com/vod/media)。
84
+ */
85
+ CreateCloudRecording(req: CreateCloudRecordingRequest, cb?: (error: string, rep: CreateCloudRecordingResponse) => void): Promise<CreateCloudRecordingResponse>;
77
86
  /**
78
87
  * 获取Trtc的用量统计数据。走计费渠道二期 只允许查两天的数据
79
88
  */
@@ -87,9 +96,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
87
96
  */
88
97
  ModifyPicture(req: ModifyPictureRequest, cb?: (error: string, rep: ModifyPictureResponse) => void): Promise<ModifyPictureResponse>;
89
98
  /**
90
- * 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)
91
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
92
- */
99
+ * 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)
100
+ **注意**:
101
+ 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
102
+ 2.该接口目前免费提供中,监控仪表盘商业化计费后该接口需要订阅付费版后方可调用,仪表盘商业化说明请见:https://cloud.tencent.com/document/product/647/77735
103
+ */
93
104
  DescribeUserInfo(req: DescribeUserInfoRequest, cb?: (error: string, rep: DescribeUserInfoResponse) => void): Promise<DescribeUserInfoResponse>;
94
105
  /**
95
106
  * 接口说明:把房间所有用户从房间移出,解散房间。支持所有平台,Android、iOS、Windows 和 macOS 需升级到 TRTC SDK 6.6及以上版本。
@@ -99,11 +110,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
99
110
  * 接口说明:结束云端混流
100
111
  */
101
112
  StopMCUMixTranscodeByStrRoomId(req: StopMCUMixTranscodeByStrRoomIdRequest, cb?: (error: string, rep: StopMCUMixTranscodeByStrRoomIdResponse) => void): Promise<StopMCUMixTranscodeByStrRoomIdResponse>;
102
- /**
103
- * 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。
104
- 异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
105
- */
106
- DescribeAbnormalEvent(req: DescribeAbnormalEventRequest, cb?: (error: string, rep: DescribeAbnormalEventResponse) => void): Promise<DescribeAbnormalEventResponse>;
107
113
  /**
108
114
  * 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
109
115
 
@@ -154,21 +160,21 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
154
160
  */
155
161
  DescribeTrtcMcuTranscodeTime(req: DescribeTrtcMcuTranscodeTimeRequest, cb?: (error: string, rep: DescribeTrtcMcuTranscodeTimeResponse) => void): Promise<DescribeTrtcMcuTranscodeTimeResponse>;
156
162
  /**
157
- * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
163
+ * 成功开启录制后,可以使用此接口来查询录制状态。仅在录制任务进行时有效,录制退出后查询将会返回错误。
164
+ 录制文件上传到云点播VOD时,StorageFileList中不会返回录制文件信息,请订阅相关录制文件回调事件,获取录制文件信息。
165
+ */
166
+ DescribeCloudRecording(req: DescribeCloudRecordingRequest, cb?: (error: string, rep: DescribeCloudRecordingResponse) => void): Promise<DescribeCloudRecordingResponse>;
167
+ /**
168
+ * 成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
158
169
  */
159
- DescribePicture(req: DescribePictureRequest, cb?: (error: string, rep: DescribePictureResponse) => void): Promise<DescribePictureResponse>;
170
+ DeleteCloudRecording(req: DeleteCloudRecordingRequest, cb?: (error: string, rep: DeleteCloudRecordingResponse) => void): Promise<DeleteCloudRecordingResponse>;
160
171
  /**
161
- * 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。
172
+ * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
162
173
  */
163
- DescribeDetailEvent(req: DescribeDetailEventRequest, cb?: (error: string, rep: DescribeDetailEventResponse) => void): Promise<DescribeDetailEventResponse>;
174
+ DescribePicture(req: DescribePictureRequest, cb?: (error: string, rep: DescribePictureResponse) => void): Promise<DescribePictureResponse>;
164
175
  /**
165
176
  * 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。(同老接口DescribeAbnormalEvent)
166
177
  异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
167
178
  */
168
179
  DescribeUnusualEvent(req: DescribeUnusualEventRequest, cb?: (error: string, rep: DescribeUnusualEventResponse) => void): Promise<DescribeUnusualEventResponse>;
169
- /**
170
- * 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。
171
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
172
- */
173
- DescribeUserInformation(req: DescribeUserInformationRequest, cb?: (error: string, rep: DescribeUserInformationResponse) => void): Promise<DescribeUserInformationResponse>;
174
180
  }
@@ -28,9 +28,11 @@ class Client extends TencentCloudCommon.AbstractClient {
28
28
  super("trtc.tencentcloudapi.com", "2019-07-22", clientConfig);
29
29
  }
30
30
  /**
31
- * 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。(同老接口DescribeRoomInformation)
32
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
33
- */
31
+ * 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。(同老接口DescribeRoomInformation)
32
+ **注意**:
33
+ 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
34
+ 2.该接口目前免费提供中,监控仪表盘商业化计费后该接口需要订阅付费版后方可调用,仪表盘商业化说明请见:https://cloud.tencent.com/document/product/647/77735
35
+ */
34
36
  async DescribeRoomInfo(req, cb) {
35
37
  return this.request("DescribeRoomInfo", req, cb);
36
38
  }
@@ -61,16 +63,11 @@ class Client extends TencentCloudCommon.AbstractClient {
61
63
  return this.request("StartMCUMixTranscode", req, cb);
62
64
  }
63
65
  /**
64
- * 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。
65
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
66
- */
67
- async DescribeRoomInformation(req, cb) {
68
- return this.request("DescribeRoomInformation", req, cb);
69
- }
70
- /**
71
- * 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
72
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
73
- */
66
+ * 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
67
+ **注意**:
68
+ 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
69
+ 2.该接口目前免费提供中,监控仪表盘商业化计费后该接口需要订阅付费版后方可调用,仪表盘商业化说明请见:https://cloud.tencent.com/document/product/647/77735
70
+ */
74
71
  async DescribeCallDetailInfo(req, cb) {
75
72
  return this.request("DescribeCallDetailInfo", req, cb);
76
73
  }
@@ -80,12 +77,6 @@ class Client extends TencentCloudCommon.AbstractClient {
80
77
  async StopMCUMixTranscode(req, cb) {
81
78
  return this.request("StopMCUMixTranscode", req, cb);
82
79
  }
83
- /**
84
- * 可查询SdkAppId每天的房间数和用户数,按天统计,可查询最近14天的数据。当天未结束,数据未统计完成,无法查到当天的房间数与用户数
85
- */
86
- async DescribeHistoryScale(req, cb) {
87
- return this.request("DescribeHistoryScale", req, cb);
88
- }
89
80
  /**
90
81
  * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁删除自定义背景图或水印,可通过此接口删除已上传的图片。无需频繁删除图片的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中操作。
91
82
  */
@@ -105,11 +96,10 @@ class Client extends TencentCloudCommon.AbstractClient {
105
96
  return this.request("RemoveUser", req, cb);
106
97
  }
107
98
  /**
108
- * 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。
109
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
99
+ * 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
110
100
  */
111
- async DescribeCallDetail(req, cb) {
112
- return this.request("DescribeCallDetail", req, cb);
101
+ async ModifyCloudRecording(req, cb) {
102
+ return this.request("ModifyCloudRecording", req, cb);
113
103
  }
114
104
  /**
115
105
  * 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。(同接口DescribeDetailEvent)
@@ -117,6 +107,23 @@ class Client extends TencentCloudCommon.AbstractClient {
117
107
  async DescribeUserEvent(req, cb) {
118
108
  return this.request("DescribeUserEvent", req, cb);
119
109
  }
110
+ /**
111
+ * 接口说明:
112
+ 启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制有或者多路视频画面混流一路。
113
+
114
+ 您可以通过此接口实现如下目标:
115
+ * 指定订阅流参数(RecordParams)来指定需要录制的主播的黑名单或者白名单。
116
+ * 指定第三方存储的参数(StorageParams)来指定上传到您希望的云存储,目前仅支持云点播存储(CloudVod)
117
+ * 指定混流模式下的音视频转码详细参数(MixTranscodeParams),包括视频分辨率、视频码率、视频帧率、以及声音质量等
118
+ * 指定混流模式各路画面的位置和布局或者也可以指定自动模板的方式来配置。
119
+
120
+ 关键名词:
121
+ * 单流录制:分别录制房间的订阅UserId的音频和视频。录制服务会实时将录制文件上传至云点播存储。
122
+ * 合流录制:将房间内订阅UserId的音视频混录成一个音视频文件,并将录制文件上传至云点播存储(录制结束后可前往云点播控制台查看录制文件:https://console.cloud.tencent.com/vod/media)。
123
+ */
124
+ async CreateCloudRecording(req, cb) {
125
+ return this.request("CreateCloudRecording", req, cb);
126
+ }
120
127
  /**
121
128
  * 获取Trtc的用量统计数据。走计费渠道二期 只允许查两天的数据
122
129
  */
@@ -136,9 +143,11 @@ class Client extends TencentCloudCommon.AbstractClient {
136
143
  return this.request("ModifyPicture", req, cb);
137
144
  }
138
145
  /**
139
- * 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)
140
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
141
- */
146
+ * 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)
147
+ **注意**:
148
+ 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
149
+ 2.该接口目前免费提供中,监控仪表盘商业化计费后该接口需要订阅付费版后方可调用,仪表盘商业化说明请见:https://cloud.tencent.com/document/product/647/77735
150
+ */
142
151
  async DescribeUserInfo(req, cb) {
143
152
  return this.request("DescribeUserInfo", req, cb);
144
153
  }
@@ -154,13 +163,6 @@ class Client extends TencentCloudCommon.AbstractClient {
154
163
  async StopMCUMixTranscodeByStrRoomId(req, cb) {
155
164
  return this.request("StopMCUMixTranscodeByStrRoomId", req, cb);
156
165
  }
157
- /**
158
- * 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。
159
- 异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
160
- */
161
- async DescribeAbnormalEvent(req, cb) {
162
- return this.request("DescribeAbnormalEvent", req, cb);
163
- }
164
166
  /**
165
167
  * 接口说明:启动云端混流,并指定混流画面中各路画面的布局位置。
166
168
 
@@ -221,16 +223,23 @@ class Client extends TencentCloudCommon.AbstractClient {
221
223
  return this.request("DescribeTrtcMcuTranscodeTime", req, cb);
222
224
  }
223
225
  /**
224
- * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
226
+ * 成功开启录制后,可以使用此接口来查询录制状态。仅在录制任务进行时有效,录制退出后查询将会返回错误。
227
+ 录制文件上传到云点播VOD时,StorageFileList中不会返回录制文件信息,请订阅相关录制文件回调事件,获取录制文件信息。
228
+ */
229
+ async DescribeCloudRecording(req, cb) {
230
+ return this.request("DescribeCloudRecording", req, cb);
231
+ }
232
+ /**
233
+ * 成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
225
234
  */
226
- async DescribePicture(req, cb) {
227
- return this.request("DescribePicture", req, cb);
235
+ async DeleteCloudRecording(req, cb) {
236
+ return this.request("DeleteCloudRecording", req, cb);
228
237
  }
229
238
  /**
230
- * 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。
239
+ * 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
231
240
  */
232
- async DescribeDetailEvent(req, cb) {
233
- return this.request("DescribeDetailEvent", req, cb);
241
+ async DescribePicture(req, cb) {
242
+ return this.request("DescribePicture", req, cb);
234
243
  }
235
244
  /**
236
245
  * 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。(同老接口DescribeAbnormalEvent)
@@ -239,12 +248,5 @@ class Client extends TencentCloudCommon.AbstractClient {
239
248
  async DescribeUnusualEvent(req, cb) {
240
249
  return this.request("DescribeUnusualEvent", req, cb);
241
250
  }
242
- /**
243
- * 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。
244
- **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
245
- */
246
- async DescribeUserInformation(req, cb) {
247
- return this.request("DescribeUserInformation", req, cb);
248
- }
249
251
  }
250
252
  exports.Client = Client;