tencentcloud-sdk-trtc 1.0.274 → 1.0.275
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 +0 -28
- data/lib/v20190722/models.rb +0 -121
- 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: a1942fe16b68d48d650a2fbd832d9c4ab235d173
|
4
|
+
data.tar.gz: 82fbe33a90d7302b9be80357f414db8321573f4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 463aaa76eeb174ebe8a58e0761761c4c600f9d1a090327e7741859bf6592e08d11be5bac870aadeb5b6fd78e72248846b7e9111eaac47ca47cf5c7202587fa32
|
7
|
+
data.tar.gz: ec3980f6d69f2dbeb255faf7c52e7d9d9bf171511b70abe9f77360b2a61e7e80457b38407d00223098d328bfe3d0327b0f32b2420fcc2d4f51454daf409bce99
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.275
|
data/lib/v20190722/client.rb
CHANGED
@@ -276,34 +276,6 @@ module TencentCloud
|
|
276
276
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
277
277
|
end
|
278
278
|
|
279
|
-
# 查询音视频互动计费时长。
|
280
|
-
# - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
281
|
-
# - 单次查询统计区间最多不能超过31天。
|
282
|
-
# - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
|
283
|
-
# - 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
|
284
|
-
|
285
|
-
# @param request: Request instance for DescribeTrtcInteractiveTime.
|
286
|
-
# @type request: :class:`Tencentcloud::trtc::V20190722::DescribeTrtcInteractiveTimeRequest`
|
287
|
-
# @rtype: :class:`Tencentcloud::trtc::V20190722::DescribeTrtcInteractiveTimeResponse`
|
288
|
-
def DescribeTrtcInteractiveTime(request)
|
289
|
-
body = send_request('DescribeTrtcInteractiveTime', request.serialize)
|
290
|
-
response = JSON.parse(body)
|
291
|
-
if response['Response'].key?('Error') == false
|
292
|
-
model = DescribeTrtcInteractiveTimeResponse.new
|
293
|
-
model.deserialize(response['Response'])
|
294
|
-
model
|
295
|
-
else
|
296
|
-
code = response['Response']['Error']['Code']
|
297
|
-
message = response['Response']['Error']['Message']
|
298
|
-
reqid = response['Response']['RequestId']
|
299
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
300
|
-
end
|
301
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
302
|
-
raise e
|
303
|
-
rescue StandardError => e
|
304
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
305
|
-
end
|
306
|
-
|
307
279
|
# 查询旁路转码计费时长。
|
308
280
|
# - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
309
281
|
# - 单次查询统计区间最多不能超过31天。
|
data/lib/v20190722/models.rb
CHANGED
@@ -694,58 +694,6 @@ module TencentCloud
|
|
694
694
|
end
|
695
695
|
end
|
696
696
|
|
697
|
-
# DescribeTrtcInteractiveTime请求参数结构体
|
698
|
-
class DescribeTrtcInteractiveTimeRequest < TencentCloud::Common::AbstractModel
|
699
|
-
# @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
|
700
|
-
# @type StartTime: String
|
701
|
-
# @param EndTime: 查询结束时间,格式为YYYY-MM-DD。
|
702
|
-
# 单次查询统计区间最多不能超过31天。
|
703
|
-
# @type EndTime: String
|
704
|
-
# @param SdkAppId: 应用ID,可不传。传应用ID时返回的是该应用的用量,不传时返回所有应用的合计值。
|
705
|
-
# @type SdkAppId: Integer
|
706
|
-
|
707
|
-
attr_accessor :StartTime, :EndTime, :SdkAppId
|
708
|
-
|
709
|
-
def initialize(starttime=nil, endtime=nil, sdkappid=nil)
|
710
|
-
@StartTime = starttime
|
711
|
-
@EndTime = endtime
|
712
|
-
@SdkAppId = sdkappid
|
713
|
-
end
|
714
|
-
|
715
|
-
def deserialize(params)
|
716
|
-
@StartTime = params['StartTime']
|
717
|
-
@EndTime = params['EndTime']
|
718
|
-
@SdkAppId = params['SdkAppId']
|
719
|
-
end
|
720
|
-
end
|
721
|
-
|
722
|
-
# DescribeTrtcInteractiveTime返回参数结构体
|
723
|
-
class DescribeTrtcInteractiveTimeResponse < TencentCloud::Common::AbstractModel
|
724
|
-
# @param Usages: 应用的用量信息数组。
|
725
|
-
# @type Usages: Array
|
726
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
727
|
-
# @type RequestId: String
|
728
|
-
|
729
|
-
attr_accessor :Usages, :RequestId
|
730
|
-
|
731
|
-
def initialize(usages=nil, requestid=nil)
|
732
|
-
@Usages = usages
|
733
|
-
@RequestId = requestid
|
734
|
-
end
|
735
|
-
|
736
|
-
def deserialize(params)
|
737
|
-
unless params['Usages'].nil?
|
738
|
-
@Usages = []
|
739
|
-
params['Usages'].each do |i|
|
740
|
-
onesdkappidusagesinfo_tmp = OneSdkAppIdUsagesInfo.new
|
741
|
-
onesdkappidusagesinfo_tmp.deserialize(i)
|
742
|
-
@Usages << onesdkappidusagesinfo_tmp
|
743
|
-
end
|
744
|
-
end
|
745
|
-
@RequestId = params['RequestId']
|
746
|
-
end
|
747
|
-
end
|
748
|
-
|
749
697
|
# DescribeTrtcMcuTranscodeTime请求参数结构体
|
750
698
|
class DescribeTrtcMcuTranscodeTimeRequest < TencentCloud::Common::AbstractModel
|
751
699
|
# @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
|
@@ -1220,37 +1168,6 @@ module TencentCloud
|
|
1220
1168
|
end
|
1221
1169
|
end
|
1222
1170
|
|
1223
|
-
# 单个SdkAppId的音视频互动计费时长用量数组和数组长度。
|
1224
|
-
class OneSdkAppIdUsagesInfo < TencentCloud::Common::AbstractModel
|
1225
|
-
# @param TotalNum: 该 SdkAppId 对应的用量记录数长度
|
1226
|
-
# @type TotalNum: Integer
|
1227
|
-
# @param SdkAppIdTrtcTimeUsages: 用量数组
|
1228
|
-
# @type SdkAppIdTrtcTimeUsages: Array
|
1229
|
-
# @param SdkAppId: 应用ID
|
1230
|
-
# @type SdkAppId: String
|
1231
|
-
|
1232
|
-
attr_accessor :TotalNum, :SdkAppIdTrtcTimeUsages, :SdkAppId
|
1233
|
-
|
1234
|
-
def initialize(totalnum=nil, sdkappidtrtctimeusages=nil, sdkappid=nil)
|
1235
|
-
@TotalNum = totalnum
|
1236
|
-
@SdkAppIdTrtcTimeUsages = sdkappidtrtctimeusages
|
1237
|
-
@SdkAppId = sdkappid
|
1238
|
-
end
|
1239
|
-
|
1240
|
-
def deserialize(params)
|
1241
|
-
@TotalNum = params['TotalNum']
|
1242
|
-
unless params['SdkAppIdTrtcTimeUsages'].nil?
|
1243
|
-
@SdkAppIdTrtcTimeUsages = []
|
1244
|
-
params['SdkAppIdTrtcTimeUsages'].each do |i|
|
1245
|
-
sdkappidtrtcusage_tmp = SdkAppIdTrtcUsage.new
|
1246
|
-
sdkappidtrtcusage_tmp.deserialize(i)
|
1247
|
-
@SdkAppIdTrtcTimeUsages << sdkappidtrtcusage_tmp
|
1248
|
-
end
|
1249
|
-
end
|
1250
|
-
@SdkAppId = params['SdkAppId']
|
1251
|
-
end
|
1252
|
-
end
|
1253
|
-
|
1254
1171
|
# MCU混流的输出参数
|
1255
1172
|
class OutputParams < TencentCloud::Common::AbstractModel
|
1256
1173
|
# @param StreamId: 直播流 ID,由用户自定义设置,该流 ID 不能与用户旁路的流 ID 相同。
|
@@ -1662,44 +1579,6 @@ module TencentCloud
|
|
1662
1579
|
end
|
1663
1580
|
end
|
1664
1581
|
|
1665
|
-
# 查询音视频互动时长的输出数据。
|
1666
|
-
# 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
|
1667
|
-
class SdkAppIdTrtcUsage < TencentCloud::Common::AbstractModel
|
1668
|
-
# @param TimeKey: 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
|
1669
|
-
# @type TimeKey: String
|
1670
|
-
# @param AudioTime: 语音时长,单位:秒。
|
1671
|
-
# @type AudioTime: Integer
|
1672
|
-
# @param AudioVideoTime: 音视频时长,单位:秒。
|
1673
|
-
# 2019年10月11日前注册,没有变更为 [新计费模式](https://cloud.tencent.com/document/product/647/17157) 的用户才会返回此值。
|
1674
|
-
# @type AudioVideoTime: Integer
|
1675
|
-
# @param VideoTimeSd: 视频时长-标清SD,单位:秒。
|
1676
|
-
# @type VideoTimeSd: Integer
|
1677
|
-
# @param VideoTimeHd: 视频时长-高清HD,单位:秒。
|
1678
|
-
# @type VideoTimeHd: Integer
|
1679
|
-
# @param VideoTimeHdp: 视频时长-超清HD,单位:秒。
|
1680
|
-
# @type VideoTimeHdp: Integer
|
1681
|
-
|
1682
|
-
attr_accessor :TimeKey, :AudioTime, :AudioVideoTime, :VideoTimeSd, :VideoTimeHd, :VideoTimeHdp
|
1683
|
-
|
1684
|
-
def initialize(timekey=nil, audiotime=nil, audiovideotime=nil, videotimesd=nil, videotimehd=nil, videotimehdp=nil)
|
1685
|
-
@TimeKey = timekey
|
1686
|
-
@AudioTime = audiotime
|
1687
|
-
@AudioVideoTime = audiovideotime
|
1688
|
-
@VideoTimeSd = videotimesd
|
1689
|
-
@VideoTimeHd = videotimehd
|
1690
|
-
@VideoTimeHdp = videotimehdp
|
1691
|
-
end
|
1692
|
-
|
1693
|
-
def deserialize(params)
|
1694
|
-
@TimeKey = params['TimeKey']
|
1695
|
-
@AudioTime = params['AudioTime']
|
1696
|
-
@AudioVideoTime = params['AudioVideoTime']
|
1697
|
-
@VideoTimeSd = params['VideoTimeSd']
|
1698
|
-
@VideoTimeHd = params['VideoTimeHd']
|
1699
|
-
@VideoTimeHdp = params['VideoTimeHdp']
|
1700
|
-
end
|
1701
|
-
end
|
1702
|
-
|
1703
1582
|
# 画中画模板中有效,代表小画面的布局参数
|
1704
1583
|
class SmallVideoLayoutParams < TencentCloud::Common::AbstractModel
|
1705
1584
|
# @param UserId: 代表小画面对应的用户ID。
|
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: 1.0.
|
4
|
+
version: 1.0.275
|
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-03-
|
11
|
+
date: 2022-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|