tencentcloud-sdk-trtc 1.0.337 → 1.0.338

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b8fa7eeb5a55a330c4001e5c043e5cbc92e44be
4
- data.tar.gz: 90ee291a6a463e39482d1fc5f49cc8414f83a585
3
+ metadata.gz: fb1ed7577b6fbbd1e21b052da6f36977faaa8e05
4
+ data.tar.gz: 26c470490c01229714dfe04675fb19740838cbac
5
5
  SHA512:
6
- metadata.gz: 43c8425696f2e9e1b112120ae5c73a969bf1653f882ee09be326fdabada9f99d96df1b778404a0f070f77627bfafaa68af287973c0a0877a27f3dab158496b93
7
- data.tar.gz: 1a2a8dd6c9bffde57bd81ad193c9e2f4f675c030819a78409730a2962d6101a2df718431d36d3b8a2f147bc9edec25cef1c37f0ee42e92c6a4e3fb04d40c6d8a
6
+ metadata.gz: feedfef133bfdf797cfd2f81e671013045496bd18ac75336165adc35d2edf5f6c78fbbffb0424ece64591d981300af5161e0eafad2089df222af013cd225cd65
7
+ data.tar.gz: df81aa3bd28d686399a31573180252b6db032eff026dbdb1b49e7cc9e96e506c5a129d6624b7a0250aaa0714f88a7037dc247a028eceda0d3571c910ba3b22f8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.337
1
+ 1.0.338
@@ -484,34 +484,6 @@ module TencentCloud
484
484
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
485
485
  end
486
486
 
487
- # 查询旁路转码计费时长。
488
- # - 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
489
- # - 单次查询统计区间最多不能超过2天。
490
- # - 若查询当天用量,由于统计延迟等原因,返回数据可能不够准确。
491
- # - 日结后付费将于次日上午推送账单,建议次日上午9点以后再来查询前一天的用量。
492
-
493
- # @param request: Request instance for MeasureTrtcMcuExternal.
494
- # @type request: :class:`Tencentcloud::trtc::V20190722::MeasureTrtcMcuExternalRequest`
495
- # @rtype: :class:`Tencentcloud::trtc::V20190722::MeasureTrtcMcuExternalResponse`
496
- def MeasureTrtcMcuExternal(request)
497
- body = send_request('MeasureTrtcMcuExternal', request.serialize)
498
- response = JSON.parse(body)
499
- if response['Response'].key?('Error') == false
500
- model = MeasureTrtcMcuExternalResponse.new
501
- model.deserialize(response['Response'])
502
- model
503
- else
504
- code = response['Response']['Error']['Code']
505
- message = response['Response']['Error']['Message']
506
- reqid = response['Response']['RequestId']
507
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
508
- end
509
- rescue TencentCloud::Common::TencentCloudSDKException => e
510
- raise e
511
- rescue StandardError => e
512
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
513
- end
514
-
515
487
  # 成功开启录制后,可以使用此接口来更新录制任务。仅在录制任务进行时有效,录制退出后更新将会返回错误。更新操作是全量覆盖,并不是增量更新的模式,也就是说每次更新都需要携带全量的信息。
516
488
 
517
489
  # @param request: Request instance for ModifyCloudRecording.
@@ -1418,64 +1418,6 @@ module TencentCloud
1418
1418
  end
1419
1419
  end
1420
1420
 
1421
- # MeasureTrtcMcuExternal请求参数结构体
1422
- class MeasureTrtcMcuExternalRequest < TencentCloud::Common::AbstractModel
1423
- # @param StartTime: 查询开始时间,格式为YYYY-MM-DD。
1424
- # @type StartTime: String
1425
- # @param EndTime: 查询结束时间,格式为YYYY-MM-DD。
1426
- # 单次查询统计区间最多不能超过2天。
1427
- # @type EndTime: String
1428
- # @param SdkAppId: 应用ID,可不传。传应用ID时返回的是该应用的用量,不传时返回多个应用的合计值。
1429
- # @type SdkAppId: Integer
1430
-
1431
- attr_accessor :StartTime, :EndTime, :SdkAppId
1432
-
1433
- def initialize(starttime=nil, endtime=nil, sdkappid=nil)
1434
- @StartTime = starttime
1435
- @EndTime = endtime
1436
- @SdkAppId = sdkappid
1437
- end
1438
-
1439
- def deserialize(params)
1440
- @StartTime = params['StartTime']
1441
- @EndTime = params['EndTime']
1442
- @SdkAppId = params['SdkAppId']
1443
- end
1444
- end
1445
-
1446
- # MeasureTrtcMcuExternal返回参数结构体
1447
- class MeasureTrtcMcuExternalResponse < TencentCloud::Common::AbstractModel
1448
- # @param Usages: 应用的用量信息数组。
1449
- # 注意:此字段可能返回 null,表示取不到有效值。
1450
- # @type Usages: Array
1451
- # @param Type: 用户计费类型
1452
- # 注意:此字段可能返回 null,表示取不到有效值。
1453
- # @type Type: String
1454
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1455
- # @type RequestId: String
1456
-
1457
- attr_accessor :Usages, :Type, :RequestId
1458
-
1459
- def initialize(usages=nil, type=nil, requestid=nil)
1460
- @Usages = usages
1461
- @Type = type
1462
- @RequestId = requestid
1463
- end
1464
-
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']
1475
- @RequestId = params['RequestId']
1476
- end
1477
- end
1478
-
1479
1421
  # 用户自定义混流布局参数列表。
1480
1422
  class MixLayout < TencentCloud::Common::AbstractModel
1481
1423
  # @param Top: 画布上该画面左上角的 y 轴坐标,取值范围 [0, 1920],不能超过画布的高。
@@ -1780,37 +1722,6 @@ module TencentCloud
1780
1722
  end
1781
1723
  end
1782
1724
 
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
-
1814
1725
  # MCU混流的输出参数
1815
1726
  class OutputParams < TencentCloud::Common::AbstractModel
1816
1727
  # @param StreamId: 直播流 ID,由用户自定义设置,该流 ID 不能与用户旁路的流 ID 相同。
@@ -2267,71 +2178,6 @@ module TencentCloud
2267
2178
  end
2268
2179
  end
2269
2180
 
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
-
2335
2181
  # 查询旁路转码计费时长。
2336
2182
  # 查询时间小于等于1天时,返回每5分钟粒度的数据;查询时间大于1天时,返回按天汇总的数据。
2337
2183
  class SdkAppIdTrtcMcuTranscodeTimeUsage < TencentCloud::Common::AbstractModel
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-trtc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.337
4
+ version: 1.0.338
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud