tencentcloud-sdk-live 1.0.234 → 1.0.235
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180801/client.rb +7 -6
- data/lib/v20180801/models.rb +34 -8
- 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: edf54a7b3c865b7f760f9d23f781ac3337d12009
|
4
|
+
data.tar.gz: fb671ebc2f8489682b76661aef9424bc2d0e8864
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0abe9cfdd1949a7abcde1329f554ada63c6cfe7047f0f864410fb91e517522398c76beef8d86b90d3cacb8199a699e24a4c31374bbc88718e9d29ae2da36ef2e
|
7
|
+
data.tar.gz: c548da466a15f98087523073eb813969a9b50890f47973f11f016a4a4fd5fd55084416781094e69e2b17c6698baeee5bb63dfdd70758bf142a8263a2dca6d621
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.235
|
data/lib/v20180801/client.rb
CHANGED
@@ -1780,14 +1780,15 @@ module TencentCloud
|
|
1780
1780
|
end
|
1781
1781
|
|
1782
1782
|
# 返回直播中、无推流或者禁播等状态。
|
1783
|
-
# 注意:该接口仅提供辅助查询流状态功能,业务重要场景不要强依赖该接口!
|
1784
1783
|
|
1785
1784
|
# 使用建议:
|
1786
|
-
#
|
1787
|
-
#
|
1788
|
-
#
|
1789
|
-
#
|
1790
|
-
#
|
1785
|
+
# 该接口提供实时流状态查询功能,鉴于网络抖动等一些不可抗因素,使用该接口作为判断主播是否开播等重要业务场景时,请参考以下使用建议。
|
1786
|
+
# 1. 优先使用业务自身的房间开关播逻辑,判断主播是否在线,譬如客户端开播信令和主播在线心跳等。
|
1787
|
+
# 2. 对于没有房间管理的直播场景,可以结合以下方案综合判断。
|
1788
|
+
# 2.1 根据[推断流事件通知](/document/product/267/20388) 判断主播在线状态。
|
1789
|
+
# 2.2 通过定时(间隔>1min)查询[直播中的流接口](/document/api/267/20472),判断主播是否在线。
|
1790
|
+
# 2.3 通过 本接口 查询直播流状态,判断主播是否在线。
|
1791
|
+
# 2.4 以上任一方式判断为在线,都认为主播开播中,并且接口查询超时或解析异常时,也默认为在线,减少对业务的影响。
|
1791
1792
|
|
1792
1793
|
# @param request: Request instance for DescribeLiveStreamState.
|
1793
1794
|
# @type request: :class:`Tencentcloud::live::V20180801::DescribeLiveStreamStateRequest`
|
data/lib/v20180801/models.rb
CHANGED
@@ -2741,16 +2741,28 @@ module TencentCloud
|
|
2741
2741
|
# @type Granularity: Integer
|
2742
2742
|
# @param ServiceName: 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
|
2743
2743
|
# @type ServiceName: String
|
2744
|
-
|
2745
|
-
|
2746
|
-
|
2747
|
-
|
2744
|
+
# @param RegionNames: 大区,映射表如下:
|
2745
|
+
# China Mainland 中国大陆
|
2746
|
+
# Asia Pacific I 亚太一区
|
2747
|
+
# Asia Pacific II 亚太二区
|
2748
|
+
# Asia Pacific III 亚太三区
|
2749
|
+
# Europe 欧洲
|
2750
|
+
# North America 北美
|
2751
|
+
# South America 南美
|
2752
|
+
# Middle East 中东
|
2753
|
+
# Africa 非洲。
|
2754
|
+
# @type RegionNames: Array
|
2755
|
+
|
2756
|
+
attr_accessor :StartTime, :EndTime, :PlayDomains, :MainlandOrOversea, :Granularity, :ServiceName, :RegionNames
|
2757
|
+
|
2758
|
+
def initialize(starttime=nil, endtime=nil, playdomains=nil, mainlandoroversea=nil, granularity=nil, servicename=nil, regionnames=nil)
|
2748
2759
|
@StartTime = starttime
|
2749
2760
|
@EndTime = endtime
|
2750
2761
|
@PlayDomains = playdomains
|
2751
2762
|
@MainlandOrOversea = mainlandoroversea
|
2752
2763
|
@Granularity = granularity
|
2753
2764
|
@ServiceName = servicename
|
2765
|
+
@RegionNames = regionnames
|
2754
2766
|
end
|
2755
2767
|
|
2756
2768
|
def deserialize(params)
|
@@ -2760,6 +2772,7 @@ module TencentCloud
|
|
2760
2772
|
@MainlandOrOversea = params['MainlandOrOversea']
|
2761
2773
|
@Granularity = params['Granularity']
|
2762
2774
|
@ServiceName = params['ServiceName']
|
2775
|
+
@RegionNames = params['RegionNames']
|
2763
2776
|
end
|
2764
2777
|
end
|
2765
2778
|
|
@@ -5496,15 +5509,27 @@ module TencentCloud
|
|
5496
5509
|
# 1440:天粒度(跨度不支持超过一个月)。
|
5497
5510
|
# 默认值:5。
|
5498
5511
|
# @type Granularity: Integer
|
5499
|
-
|
5500
|
-
|
5501
|
-
|
5502
|
-
|
5512
|
+
# @param RegionNames: 大区,映射表如下:
|
5513
|
+
# China Mainland 中国大陆
|
5514
|
+
# Asia Pacific I 亚太一区
|
5515
|
+
# Asia Pacific II 亚太二区
|
5516
|
+
# Asia Pacific III 亚太三区
|
5517
|
+
# Europe 欧洲
|
5518
|
+
# North America 北美
|
5519
|
+
# South America 南美
|
5520
|
+
# Middle East 中东
|
5521
|
+
# Africa 非洲。
|
5522
|
+
# @type RegionNames: Array
|
5523
|
+
|
5524
|
+
attr_accessor :StartTime, :EndTime, :PushDomains, :MainlandOrOversea, :Granularity, :RegionNames
|
5525
|
+
|
5526
|
+
def initialize(starttime=nil, endtime=nil, pushdomains=nil, mainlandoroversea=nil, granularity=nil, regionnames=nil)
|
5503
5527
|
@StartTime = starttime
|
5504
5528
|
@EndTime = endtime
|
5505
5529
|
@PushDomains = pushdomains
|
5506
5530
|
@MainlandOrOversea = mainlandoroversea
|
5507
5531
|
@Granularity = granularity
|
5532
|
+
@RegionNames = regionnames
|
5508
5533
|
end
|
5509
5534
|
|
5510
5535
|
def deserialize(params)
|
@@ -5513,6 +5538,7 @@ module TencentCloud
|
|
5513
5538
|
@PushDomains = params['PushDomains']
|
5514
5539
|
@MainlandOrOversea = params['MainlandOrOversea']
|
5515
5540
|
@Granularity = params['Granularity']
|
5541
|
+
@RegionNames = params['RegionNames']
|
5516
5542
|
end
|
5517
5543
|
end
|
5518
5544
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-live
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.235
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|