tencentcloud-sdk-trtc 1.0.330 → 1.0.331

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190722/models.rb +116 -3
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29889cb10781af11bf15c48154c3dde996e28f71
4
- data.tar.gz: 911777c736f6de579b03057dda3acbb164cf6301
3
+ metadata.gz: b0a9e1cc8f8fcf792fb4f28ef62d040492a8ac9c
4
+ data.tar.gz: 02b06a34dd5eda43bf03711d281ec409ece442c8
5
5
  SHA512:
6
- metadata.gz: 1cb9df35b0f1465db1c09601c9e8281fe0f163576454a3de93cd50360617838f3b63ea3d6da3173d2a9ed94c7ffe6550f40265dbe6ca780e97227e15a53ab580
7
- data.tar.gz: 4830381312c3d141eaaea85eac10c58aac359e7cdef8262c0ebf15b40aef7157586101155df8d4a6ebdd3fd13f8d77c33f4d8dba4bb6ced258578fda3ba8b8e7
6
+ metadata.gz: fdd3cf4fe43cf35396df57a66f2cb465bb9707d160d9a2a3268435c0cc8fad3133c25b8cfc8614b4a957893626ab817352063e542d019fa10ea84cdfa919b7f2
7
+ data.tar.gz: 3039580701eaa7cfd01014ad2c6ec6a8d85e6ed5b8eb3eb6ac2b210a087913beb959dd365dadadb2290f52b1d568ca326e8eb53c9bc06d214afe617d7a969acc
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.330
1
+ 1.0.331
@@ -85,7 +85,7 @@ module TencentCloud
85
85
  # 3:16000Hz。
86
86
  # @type SampleRate: Integer
87
87
  # @param Channel: 声道数:
88
- # 1:单身道;
88
+ # 1:单声道;
89
89
  # 2:双声道(默认)。
90
90
  # @type Channel: Integer
91
91
  # @param BitRate: 音频码率: 取值范围[32000, 128000] ,单位bps,默认64000bps。
@@ -1445,16 +1445,33 @@ module TencentCloud
1445
1445
 
1446
1446
  # MeasureTrtcMcuExternal返回参数结构体
1447
1447
  class MeasureTrtcMcuExternalResponse < TencentCloud::Common::AbstractModel
1448
+ # @param Usages: 应用的用量信息数组。
1449
+ # 注意:此字段可能返回 null,表示取不到有效值。
1450
+ # @type Usages: Array
1451
+ # @param Type: 用户计费类型
1452
+ # 注意:此字段可能返回 null,表示取不到有效值。
1453
+ # @type Type: String
1448
1454
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1449
1455
  # @type RequestId: String
1450
1456
 
1451
- attr_accessor :RequestId
1457
+ attr_accessor :Usages, :Type, :RequestId
1452
1458
 
1453
- def initialize(requestid=nil)
1459
+ def initialize(usages=nil, type=nil, requestid=nil)
1460
+ @Usages = usages
1461
+ @Type = type
1454
1462
  @RequestId = requestid
1455
1463
  end
1456
1464
 
1457
1465
  def deserialize(params)
1466
+ unless params['Usages'].nil?
1467
+ @Usages = []
1468
+ params['Usages'].each do |i|
1469
+ onesdkappidtranscodetimeusagesnewinfo_tmp = OneSdkAppIdTranscodeTimeUsagesNewInfo.new
1470
+ onesdkappidtranscodetimeusagesnewinfo_tmp.deserialize(i)
1471
+ @Usages << onesdkappidtranscodetimeusagesnewinfo_tmp
1472
+ end
1473
+ end
1474
+ @Type = params['Type']
1458
1475
  @RequestId = params['RequestId']
1459
1476
  end
1460
1477
  end
@@ -1763,6 +1780,37 @@ module TencentCloud
1763
1780
  end
1764
1781
  end
1765
1782
 
1783
+ # 旁路转码时长的查询结果
1784
+ class OneSdkAppIdTranscodeTimeUsagesNewInfo < TencentCloud::Common::AbstractModel
1785
+ # @param SdkAppIdTranscodeTimeUsages: 旁路转码时长查询结果数组
1786
+ # @type SdkAppIdTranscodeTimeUsages: Array
1787
+ # @param TotalNum: 查询记录数量
1788
+ # @type TotalNum: Integer
1789
+ # @param SdkAppId: 所查询的应用ID,可能值为:1-应用的应用ID,2-total,显示为total则表示查询的是所有应用的用量合计值。
1790
+ # @type SdkAppId: String
1791
+
1792
+ attr_accessor :SdkAppIdTranscodeTimeUsages, :TotalNum, :SdkAppId
1793
+
1794
+ def initialize(sdkappidtranscodetimeusages=nil, totalnum=nil, sdkappid=nil)
1795
+ @SdkAppIdTranscodeTimeUsages = sdkappidtranscodetimeusages
1796
+ @TotalNum = totalnum
1797
+ @SdkAppId = sdkappid
1798
+ end
1799
+
1800
+ def deserialize(params)
1801
+ unless params['SdkAppIdTranscodeTimeUsages'].nil?
1802
+ @SdkAppIdTranscodeTimeUsages = []
1803
+ params['SdkAppIdTranscodeTimeUsages'].each do |i|
1804
+ sdkappidtrtcmcutranscodetimenewusage_tmp = SdkAppIdTrtcMcuTranscodeTimeNewUsage.new
1805
+ sdkappidtrtcmcutranscodetimenewusage_tmp.deserialize(i)
1806
+ @SdkAppIdTranscodeTimeUsages << sdkappidtrtcmcutranscodetimenewusage_tmp
1807
+ end
1808
+ end
1809
+ @TotalNum = params['TotalNum']
1810
+ @SdkAppId = params['SdkAppId']
1811
+ end
1812
+ end
1813
+
1766
1814
  # MCU混流的输出参数
1767
1815
  class OutputParams < TencentCloud::Common::AbstractModel
1768
1816
  # @param StreamId: 直播流 ID,由用户自定义设置,该流 ID 不能与用户旁路的流 ID 相同。
@@ -2219,6 +2267,71 @@ module TencentCloud
2219
2267
  end
2220
2268
  end
2221
2269
 
2270
+ # 查询旁路转码计费时长。
2271
+ # 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
2272
+ class SdkAppIdTrtcMcuTranscodeTimeNewUsage < TencentCloud::Common::AbstractModel
2273
+ # @param TimeKey: 本组数据对应的时间点,格式如:2020-09-07或2020-09-07 00:05:05。
2274
+ # @type TimeKey: String
2275
+ # @param AudioTime: 语音时长,单位:秒。
2276
+ # @type AudioTime: Integer
2277
+ # @param VideoTimeH264SD: 视频时长-标清SD,单位:秒。
2278
+ # @type VideoTimeH264SD: Integer
2279
+ # @param VideoTimeH264HD: 视频时长-高清HD,单位:秒。
2280
+ # @type VideoTimeH264HD: Integer
2281
+ # @param VideoTimeH264FHD: 视频时长-全高清FHD,单位:秒。
2282
+ # @type VideoTimeH264FHD: Integer
2283
+ # @param Flux: 视频时长-带宽,单位:mbps。
2284
+ # @type Flux: Float
2285
+ # @param VideoTimeH2642K: 视频时长-标清2K,单位:秒。
2286
+ # @type VideoTimeH2642K: Integer
2287
+ # @param VideoTimeH2644K: 视频时长-标清4K,单位:秒。
2288
+ # @type VideoTimeH2644K: Integer
2289
+ # @param VideoTimeH265SD: 视频时长-标清265SD,单位:秒。
2290
+ # @type VideoTimeH265SD: Integer
2291
+ # @param VideoTimeH265HD: 视频时长-高清265HD,单位:秒。
2292
+ # @type VideoTimeH265HD: Integer
2293
+ # @param VideoTimeH265FHD: 视频时长-全高清265FHD,单位:秒。
2294
+ # @type VideoTimeH265FHD: Integer
2295
+ # @param VideoTimeH2652K: 视频时长-标清2652K,单位:秒。
2296
+ # @type VideoTimeH2652K: Integer
2297
+ # @param VideoTimeH2654K: 视频时长-标清265 4K,单位:秒。
2298
+ # @type VideoTimeH2654K: Integer
2299
+
2300
+ attr_accessor :TimeKey, :AudioTime, :VideoTimeH264SD, :VideoTimeH264HD, :VideoTimeH264FHD, :Flux, :VideoTimeH2642K, :VideoTimeH2644K, :VideoTimeH265SD, :VideoTimeH265HD, :VideoTimeH265FHD, :VideoTimeH2652K, :VideoTimeH2654K
2301
+
2302
+ def initialize(timekey=nil, audiotime=nil, videotimeh264sd=nil, videotimeh264hd=nil, videotimeh264fhd=nil, flux=nil, videotimeh2642k=nil, videotimeh2644k=nil, videotimeh265sd=nil, videotimeh265hd=nil, videotimeh265fhd=nil, videotimeh2652k=nil, videotimeh2654k=nil)
2303
+ @TimeKey = timekey
2304
+ @AudioTime = audiotime
2305
+ @VideoTimeH264SD = videotimeh264sd
2306
+ @VideoTimeH264HD = videotimeh264hd
2307
+ @VideoTimeH264FHD = videotimeh264fhd
2308
+ @Flux = flux
2309
+ @VideoTimeH2642K = videotimeh2642k
2310
+ @VideoTimeH2644K = videotimeh2644k
2311
+ @VideoTimeH265SD = videotimeh265sd
2312
+ @VideoTimeH265HD = videotimeh265hd
2313
+ @VideoTimeH265FHD = videotimeh265fhd
2314
+ @VideoTimeH2652K = videotimeh2652k
2315
+ @VideoTimeH2654K = videotimeh2654k
2316
+ end
2317
+
2318
+ def deserialize(params)
2319
+ @TimeKey = params['TimeKey']
2320
+ @AudioTime = params['AudioTime']
2321
+ @VideoTimeH264SD = params['VideoTimeH264SD']
2322
+ @VideoTimeH264HD = params['VideoTimeH264HD']
2323
+ @VideoTimeH264FHD = params['VideoTimeH264FHD']
2324
+ @Flux = params['Flux']
2325
+ @VideoTimeH2642K = params['VideoTimeH2642K']
2326
+ @VideoTimeH2644K = params['VideoTimeH2644K']
2327
+ @VideoTimeH265SD = params['VideoTimeH265SD']
2328
+ @VideoTimeH265HD = params['VideoTimeH265HD']
2329
+ @VideoTimeH265FHD = params['VideoTimeH265FHD']
2330
+ @VideoTimeH2652K = params['VideoTimeH2652K']
2331
+ @VideoTimeH2654K = params['VideoTimeH2654K']
2332
+ end
2333
+ end
2334
+
2222
2335
  # 查询旁路转码计费时长。
2223
2336
  # 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
2224
2337
  class SdkAppIdTrtcMcuTranscodeTimeUsage < TencentCloud::Common::AbstractModel
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.330
4
+ version: 1.0.331
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-06-09 00:00:00.000000000 Z
11
+ date: 2022-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common