tencentcloud-sdk-trtc 3.0.427 → 3.0.428
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 +116 -0
- data/lib/v20190722/models.rb +254 -2
- 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: d1a1c3893be77230442db123011af47644b425c6
|
4
|
+
data.tar.gz: dbe30120958538777fa3f14da245afff2fb12a35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7f5ea85acdf648d8af2f26915e0cd19bdfe2e6bcceef33adedefeea40efa60469fd316974d2ae1ff0bd7fbbf206f64854b888c65a9d693533db09e04e50b5b9
|
7
|
+
data.tar.gz: 1657512899148ca100e9e7555da04b7359ac1f178858c10f13ccfb7bbf9f13375fabe756b1c10a6620d54d73729587cf8a71ffc0e7eeef3134c78e154138d575
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.428
|
data/lib/v20190722/client.rb
CHANGED
@@ -212,6 +212,35 @@ module TencentCloud
|
|
212
212
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
213
213
|
end
|
214
214
|
|
215
|
+
# 获取TRTC混流转码的用量明细。
|
216
|
+
# - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
217
|
+
# - 单次查询统计区间最多不能超过31天。
|
218
|
+
# - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
219
|
+
# - 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
220
|
+
# - 默认接口请求频率限制:5次/秒。
|
221
|
+
|
222
|
+
# @param request: Request instance for DescribeMixTranscodingUsage.
|
223
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeMixTranscodingUsageRequest`
|
224
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeMixTranscodingUsageResponse`
|
225
|
+
def DescribeMixTranscodingUsage(request)
|
226
|
+
body = send_request('DescribeMixTranscodingUsage', request.serialize)
|
227
|
+
response = JSON.parse(body)
|
228
|
+
if response['Response'].key?('Error') == false
|
229
|
+
model = DescribeMixTranscodingUsageResponse.new
|
230
|
+
model.deserialize(response['Response'])
|
231
|
+
model
|
232
|
+
else
|
233
|
+
code = response['Response']['Error']['Code']
|
234
|
+
message = response['Response']['Error']['Message']
|
235
|
+
reqid = response['Response']['RequestId']
|
236
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
237
|
+
end
|
238
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
239
|
+
raise e
|
240
|
+
rescue StandardError => e
|
241
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
242
|
+
end
|
243
|
+
|
215
244
|
# 如果您需要在 [云端混流转码](https://cloud.tencent.com/document/product/647/16827) 时频繁查找自定义背景图或水印信息,可通过此接口查找已上传的图片信息。无需频繁查找图片信息的场景,建议直接在 [控制台 > 应用管理 > 素材管理](https://cloud.tencent.com/document/product/647/50769) 中查看。
|
216
245
|
|
217
246
|
# @param request: Request instance for DescribePicture.
|
@@ -265,6 +294,64 @@ module TencentCloud
|
|
265
294
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
266
295
|
end
|
267
296
|
|
297
|
+
# 获取TRTC录制的用量明细。
|
298
|
+
# - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
299
|
+
# - 单次查询统计区间最多不能超过31天。
|
300
|
+
# - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
301
|
+
# - 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
302
|
+
# - 默认接口请求频率限制:5次/秒。
|
303
|
+
|
304
|
+
# @param request: Request instance for DescribeRecordingUsage.
|
305
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeRecordingUsageRequest`
|
306
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeRecordingUsageResponse`
|
307
|
+
def DescribeRecordingUsage(request)
|
308
|
+
body = send_request('DescribeRecordingUsage', request.serialize)
|
309
|
+
response = JSON.parse(body)
|
310
|
+
if response['Response'].key?('Error') == false
|
311
|
+
model = DescribeRecordingUsageResponse.new
|
312
|
+
model.deserialize(response['Response'])
|
313
|
+
model
|
314
|
+
else
|
315
|
+
code = response['Response']['Error']['Code']
|
316
|
+
message = response['Response']['Error']['Message']
|
317
|
+
reqid = response['Response']['RequestId']
|
318
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
319
|
+
end
|
320
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
321
|
+
raise e
|
322
|
+
rescue StandardError => e
|
323
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
324
|
+
end
|
325
|
+
|
326
|
+
# 获取TRTC旁路转推的用量明细。
|
327
|
+
# - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
328
|
+
# - 单次查询统计区间最多不能超过31天。
|
329
|
+
# - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
330
|
+
# - 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
331
|
+
# - 默认接口请求频率限制:5次/秒。
|
332
|
+
|
333
|
+
# @param request: Request instance for DescribeRelayUsage.
|
334
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeRelayUsageRequest`
|
335
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeRelayUsageResponse`
|
336
|
+
def DescribeRelayUsage(request)
|
337
|
+
body = send_request('DescribeRelayUsage', request.serialize)
|
338
|
+
response = JSON.parse(body)
|
339
|
+
if response['Response'].key?('Error') == false
|
340
|
+
model = DescribeRelayUsageResponse.new
|
341
|
+
model.deserialize(response['Response'])
|
342
|
+
model
|
343
|
+
else
|
344
|
+
code = response['Response']['Error']['Code']
|
345
|
+
message = response['Response']['Error']['Message']
|
346
|
+
reqid = response['Response']['RequestId']
|
347
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
348
|
+
end
|
349
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
350
|
+
raise e
|
351
|
+
rescue StandardError => e
|
352
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
353
|
+
end
|
354
|
+
|
268
355
|
# 查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。可查询14天内的数据。(同老接口DescribeRoomInformation)
|
269
356
|
# **注意**:
|
270
357
|
# 1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。
|
@@ -344,6 +431,35 @@ module TencentCloud
|
|
344
431
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
345
432
|
end
|
346
433
|
|
434
|
+
# 获取TRTC音视频互动的用量明细。
|
435
|
+
# - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
436
|
+
# - 单次查询统计区间最多不能超过31天。
|
437
|
+
# - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
438
|
+
# - 该接口只用于历史用量数据统计或核对数据使用,关键业务逻辑不能使用。
|
439
|
+
# - 默认接口请求频率限制:5次/秒。
|
440
|
+
|
441
|
+
# @param request: Request instance for DescribeTrtcUsage.
|
442
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeTrtcUsageRequest`
|
443
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeTrtcUsageResponse`
|
444
|
+
def DescribeTrtcUsage(request)
|
445
|
+
body = send_request('DescribeTrtcUsage', request.serialize)
|
446
|
+
response = JSON.parse(body)
|
447
|
+
if response['Response'].key?('Error') == false
|
448
|
+
model = DescribeTrtcUsageResponse.new
|
449
|
+
model.deserialize(response['Response'])
|
450
|
+
model
|
451
|
+
else
|
452
|
+
code = response['Response']['Error']['Code']
|
453
|
+
message = response['Response']['Error']['Message']
|
454
|
+
reqid = response['Response']['RequestId']
|
455
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
456
|
+
end
|
457
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
458
|
+
raise e
|
459
|
+
rescue StandardError => e
|
460
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
461
|
+
end
|
462
|
+
|
347
463
|
# 查询SdkAppId下任意20条异常体验事件,返回异常体验ID与可能产生异常体验的原因。可查询14天内数据,查询起止时间不超过1个小时。支持跨天查询。(同老接口DescribeAbnormalEvent)
|
348
464
|
# 异常体验ID映射见:https://cloud.tencent.com/document/product/647/44916
|
349
465
|
|
data/lib/v20190722/models.rb
CHANGED
@@ -613,6 +613,62 @@ module TencentCloud
|
|
613
613
|
end
|
614
614
|
end
|
615
615
|
|
616
|
+
# DescribeMixTranscodingUsage请求参数结构体
|
617
|
+
class DescribeMixTranscodingUsageRequest < TencentCloud::Common::AbstractModel
|
618
|
+
# @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
|
619
|
+
# @type StartTime: String
|
620
|
+
# @param EndTime: 查询结束时间,格式为YYYY-MM-DD。
|
621
|
+
# 单次查询统计区间最多不能超过31天。
|
622
|
+
# @type EndTime: String
|
623
|
+
# @param SdkAppId: TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
|
624
|
+
# @type SdkAppId: Integer
|
625
|
+
|
626
|
+
attr_accessor :StartTime, :EndTime, :SdkAppId
|
627
|
+
|
628
|
+
def initialize(starttime=nil, endtime=nil, sdkappid=nil)
|
629
|
+
@StartTime = starttime
|
630
|
+
@EndTime = endtime
|
631
|
+
@SdkAppId = sdkappid
|
632
|
+
end
|
633
|
+
|
634
|
+
def deserialize(params)
|
635
|
+
@StartTime = params['StartTime']
|
636
|
+
@EndTime = params['EndTime']
|
637
|
+
@SdkAppId = params['SdkAppId']
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# DescribeMixTranscodingUsage返回参数结构体
|
642
|
+
class DescribeMixTranscodingUsageResponse < TencentCloud::Common::AbstractModel
|
643
|
+
# @param UsageKey: 用量类型,与UsageValue中各个位置的值对应。
|
644
|
+
# @type UsageKey: Array
|
645
|
+
# @param UsageList: 各个时间点用量明细。
|
646
|
+
# @type UsageList: Array
|
647
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
648
|
+
# @type RequestId: String
|
649
|
+
|
650
|
+
attr_accessor :UsageKey, :UsageList, :RequestId
|
651
|
+
|
652
|
+
def initialize(usagekey=nil, usagelist=nil, requestid=nil)
|
653
|
+
@UsageKey = usagekey
|
654
|
+
@UsageList = usagelist
|
655
|
+
@RequestId = requestid
|
656
|
+
end
|
657
|
+
|
658
|
+
def deserialize(params)
|
659
|
+
@UsageKey = params['UsageKey']
|
660
|
+
unless params['UsageList'].nil?
|
661
|
+
@UsageList = []
|
662
|
+
params['UsageList'].each do |i|
|
663
|
+
trtcusage_tmp = TrtcUsage.new
|
664
|
+
trtcusage_tmp.deserialize(i)
|
665
|
+
@UsageList << trtcusage_tmp
|
666
|
+
end
|
667
|
+
end
|
668
|
+
@RequestId = params['RequestId']
|
669
|
+
end
|
670
|
+
end
|
671
|
+
|
616
672
|
# DescribePicture请求参数结构体
|
617
673
|
class DescribePictureRequest < TencentCloud::Common::AbstractModel
|
618
674
|
# @param SdkAppId: 应用ID
|
@@ -724,6 +780,122 @@ module TencentCloud
|
|
724
780
|
end
|
725
781
|
end
|
726
782
|
|
783
|
+
# DescribeRecordingUsage请求参数结构体
|
784
|
+
class DescribeRecordingUsageRequest < TencentCloud::Common::AbstractModel
|
785
|
+
# @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
|
786
|
+
# @type StartTime: String
|
787
|
+
# @param EndTime: 查询结束时间,格式为YYYY-MM-DD。
|
788
|
+
# 单次查询统计区间最多不能超过31天。
|
789
|
+
# @type EndTime: String
|
790
|
+
# @param MixType: 查询单流录制或合流录制,值为"single"或"multi"。
|
791
|
+
# @type MixType: String
|
792
|
+
# @param SdkAppId: TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
|
793
|
+
# @type SdkAppId: Integer
|
794
|
+
|
795
|
+
attr_accessor :StartTime, :EndTime, :MixType, :SdkAppId
|
796
|
+
|
797
|
+
def initialize(starttime=nil, endtime=nil, mixtype=nil, sdkappid=nil)
|
798
|
+
@StartTime = starttime
|
799
|
+
@EndTime = endtime
|
800
|
+
@MixType = mixtype
|
801
|
+
@SdkAppId = sdkappid
|
802
|
+
end
|
803
|
+
|
804
|
+
def deserialize(params)
|
805
|
+
@StartTime = params['StartTime']
|
806
|
+
@EndTime = params['EndTime']
|
807
|
+
@MixType = params['MixType']
|
808
|
+
@SdkAppId = params['SdkAppId']
|
809
|
+
end
|
810
|
+
end
|
811
|
+
|
812
|
+
# DescribeRecordingUsage返回参数结构体
|
813
|
+
class DescribeRecordingUsageResponse < TencentCloud::Common::AbstractModel
|
814
|
+
# @param UsageKey: 用量类型,与UsageValue中各个位置的值对应。
|
815
|
+
# @type UsageKey: Array
|
816
|
+
# @param UsageList: 各个时间点用量明细。
|
817
|
+
# @type UsageList: Array
|
818
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
819
|
+
# @type RequestId: String
|
820
|
+
|
821
|
+
attr_accessor :UsageKey, :UsageList, :RequestId
|
822
|
+
|
823
|
+
def initialize(usagekey=nil, usagelist=nil, requestid=nil)
|
824
|
+
@UsageKey = usagekey
|
825
|
+
@UsageList = usagelist
|
826
|
+
@RequestId = requestid
|
827
|
+
end
|
828
|
+
|
829
|
+
def deserialize(params)
|
830
|
+
@UsageKey = params['UsageKey']
|
831
|
+
unless params['UsageList'].nil?
|
832
|
+
@UsageList = []
|
833
|
+
params['UsageList'].each do |i|
|
834
|
+
trtcusage_tmp = TrtcUsage.new
|
835
|
+
trtcusage_tmp.deserialize(i)
|
836
|
+
@UsageList << trtcusage_tmp
|
837
|
+
end
|
838
|
+
end
|
839
|
+
@RequestId = params['RequestId']
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
843
|
+
# DescribeRelayUsage请求参数结构体
|
844
|
+
class DescribeRelayUsageRequest < TencentCloud::Common::AbstractModel
|
845
|
+
# @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
|
846
|
+
# @type StartTime: String
|
847
|
+
# @param EndTime: 查询结束时间,格式为YYYY-MM-DD。
|
848
|
+
# 单次查询统计区间最多不能超过31天。
|
849
|
+
# @type EndTime: String
|
850
|
+
# @param SdkAppId: TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
|
851
|
+
# @type SdkAppId: Integer
|
852
|
+
|
853
|
+
attr_accessor :StartTime, :EndTime, :SdkAppId
|
854
|
+
|
855
|
+
def initialize(starttime=nil, endtime=nil, sdkappid=nil)
|
856
|
+
@StartTime = starttime
|
857
|
+
@EndTime = endtime
|
858
|
+
@SdkAppId = sdkappid
|
859
|
+
end
|
860
|
+
|
861
|
+
def deserialize(params)
|
862
|
+
@StartTime = params['StartTime']
|
863
|
+
@EndTime = params['EndTime']
|
864
|
+
@SdkAppId = params['SdkAppId']
|
865
|
+
end
|
866
|
+
end
|
867
|
+
|
868
|
+
# DescribeRelayUsage返回参数结构体
|
869
|
+
class DescribeRelayUsageResponse < TencentCloud::Common::AbstractModel
|
870
|
+
# @param UsageKey: 用量类型,与UsageValue中各个位置的值对应。
|
871
|
+
# @type UsageKey: Array
|
872
|
+
# @param UsageList: 各个时间点用量明细。
|
873
|
+
# @type UsageList: Array
|
874
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
875
|
+
# @type RequestId: String
|
876
|
+
|
877
|
+
attr_accessor :UsageKey, :UsageList, :RequestId
|
878
|
+
|
879
|
+
def initialize(usagekey=nil, usagelist=nil, requestid=nil)
|
880
|
+
@UsageKey = usagekey
|
881
|
+
@UsageList = usagelist
|
882
|
+
@RequestId = requestid
|
883
|
+
end
|
884
|
+
|
885
|
+
def deserialize(params)
|
886
|
+
@UsageKey = params['UsageKey']
|
887
|
+
unless params['UsageList'].nil?
|
888
|
+
@UsageList = []
|
889
|
+
params['UsageList'].each do |i|
|
890
|
+
trtcusage_tmp = TrtcUsage.new
|
891
|
+
trtcusage_tmp.deserialize(i)
|
892
|
+
@UsageList << trtcusage_tmp
|
893
|
+
end
|
894
|
+
end
|
895
|
+
@RequestId = params['RequestId']
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
727
899
|
# DescribeRoomInfo请求参数结构体
|
728
900
|
class DescribeRoomInfoRequest < TencentCloud::Common::AbstractModel
|
729
901
|
# @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
|
@@ -905,6 +1077,62 @@ module TencentCloud
|
|
905
1077
|
end
|
906
1078
|
end
|
907
1079
|
|
1080
|
+
# DescribeTrtcUsage请求参数结构体
|
1081
|
+
class DescribeTrtcUsageRequest < TencentCloud::Common::AbstractModel
|
1082
|
+
# @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
|
1083
|
+
# @type StartTime: String
|
1084
|
+
# @param EndTime: 查询结束时间,格式为YYYY-MM-DD。
|
1085
|
+
# 单次查询统计区间最多不能超过31天。
|
1086
|
+
# @type EndTime: String
|
1087
|
+
# @param SdkAppId: TRTC的SdkAppId,和房间所对应的SdkAppId相同。如果没有这个参数,返回用户下全部实时音视频应用的汇总。
|
1088
|
+
# @type SdkAppId: Integer
|
1089
|
+
|
1090
|
+
attr_accessor :StartTime, :EndTime, :SdkAppId
|
1091
|
+
|
1092
|
+
def initialize(starttime=nil, endtime=nil, sdkappid=nil)
|
1093
|
+
@StartTime = starttime
|
1094
|
+
@EndTime = endtime
|
1095
|
+
@SdkAppId = sdkappid
|
1096
|
+
end
|
1097
|
+
|
1098
|
+
def deserialize(params)
|
1099
|
+
@StartTime = params['StartTime']
|
1100
|
+
@EndTime = params['EndTime']
|
1101
|
+
@SdkAppId = params['SdkAppId']
|
1102
|
+
end
|
1103
|
+
end
|
1104
|
+
|
1105
|
+
# DescribeTrtcUsage返回参数结构体
|
1106
|
+
class DescribeTrtcUsageResponse < TencentCloud::Common::AbstractModel
|
1107
|
+
# @param UsageKey: 用量类型,与UsageValue中各个位置的值对应。
|
1108
|
+
# @type UsageKey: Array
|
1109
|
+
# @param UsageList: 各个时间点用量明细。
|
1110
|
+
# @type UsageList: Array
|
1111
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1112
|
+
# @type RequestId: String
|
1113
|
+
|
1114
|
+
attr_accessor :UsageKey, :UsageList, :RequestId
|
1115
|
+
|
1116
|
+
def initialize(usagekey=nil, usagelist=nil, requestid=nil)
|
1117
|
+
@UsageKey = usagekey
|
1118
|
+
@UsageList = usagelist
|
1119
|
+
@RequestId = requestid
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
def deserialize(params)
|
1123
|
+
@UsageKey = params['UsageKey']
|
1124
|
+
unless params['UsageList'].nil?
|
1125
|
+
@UsageList = []
|
1126
|
+
params['UsageList'].each do |i|
|
1127
|
+
trtcusage_tmp = TrtcUsage.new
|
1128
|
+
trtcusage_tmp.deserialize(i)
|
1129
|
+
@UsageList << trtcusage_tmp
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
@RequestId = params['RequestId']
|
1133
|
+
end
|
1134
|
+
end
|
1135
|
+
|
908
1136
|
# DescribeUnusualEvent请求参数结构体
|
909
1137
|
class DescribeUnusualEventRequest < TencentCloud::Common::AbstractModel
|
910
1138
|
# @param SdkAppId: 用户SdkAppId(如:1400xxxxxx)
|
@@ -2153,15 +2381,18 @@ module TencentCloud
|
|
2153
2381
|
# @type VideoTimeHd: Integer
|
2154
2382
|
# @param VideoTimeFhd: 视频时长-全高清FHD,单位:秒。
|
2155
2383
|
# @type VideoTimeFhd: Integer
|
2384
|
+
# @param Flux: 带宽,单位:Mbps。
|
2385
|
+
# @type Flux: Float
|
2156
2386
|
|
2157
|
-
attr_accessor :TimeKey, :AudioTime, :VideoTimeSd, :VideoTimeHd, :VideoTimeFhd
|
2387
|
+
attr_accessor :TimeKey, :AudioTime, :VideoTimeSd, :VideoTimeHd, :VideoTimeFhd, :Flux
|
2158
2388
|
|
2159
|
-
def initialize(timekey=nil, audiotime=nil, videotimesd=nil, videotimehd=nil, videotimefhd=nil)
|
2389
|
+
def initialize(timekey=nil, audiotime=nil, videotimesd=nil, videotimehd=nil, videotimefhd=nil, flux=nil)
|
2160
2390
|
@TimeKey = timekey
|
2161
2391
|
@AudioTime = audiotime
|
2162
2392
|
@VideoTimeSd = videotimesd
|
2163
2393
|
@VideoTimeHd = videotimehd
|
2164
2394
|
@VideoTimeFhd = videotimefhd
|
2395
|
+
@Flux = flux
|
2165
2396
|
end
|
2166
2397
|
|
2167
2398
|
def deserialize(params)
|
@@ -2170,6 +2401,7 @@ module TencentCloud
|
|
2170
2401
|
@VideoTimeSd = params['VideoTimeSd']
|
2171
2402
|
@VideoTimeHd = params['VideoTimeHd']
|
2172
2403
|
@VideoTimeFhd = params['VideoTimeFhd']
|
2404
|
+
@Flux = params['Flux']
|
2173
2405
|
end
|
2174
2406
|
end
|
2175
2407
|
|
@@ -2613,6 +2845,26 @@ module TencentCloud
|
|
2613
2845
|
end
|
2614
2846
|
end
|
2615
2847
|
|
2848
|
+
# 实时音视频用量在某一时间段的统计信息。
|
2849
|
+
class TrtcUsage < TencentCloud::Common::AbstractModel
|
2850
|
+
# @param TimeKey: 时间点,格式为YYYY-MM-DD HH:mm:ss。多天查询时,HH:mm:ss为00:00:00。
|
2851
|
+
# @type TimeKey: String
|
2852
|
+
# @param UsageValue: 用量数组。每个数值含义与UsageKey对应。单位:分钟。
|
2853
|
+
# @type UsageValue: Array
|
2854
|
+
|
2855
|
+
attr_accessor :TimeKey, :UsageValue
|
2856
|
+
|
2857
|
+
def initialize(timekey=nil, usagevalue=nil)
|
2858
|
+
@TimeKey = timekey
|
2859
|
+
@UsageValue = usagevalue
|
2860
|
+
end
|
2861
|
+
|
2862
|
+
def deserialize(params)
|
2863
|
+
@TimeKey = params['TimeKey']
|
2864
|
+
@UsageValue = params['UsageValue']
|
2865
|
+
end
|
2866
|
+
end
|
2867
|
+
|
2616
2868
|
# 用户信息,包括用户进房时间,退房时间等
|
2617
2869
|
class UserInformation < TencentCloud::Common::AbstractModel
|
2618
2870
|
# @param RoomStr: 房间号
|
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.428
|
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-10-
|
11
|
+
date: 2022-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|