tencentcloud-sdk-trtc 3.0.381 → 3.0.382
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190722/client.rb +7 -154
- data/lib/v20190722/models.rb +3 -437
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cdff169876004633470e5f27cbd1a5e5075d869
|
4
|
+
data.tar.gz: 990d3166b410fbe959997346dd47ea711974a8e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06a1f53d1db52921c4c9b6353e7168feca17f8faf25315de1f7f6cc7009a072b12ee236177ec5c66c197e443e76c2763d84ded96aea6aa9cc6fa16d67ad9ca02
|
7
|
+
data.tar.gz: 2f648fd80672f9bfb4db6575f90ee4b3faaf533ce396986149820fb2b5b5202abaed7e98b747cb53032784819af3ac35d38c450d382c55ace74ed775b470eb9a
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.382
|
data/lib/v20190722/client.rb
CHANGED
@@ -29,18 +29,18 @@ module TencentCloud
|
|
29
29
|
end
|
30
30
|
|
31
31
|
|
32
|
-
#
|
32
|
+
# 接口说明:
|
33
33
|
# 启动云端录制功能,完成房间内的音视频录制,并上传到指定的云存储。您可以通过此 API 接口把TRTC 房间中的每一路音视频流做单独的录制有或者多路视频画面混流一路。
|
34
34
|
|
35
|
-
#
|
35
|
+
# 您可以通过此接口实现如下目标:
|
36
36
|
# * 指定订阅流参数(RecordParams)来指定需要录制的主播的黑名单或者白名单。
|
37
37
|
# * 指定第三方存储的参数(StorageParams)来指定上传到您希望的云存储
|
38
38
|
# * 指定混流模式下的音视频转码详细参数(MixTranscodeParams),包括视频分辨率、视频码率、视频帧率、以及声音质量等
|
39
39
|
# * 指定混流模式各路画面的位置和布局或者也可以指定自动模板的方式来配置。
|
40
40
|
|
41
|
-
#
|
42
|
-
# * 单流录制:分别录制房间的订阅UserId
|
43
|
-
# *
|
41
|
+
# 关键名词:
|
42
|
+
# * 单流录制:分别录制房间的订阅UserId的音频和视频。录制服务会实时将录制文件上传至云点播存储。
|
43
|
+
# * 合流录制:将房间内订阅UserId的音视频混录成一个音视频文件,并将录制文件上传至云点播存储。
|
44
44
|
|
45
45
|
# @param request: Request instance for CreateCloudRecording.
|
46
46
|
# @type request: :class:`Tencentcloud::trtc::V20190722::CreateCloudRecordingRequest`
|
@@ -88,7 +88,7 @@ module TencentCloud
|
|
88
88
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
89
89
|
end
|
90
90
|
|
91
|
-
#
|
91
|
+
# 成功开启录制后,可以使用此接口来停止录制任务。停止录制成功后不代表文件全部传输完成,如果未完成后台将会继续上传文件,成功后通过事件回调通知客户文件全部传输完成状态。
|
92
92
|
|
93
93
|
# @param request: Request instance for DeleteCloudRecording.
|
94
94
|
# @type request: :class:`Tencentcloud::trtc::V20190722::DeleteCloudRecordingRequest`
|
@@ -136,56 +136,6 @@ module TencentCloud
|
|
136
136
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
137
137
|
end
|
138
138
|
|
139
|
-
# 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。
|
140
|
-
# 异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
|
141
|
-
|
142
|
-
# @param request: Request instance for DescribeAbnormalEvent.
|
143
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeAbnormalEventRequest`
|
144
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeAbnormalEventResponse`
|
145
|
-
def DescribeAbnormalEvent(request)
|
146
|
-
body = send_request('DescribeAbnormalEvent', request.serialize)
|
147
|
-
response = JSON.parse(body)
|
148
|
-
if response['Response'].key?('Error') == false
|
149
|
-
model = DescribeAbnormalEventResponse.new
|
150
|
-
model.deserialize(response['Response'])
|
151
|
-
model
|
152
|
-
else
|
153
|
-
code = response['Response']['Error']['Code']
|
154
|
-
message = response['Response']['Error']['Message']
|
155
|
-
reqid = response['Response']['RequestId']
|
156
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
157
|
-
end
|
158
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
159
|
-
raise e
|
160
|
-
rescue StandardError => e
|
161
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
162
|
-
end
|
163
|
-
|
164
|
-
# 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。
|
165
|
-
# **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
166
|
-
|
167
|
-
# @param request: Request instance for DescribeCallDetail.
|
168
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeCallDetailRequest`
|
169
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeCallDetailResponse`
|
170
|
-
def DescribeCallDetail(request)
|
171
|
-
body = send_request('DescribeCallDetail', request.serialize)
|
172
|
-
response = JSON.parse(body)
|
173
|
-
if response['Response'].key?('Error') == false
|
174
|
-
model = DescribeCallDetailResponse.new
|
175
|
-
model.deserialize(response['Response'])
|
176
|
-
model
|
177
|
-
else
|
178
|
-
code = response['Response']['Error']['Code']
|
179
|
-
message = response['Response']['Error']['Message']
|
180
|
-
reqid = response['Response']['RequestId']
|
181
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
182
|
-
end
|
183
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
184
|
-
raise e
|
185
|
-
rescue StandardError => e
|
186
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
187
|
-
end
|
188
|
-
|
189
139
|
# 查询指定时间内的用户列表及用户通话质量数据,可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)
|
190
140
|
# **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
191
141
|
|
@@ -212,6 +162,7 @@ module TencentCloud
|
|
212
162
|
end
|
213
163
|
|
214
164
|
# 成功开启录制后,可以使用此接口来查询录制状态。仅在录制任务进行时有效,录制退出后查询将会返回错误。
|
165
|
+
# 录制文件上传到云点播VOD时,StorageFileList中不会返回录制文件信息,请订阅相关录制文件回调事件,获取录制文件信息。
|
215
166
|
|
216
167
|
# @param request: Request instance for DescribeCloudRecording.
|
217
168
|
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeCloudRecordingRequest`
|
@@ -235,30 +186,6 @@ module TencentCloud
|
|
235
186
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
236
187
|
end
|
237
188
|
|
238
|
-
# 查询用户某次通话内的进退房,视频开关等详细事件。可查询14天内数据。
|
239
|
-
|
240
|
-
# @param request: Request instance for DescribeDetailEvent.
|
241
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeDetailEventRequest`
|
242
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeDetailEventResponse`
|
243
|
-
def DescribeDetailEvent(request)
|
244
|
-
body = send_request('DescribeDetailEvent', request.serialize)
|
245
|
-
response = JSON.parse(body)
|
246
|
-
if response['Response'].key?('Error') == false
|
247
|
-
model = DescribeDetailEventResponse.new
|
248
|
-
model.deserialize(response['Response'])
|
249
|
-
model
|
250
|
-
else
|
251
|
-
code = response['Response']['Error']['Code']
|
252
|
-
message = response['Response']['Error']['Message']
|
253
|
-
reqid = response['Response']['RequestId']
|
254
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
255
|
-
end
|
256
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
257
|
-
raise e
|
258
|
-
rescue StandardError => e
|
259
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
260
|
-
end
|
261
|
-
|
262
189
|
# 获取Trtc的用量统计数据。走计费渠道二期 只允许查两天的数据
|
263
190
|
|
264
191
|
# @param request: Request instance for DescribeExternalTrtcMeasure.
|
@@ -283,30 +210,6 @@ module TencentCloud
|
|
283
210
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
284
211
|
end
|
285
212
|
|
286
|
-
# 可查询SdkAppId每天的房间数和用户数,按天统计,可查询最近14天的数据。当天未结束,数据未统计完成,无法查到当天的房间数与用户数
|
287
|
-
|
288
|
-
# @param request: Request instance for DescribeHistoryScale.
|
289
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeHistoryScaleRequest`
|
290
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeHistoryScaleResponse`
|
291
|
-
def DescribeHistoryScale(request)
|
292
|
-
body = send_request('DescribeHistoryScale', request.serialize)
|
293
|
-
response = JSON.parse(body)
|
294
|
-
if response['Response'].key?('Error') == false
|
295
|
-
model = DescribeHistoryScaleResponse.new
|
296
|
-
model.deserialize(response['Response'])
|
297
|
-
model
|
298
|
-
else
|
299
|
-
code = response['Response']['Error']['Code']
|
300
|
-
message = response['Response']['Error']['Message']
|
301
|
-
reqid = response['Response']['RequestId']
|
302
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
303
|
-
end
|
304
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
305
|
-
raise e
|
306
|
-
rescue StandardError => e
|
307
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
308
|
-
end
|
309
|
-
|
310
213
|
# 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
|
311
214
|
|
312
215
|
# @param request: Request instance for DescribePicture.
|
@@ -385,31 +288,6 @@ module TencentCloud
|
|
385
288
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
386
289
|
end
|
387
290
|
|
388
|
-
# 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。
|
389
|
-
# **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
390
|
-
|
391
|
-
# @param request: Request instance for DescribeRoomInformation.
|
392
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeRoomInformationRequest`
|
393
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeRoomInformationResponse`
|
394
|
-
def DescribeRoomInformation(request)
|
395
|
-
body = send_request('DescribeRoomInformation', request.serialize)
|
396
|
-
response = JSON.parse(body)
|
397
|
-
if response['Response'].key?('Error') == false
|
398
|
-
model = DescribeRoomInformationResponse.new
|
399
|
-
model.deserialize(response['Response'])
|
400
|
-
model
|
401
|
-
else
|
402
|
-
code = response['Response']['Error']['Code']
|
403
|
-
message = response['Response']['Error']['Message']
|
404
|
-
reqid = response['Response']['RequestId']
|
405
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
406
|
-
end
|
407
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
408
|
-
raise e
|
409
|
-
rescue StandardError => e
|
410
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
411
|
-
end
|
412
|
-
|
413
291
|
# 可查询SdkAppId每天的房间数和用户数,按天统计,可查询最近14天的数据。当天未结束,数据未统计完成,无法查到当天的房间数与用户数。(同老接口DescribeHistoryScale)
|
414
292
|
|
415
293
|
# @param request: Request instance for DescribeScaleInfo.
|
@@ -536,31 +414,6 @@ module TencentCloud
|
|
536
414
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
537
415
|
end
|
538
416
|
|
539
|
-
# 查询指定时间内的用户列表,可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。
|
540
|
-
# **注意**:该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
541
|
-
|
542
|
-
# @param request: Request instance for DescribeUserInformation.
|
543
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeUserInformationRequest`
|
544
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeUserInformationResponse`
|
545
|
-
def DescribeUserInformation(request)
|
546
|
-
body = send_request('DescribeUserInformation', request.serialize)
|
547
|
-
response = JSON.parse(body)
|
548
|
-
if response['Response'].key?('Error') == false
|
549
|
-
model = DescribeUserInformationResponse.new
|
550
|
-
model.deserialize(response['Response'])
|
551
|
-
model
|
552
|
-
else
|
553
|
-
code = response['Response']['Error']['Code']
|
554
|
-
message = response['Response']['Error']['Message']
|
555
|
-
reqid = response['Response']['RequestId']
|
556
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
557
|
-
end
|
558
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
559
|
-
raise e
|
560
|
-
rescue StandardError => e
|
561
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
562
|
-
end
|
563
|
-
|
564
417
|
# 接口说明:把房间所有用户从房间移出,解散房间。支持所有平台,Android、iOS、Windows 和 macOS 需升级到 TRTC SDK 6.6及以上版本。
|
565
418
|
|
566
419
|
# @param request: Request instance for DismissRoom.
|
data/lib/v20190722/models.rb
CHANGED
@@ -168,13 +168,13 @@ module TencentCloud
|
|
168
168
|
# @type SdkAppId: Integer
|
169
169
|
# @param RoomId: TRTC的[RoomId](https://cloud.tencent.com/document/product/647/46351#roomid),录制的TRTC房间所对应的RoomId。
|
170
170
|
# @type RoomId: String
|
171
|
-
# @param UserId:
|
171
|
+
# @param UserId: 录制机器人用于进入TRTC房间拉流的[UserId](https://cloud.tencent.com/document/product/647/46351#userid),注意这个UserId不能与其他TRTC功能或者录制服务等已经使用的UserId重复,建议可以把房间ID作为userId的标识的一部分。
|
172
172
|
# @type UserId: String
|
173
|
-
# @param UserSig:
|
173
|
+
# @param UserSig: 录制机器人用于进入TRTC房间拉流的用户签名,当前 UserId 对应的验证签名,相当于登录密码,具体计算方法请参考TRTC计算[UserSig](https://cloud.tencent.com/document/product/647/45910#UserSig)的方案。
|
174
174
|
# @type UserSig: String
|
175
175
|
# @param RecordParams: 云端录制控制参数。
|
176
176
|
# @type RecordParams: :class:`Tencentcloud::Trtc.v20190722.models.RecordParams`
|
177
|
-
# @param StorageParams:
|
177
|
+
# @param StorageParams: 云端录制文件上传到云存储的参数(目前只支持使用腾讯云点播作为存储)。
|
178
178
|
# @type StorageParams: :class:`Tencentcloud::Trtc.v20190722.models.StorageParams`
|
179
179
|
# @param RoomIdType: TRTC房间号的类型,必须和录制的房间所对应的RoomId类型相同:
|
180
180
|
# 0: 字符串类型的RoomId
|
@@ -388,66 +388,6 @@ module TencentCloud
|
|
388
388
|
end
|
389
389
|
end
|
390
390
|
|
391
|
-
# DescribeAbnormalEvent请求参数结构体
|
392
|
-
class DescribeAbnormalEventRequest < TencentCloud::Common::AbstractModel
|
393
|
-
# @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
|
394
|
-
# @type SdkAppId: String
|
395
|
-
# @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
|
396
|
-
# 注意:支持查询14天内的数据
|
397
|
-
# @type StartTime: Integer
|
398
|
-
# @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)注意:与StartTime间隔时间不超过1小时。
|
399
|
-
# @type EndTime: Integer
|
400
|
-
# @param RoomId: 房间号,查询房间内任意20条以内异常体验事件
|
401
|
-
# @type RoomId: String
|
402
|
-
|
403
|
-
attr_accessor :SdkAppId, :StartTime, :EndTime, :RoomId
|
404
|
-
|
405
|
-
def initialize(sdkappid=nil, starttime=nil, endtime=nil, roomid=nil)
|
406
|
-
@SdkAppId = sdkappid
|
407
|
-
@StartTime = starttime
|
408
|
-
@EndTime = endtime
|
409
|
-
@RoomId = roomid
|
410
|
-
end
|
411
|
-
|
412
|
-
def deserialize(params)
|
413
|
-
@SdkAppId = params['SdkAppId']
|
414
|
-
@StartTime = params['StartTime']
|
415
|
-
@EndTime = params['EndTime']
|
416
|
-
@RoomId = params['RoomId']
|
417
|
-
end
|
418
|
-
end
|
419
|
-
|
420
|
-
# DescribeAbnormalEvent返回参数结构体
|
421
|
-
class DescribeAbnormalEventResponse < TencentCloud::Common::AbstractModel
|
422
|
-
# @param Total: 返回的数据总条数
|
423
|
-
# @type Total: Integer
|
424
|
-
# @param AbnormalExperienceList: 异常体验列表
|
425
|
-
# @type AbnormalExperienceList: Array
|
426
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
427
|
-
# @type RequestId: String
|
428
|
-
|
429
|
-
attr_accessor :Total, :AbnormalExperienceList, :RequestId
|
430
|
-
|
431
|
-
def initialize(total=nil, abnormalexperiencelist=nil, requestid=nil)
|
432
|
-
@Total = total
|
433
|
-
@AbnormalExperienceList = abnormalexperiencelist
|
434
|
-
@RequestId = requestid
|
435
|
-
end
|
436
|
-
|
437
|
-
def deserialize(params)
|
438
|
-
@Total = params['Total']
|
439
|
-
unless params['AbnormalExperienceList'].nil?
|
440
|
-
@AbnormalExperienceList = []
|
441
|
-
params['AbnormalExperienceList'].each do |i|
|
442
|
-
abnormalexperience_tmp = AbnormalExperience.new
|
443
|
-
abnormalexperience_tmp.deserialize(i)
|
444
|
-
@AbnormalExperienceList << abnormalexperience_tmp
|
445
|
-
end
|
446
|
-
end
|
447
|
-
@RequestId = params['RequestId']
|
448
|
-
end
|
449
|
-
end
|
450
|
-
|
451
391
|
# DescribeCallDetailInfo请求参数结构体
|
452
392
|
class DescribeCallDetailInfoRequest < TencentCloud::Common::AbstractModel
|
453
393
|
# @param CommId: 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
|
@@ -555,113 +495,6 @@ module TencentCloud
|
|
555
495
|
end
|
556
496
|
end
|
557
497
|
|
558
|
-
# DescribeCallDetail请求参数结构体
|
559
|
-
class DescribeCallDetailRequest < TencentCloud::Common::AbstractModel
|
560
|
-
# @param CommId: 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
|
561
|
-
# @type CommId: String
|
562
|
-
# @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777),
|
563
|
-
# 注意:支持查询14天内的数据。
|
564
|
-
# @type StartTime: Integer
|
565
|
-
# @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
|
566
|
-
# 注意:DataType 不为null ,与StartTime间隔时间不超过1小时;DataType 为null,与StartTime间隔时间不超过4小时。
|
567
|
-
# @type EndTime: Integer
|
568
|
-
# @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)。
|
569
|
-
# @type SdkAppId: String
|
570
|
-
# @param UserIds: 需查询的用户数组,默认不填返回6个用户。
|
571
|
-
# @type UserIds: Array
|
572
|
-
# @param DataType: 需查询的指标,不填则只返回用户列表,填all则返回所有指标。
|
573
|
-
# appCpu:APP CPU使用率;
|
574
|
-
# sysCpu:系统 CPU使用率;
|
575
|
-
# aBit:上/下行音频码率;单位:bps
|
576
|
-
# aBlock:音频卡顿时长;单位:ms
|
577
|
-
# bigvBit:上/下行视频码率;单位:bps
|
578
|
-
# bigvCapFps:视频采集帧率;
|
579
|
-
# bigvEncFps:视频发送帧率;
|
580
|
-
# bigvDecFps:渲染帧率;
|
581
|
-
# bigvBlock:视频卡顿时长;单位:ms
|
582
|
-
# aLoss:上/下行音频丢包率;
|
583
|
-
# bigvLoss:上/下行视频丢包率;
|
584
|
-
# bigvWidth:上/下行分辨率宽;
|
585
|
-
# bigvHeight:上/下行分辨率高
|
586
|
-
# @type DataType: Array
|
587
|
-
# @param PageNumber: 当前页数,默认为0,
|
588
|
-
# 注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
|
589
|
-
# @type PageNumber: String
|
590
|
-
# @param PageSize: 每页个数,默认为6,
|
591
|
-
# 范围:[1,100]
|
592
|
-
# 注意:DataType不为null,UserIds长度不能超过6,PageSize最大值不超过6;
|
593
|
-
# DataType 为null,UserIds长度不超过100,PageSize最大不超过100。
|
594
|
-
# @type PageSize: String
|
595
|
-
|
596
|
-
attr_accessor :CommId, :StartTime, :EndTime, :SdkAppId, :UserIds, :DataType, :PageNumber, :PageSize
|
597
|
-
|
598
|
-
def initialize(commid=nil, starttime=nil, endtime=nil, sdkappid=nil, userids=nil, datatype=nil, pagenumber=nil, pagesize=nil)
|
599
|
-
@CommId = commid
|
600
|
-
@StartTime = starttime
|
601
|
-
@EndTime = endtime
|
602
|
-
@SdkAppId = sdkappid
|
603
|
-
@UserIds = userids
|
604
|
-
@DataType = datatype
|
605
|
-
@PageNumber = pagenumber
|
606
|
-
@PageSize = pagesize
|
607
|
-
end
|
608
|
-
|
609
|
-
def deserialize(params)
|
610
|
-
@CommId = params['CommId']
|
611
|
-
@StartTime = params['StartTime']
|
612
|
-
@EndTime = params['EndTime']
|
613
|
-
@SdkAppId = params['SdkAppId']
|
614
|
-
@UserIds = params['UserIds']
|
615
|
-
@DataType = params['DataType']
|
616
|
-
@PageNumber = params['PageNumber']
|
617
|
-
@PageSize = params['PageSize']
|
618
|
-
end
|
619
|
-
end
|
620
|
-
|
621
|
-
# DescribeCallDetail返回参数结构体
|
622
|
-
class DescribeCallDetailResponse < TencentCloud::Common::AbstractModel
|
623
|
-
# @param Total: 返回的用户总条数
|
624
|
-
# @type Total: Integer
|
625
|
-
# @param UserList: 用户信息列表
|
626
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
627
|
-
# @type UserList: Array
|
628
|
-
# @param Data: 质量数据
|
629
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
630
|
-
# @type Data: Array
|
631
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
632
|
-
# @type RequestId: String
|
633
|
-
|
634
|
-
attr_accessor :Total, :UserList, :Data, :RequestId
|
635
|
-
|
636
|
-
def initialize(total=nil, userlist=nil, data=nil, requestid=nil)
|
637
|
-
@Total = total
|
638
|
-
@UserList = userlist
|
639
|
-
@Data = data
|
640
|
-
@RequestId = requestid
|
641
|
-
end
|
642
|
-
|
643
|
-
def deserialize(params)
|
644
|
-
@Total = params['Total']
|
645
|
-
unless params['UserList'].nil?
|
646
|
-
@UserList = []
|
647
|
-
params['UserList'].each do |i|
|
648
|
-
userinformation_tmp = UserInformation.new
|
649
|
-
userinformation_tmp.deserialize(i)
|
650
|
-
@UserList << userinformation_tmp
|
651
|
-
end
|
652
|
-
end
|
653
|
-
unless params['Data'].nil?
|
654
|
-
@Data = []
|
655
|
-
params['Data'].each do |i|
|
656
|
-
qualitydata_tmp = QualityData.new
|
657
|
-
qualitydata_tmp.deserialize(i)
|
658
|
-
@Data << qualitydata_tmp
|
659
|
-
end
|
660
|
-
end
|
661
|
-
@RequestId = params['RequestId']
|
662
|
-
end
|
663
|
-
end
|
664
|
-
|
665
498
|
# DescribeCloudRecording请求参数结构体
|
666
499
|
class DescribeCloudRecordingRequest < TencentCloud::Common::AbstractModel
|
667
500
|
# @param SdkAppId: TRTC的SDKAppId,和录制的房间所对应的SDKAppId相同。
|
@@ -721,67 +554,6 @@ module TencentCloud
|
|
721
554
|
end
|
722
555
|
end
|
723
556
|
|
724
|
-
# DescribeDetailEvent请求参数结构体
|
725
|
-
class DescribeDetailEventRequest < TencentCloud::Common::AbstractModel
|
726
|
-
# @param CommId: 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
|
727
|
-
# @type CommId: String
|
728
|
-
# @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
|
729
|
-
# 注意:支持查询14天内的数据
|
730
|
-
# @type StartTime: Integer
|
731
|
-
# @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
|
732
|
-
# 注意:查询时间大于房间结束时间,以房间结束时间为准。
|
733
|
-
# @type EndTime: Integer
|
734
|
-
# @param UserId: 用户UserId
|
735
|
-
# @type UserId: String
|
736
|
-
# @param RoomId: 房间号(如:223)
|
737
|
-
# @type RoomId: String
|
738
|
-
|
739
|
-
attr_accessor :CommId, :StartTime, :EndTime, :UserId, :RoomId
|
740
|
-
|
741
|
-
def initialize(commid=nil, starttime=nil, endtime=nil, userid=nil, roomid=nil)
|
742
|
-
@CommId = commid
|
743
|
-
@StartTime = starttime
|
744
|
-
@EndTime = endtime
|
745
|
-
@UserId = userid
|
746
|
-
@RoomId = roomid
|
747
|
-
end
|
748
|
-
|
749
|
-
def deserialize(params)
|
750
|
-
@CommId = params['CommId']
|
751
|
-
@StartTime = params['StartTime']
|
752
|
-
@EndTime = params['EndTime']
|
753
|
-
@UserId = params['UserId']
|
754
|
-
@RoomId = params['RoomId']
|
755
|
-
end
|
756
|
-
end
|
757
|
-
|
758
|
-
# DescribeDetailEvent返回参数结构体
|
759
|
-
class DescribeDetailEventResponse < TencentCloud::Common::AbstractModel
|
760
|
-
# @param Data: 返回的事件列表,若没有数据,会返回空数组。
|
761
|
-
# @type Data: Array
|
762
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
763
|
-
# @type RequestId: String
|
764
|
-
|
765
|
-
attr_accessor :Data, :RequestId
|
766
|
-
|
767
|
-
def initialize(data=nil, requestid=nil)
|
768
|
-
@Data = data
|
769
|
-
@RequestId = requestid
|
770
|
-
end
|
771
|
-
|
772
|
-
def deserialize(params)
|
773
|
-
unless params['Data'].nil?
|
774
|
-
@Data = []
|
775
|
-
params['Data'].each do |i|
|
776
|
-
eventlist_tmp = EventList.new
|
777
|
-
eventlist_tmp.deserialize(i)
|
778
|
-
@Data << eventlist_tmp
|
779
|
-
end
|
780
|
-
end
|
781
|
-
@RequestId = params['RequestId']
|
782
|
-
end
|
783
|
-
end
|
784
|
-
|
785
557
|
# DescribeExternalTrtcMeasure请求参数结构体
|
786
558
|
class DescribeExternalTrtcMeasureRequest < TencentCloud::Common::AbstractModel
|
787
559
|
# @param StartTime: 查询开始日期。
|
@@ -841,64 +613,6 @@ module TencentCloud
|
|
841
613
|
end
|
842
614
|
end
|
843
615
|
|
844
|
-
# DescribeHistoryScale请求参数结构体
|
845
|
-
class DescribeHistoryScaleRequest < TencentCloud::Common::AbstractModel
|
846
|
-
# @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
|
847
|
-
# @type SdkAppId: String
|
848
|
-
# @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
|
849
|
-
# 注意:支持查询14天内的数据。
|
850
|
-
# @type StartTime: Integer
|
851
|
-
# @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877),建议与StartTime间隔时间超过24小时。
|
852
|
-
# 注意:按天统计,结束时间小于前一天,否则查询数据为空(如:需查询20号数据,结束时间需小于20号0点)。
|
853
|
-
# @type EndTime: Integer
|
854
|
-
|
855
|
-
attr_accessor :SdkAppId, :StartTime, :EndTime
|
856
|
-
|
857
|
-
def initialize(sdkappid=nil, starttime=nil, endtime=nil)
|
858
|
-
@SdkAppId = sdkappid
|
859
|
-
@StartTime = starttime
|
860
|
-
@EndTime = endtime
|
861
|
-
end
|
862
|
-
|
863
|
-
def deserialize(params)
|
864
|
-
@SdkAppId = params['SdkAppId']
|
865
|
-
@StartTime = params['StartTime']
|
866
|
-
@EndTime = params['EndTime']
|
867
|
-
end
|
868
|
-
end
|
869
|
-
|
870
|
-
# DescribeHistoryScale返回参数结构体
|
871
|
-
class DescribeHistoryScaleResponse < TencentCloud::Common::AbstractModel
|
872
|
-
# @param Total: 返回的数据条数
|
873
|
-
# @type Total: Integer
|
874
|
-
# @param ScaleList: 返回的数据
|
875
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
876
|
-
# @type ScaleList: Array
|
877
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
878
|
-
# @type RequestId: String
|
879
|
-
|
880
|
-
attr_accessor :Total, :ScaleList, :RequestId
|
881
|
-
|
882
|
-
def initialize(total=nil, scalelist=nil, requestid=nil)
|
883
|
-
@Total = total
|
884
|
-
@ScaleList = scalelist
|
885
|
-
@RequestId = requestid
|
886
|
-
end
|
887
|
-
|
888
|
-
def deserialize(params)
|
889
|
-
@Total = params['Total']
|
890
|
-
unless params['ScaleList'].nil?
|
891
|
-
@ScaleList = []
|
892
|
-
params['ScaleList'].each do |i|
|
893
|
-
scaleinfomation_tmp = ScaleInfomation.new
|
894
|
-
scaleinfomation_tmp.deserialize(i)
|
895
|
-
@ScaleList << scaleinfomation_tmp
|
896
|
-
end
|
897
|
-
end
|
898
|
-
@RequestId = params['RequestId']
|
899
|
-
end
|
900
|
-
end
|
901
|
-
|
902
616
|
# DescribePicture请求参数结构体
|
903
617
|
class DescribePictureRequest < TencentCloud::Common::AbstractModel
|
904
618
|
# @param SdkAppId: 应用ID
|
@@ -1081,77 +795,6 @@ module TencentCloud
|
|
1081
795
|
end
|
1082
796
|
end
|
1083
797
|
|
1084
|
-
# DescribeRoomInformation请求参数结构体
|
1085
|
-
class DescribeRoomInformationRequest < TencentCloud::Common::AbstractModel
|
1086
|
-
# @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
|
1087
|
-
# @type SdkAppId: String
|
1088
|
-
# @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
|
1089
|
-
# 注意:支持查询14天内的数据
|
1090
|
-
# @type StartTime: Integer
|
1091
|
-
# @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
|
1092
|
-
# 注意:与StartTime间隔时间不超过24小时。
|
1093
|
-
# @type EndTime: Integer
|
1094
|
-
# @param RoomId: 房间号(如:223)
|
1095
|
-
# @type RoomId: String
|
1096
|
-
# @param PageNumber: 当前页数,默认为0,
|
1097
|
-
# 注意:PageNumber和PageSize 其中一个不填均默认返回10条数据。
|
1098
|
-
# @type PageNumber: String
|
1099
|
-
# @param PageSize: 每页个数,默认为10,
|
1100
|
-
# 范围:[1,100]
|
1101
|
-
# @type PageSize: String
|
1102
|
-
|
1103
|
-
attr_accessor :SdkAppId, :StartTime, :EndTime, :RoomId, :PageNumber, :PageSize
|
1104
|
-
|
1105
|
-
def initialize(sdkappid=nil, starttime=nil, endtime=nil, roomid=nil, pagenumber=nil, pagesize=nil)
|
1106
|
-
@SdkAppId = sdkappid
|
1107
|
-
@StartTime = starttime
|
1108
|
-
@EndTime = endtime
|
1109
|
-
@RoomId = roomid
|
1110
|
-
@PageNumber = pagenumber
|
1111
|
-
@PageSize = pagesize
|
1112
|
-
end
|
1113
|
-
|
1114
|
-
def deserialize(params)
|
1115
|
-
@SdkAppId = params['SdkAppId']
|
1116
|
-
@StartTime = params['StartTime']
|
1117
|
-
@EndTime = params['EndTime']
|
1118
|
-
@RoomId = params['RoomId']
|
1119
|
-
@PageNumber = params['PageNumber']
|
1120
|
-
@PageSize = params['PageSize']
|
1121
|
-
end
|
1122
|
-
end
|
1123
|
-
|
1124
|
-
# DescribeRoomInformation返回参数结构体
|
1125
|
-
class DescribeRoomInformationResponse < TencentCloud::Common::AbstractModel
|
1126
|
-
# @param Total: 返回当页数据总数
|
1127
|
-
# @type Total: Integer
|
1128
|
-
# @param RoomList: 房间信息列表
|
1129
|
-
# @type RoomList: Array
|
1130
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1131
|
-
# @type RequestId: String
|
1132
|
-
|
1133
|
-
attr_accessor :Total, :RoomList, :RequestId
|
1134
|
-
|
1135
|
-
def initialize(total=nil, roomlist=nil, requestid=nil)
|
1136
|
-
@Total = total
|
1137
|
-
@RoomList = roomlist
|
1138
|
-
@RequestId = requestid
|
1139
|
-
end
|
1140
|
-
|
1141
|
-
def deserialize(params)
|
1142
|
-
@Total = params['Total']
|
1143
|
-
unless params['RoomList'].nil?
|
1144
|
-
@RoomList = []
|
1145
|
-
params['RoomList'].each do |i|
|
1146
|
-
roomstate_tmp = RoomState.new
|
1147
|
-
roomstate_tmp.deserialize(i)
|
1148
|
-
@RoomList << roomstate_tmp
|
1149
|
-
end
|
1150
|
-
end
|
1151
|
-
@RequestId = params['RequestId']
|
1152
|
-
end
|
1153
|
-
end
|
1154
|
-
|
1155
798
|
# DescribeScaleInfo请求参数结构体
|
1156
799
|
class DescribeScaleInfoRequest < TencentCloud::Common::AbstractModel
|
1157
800
|
# @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
|
@@ -1465,83 +1108,6 @@ module TencentCloud
|
|
1465
1108
|
end
|
1466
1109
|
end
|
1467
1110
|
|
1468
|
-
# DescribeUserInformation请求参数结构体
|
1469
|
-
class DescribeUserInformationRequest < TencentCloud::Common::AbstractModel
|
1470
|
-
# @param CommId: 通话 ID(唯一标识一次通话): SdkAppId_RoomId(房间号)_ CreateTime(房间创建时间,unix时间戳,单位为s)例:1400xxxxxx_218695_1590065777。通过 DescribeRoomInfo(查询历史房间列表)接口获取([查询历史房间列表](https://cloud.tencent.com/document/product/647/44050))。
|
1471
|
-
# @type CommId: String
|
1472
|
-
# @param StartTime: 查询开始时间,本地unix时间戳,单位为秒(如:1590065777)
|
1473
|
-
# 注意:支持查询14天内的数据
|
1474
|
-
# @type StartTime: Integer
|
1475
|
-
# @param EndTime: 查询结束时间,本地unix时间戳,单位为秒(如:1590065877)
|
1476
|
-
# 注意:与StartTime间隔时间不超过4小时。
|
1477
|
-
# @type EndTime: Integer
|
1478
|
-
# @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
|
1479
|
-
# @type SdkAppId: String
|
1480
|
-
# @param UserIds: 需查询的用户数组,不填默认返回6个用户
|
1481
|
-
# 范围:[1,100]。
|
1482
|
-
# @type UserIds: Array
|
1483
|
-
# @param PageNumber: 当前页数,默认为0,
|
1484
|
-
# 注意:PageNumber和PageSize 其中一个不填均默认返回6条数据。
|
1485
|
-
# @type PageNumber: String
|
1486
|
-
# @param PageSize: 每页个数,默认为6,
|
1487
|
-
# 范围:[1,100]。
|
1488
|
-
# @type PageSize: String
|
1489
|
-
|
1490
|
-
attr_accessor :CommId, :StartTime, :EndTime, :SdkAppId, :UserIds, :PageNumber, :PageSize
|
1491
|
-
|
1492
|
-
def initialize(commid=nil, starttime=nil, endtime=nil, sdkappid=nil, userids=nil, pagenumber=nil, pagesize=nil)
|
1493
|
-
@CommId = commid
|
1494
|
-
@StartTime = starttime
|
1495
|
-
@EndTime = endtime
|
1496
|
-
@SdkAppId = sdkappid
|
1497
|
-
@UserIds = userids
|
1498
|
-
@PageNumber = pagenumber
|
1499
|
-
@PageSize = pagesize
|
1500
|
-
end
|
1501
|
-
|
1502
|
-
def deserialize(params)
|
1503
|
-
@CommId = params['CommId']
|
1504
|
-
@StartTime = params['StartTime']
|
1505
|
-
@EndTime = params['EndTime']
|
1506
|
-
@SdkAppId = params['SdkAppId']
|
1507
|
-
@UserIds = params['UserIds']
|
1508
|
-
@PageNumber = params['PageNumber']
|
1509
|
-
@PageSize = params['PageSize']
|
1510
|
-
end
|
1511
|
-
end
|
1512
|
-
|
1513
|
-
# DescribeUserInformation返回参数结构体
|
1514
|
-
class DescribeUserInformationResponse < TencentCloud::Common::AbstractModel
|
1515
|
-
# @param Total: 返回的用户总条数
|
1516
|
-
# @type Total: Integer
|
1517
|
-
# @param UserList: 用户信息列表
|
1518
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1519
|
-
# @type UserList: Array
|
1520
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1521
|
-
# @type RequestId: String
|
1522
|
-
|
1523
|
-
attr_accessor :Total, :UserList, :RequestId
|
1524
|
-
|
1525
|
-
def initialize(total=nil, userlist=nil, requestid=nil)
|
1526
|
-
@Total = total
|
1527
|
-
@UserList = userlist
|
1528
|
-
@RequestId = requestid
|
1529
|
-
end
|
1530
|
-
|
1531
|
-
def deserialize(params)
|
1532
|
-
@Total = params['Total']
|
1533
|
-
unless params['UserList'].nil?
|
1534
|
-
@UserList = []
|
1535
|
-
params['UserList'].each do |i|
|
1536
|
-
userinformation_tmp = UserInformation.new
|
1537
|
-
userinformation_tmp.deserialize(i)
|
1538
|
-
@UserList << userinformation_tmp
|
1539
|
-
end
|
1540
|
-
end
|
1541
|
-
@RequestId = params['RequestId']
|
1542
|
-
end
|
1543
|
-
end
|
1544
|
-
|
1545
1111
|
# DismissRoomByStrRoomId请求参数结构体
|
1546
1112
|
class DismissRoomByStrRoomIdRequest < TencentCloud::Common::AbstractModel
|
1547
1113
|
# @param SdkAppId: TRTC的SDKAppId。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trtc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.382
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|