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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 591c2b8cf6604146fce4ba2b7762f4e16591b36a
4
- data.tar.gz: 75a68554ecc28700f769fade2f4ee636a927d040
3
+ metadata.gz: edf54a7b3c865b7f760f9d23f781ac3337d12009
4
+ data.tar.gz: fb671ebc2f8489682b76661aef9424bc2d0e8864
5
5
  SHA512:
6
- metadata.gz: eb1c3dc772d58f0aa96b34c2b79673a619c5961f6b3381ed7d34ed2a0a10c1c21433c00bc856df9fe1f02ffa996f835d2092d0585afa3d3a6546bbb501957ff3
7
- data.tar.gz: 3c9ae0b1db8780bc7c7104ccb52455881424b79f64fce0ece295bf5291302d29afbbcff3dc78b4dd482392c8d328c7d2995af51494b2fe472509bc80aa8c722e
6
+ metadata.gz: 0abe9cfdd1949a7abcde1329f554ada63c6cfe7047f0f864410fb91e517522398c76beef8d86b90d3cacb8199a699e24a4c31374bbc88718e9d29ae2da36ef2e
7
+ data.tar.gz: c548da466a15f98087523073eb813969a9b50890f47973f11f016a4a4fd5fd55084416781094e69e2b17c6698baeee5bb63dfdd70758bf142a8263a2dca6d621
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.234
1
+ 1.0.235
@@ -1780,14 +1780,15 @@ module TencentCloud
1780
1780
  end
1781
1781
 
1782
1782
  # 返回直播中、无推流或者禁播等状态。
1783
- # 注意:该接口仅提供辅助查询流状态功能,业务重要场景不要强依赖该接口!
1784
1783
 
1785
1784
  # 使用建议:
1786
- # 1. 去除将该接口的返回结果作为开播、关播等重要业务场景的依赖。
1787
- # 2. 如业务需要该状态,可通过[推断流事件通知](/document/product/267/47025)进行存储维护直播间状态。
1788
- # 3. 自行维护的直播间状态,可通过定时(>1 min)[查询直播中的流接口](/document/product/267/20472),进行状态校准。
1789
- # 4. 如使用了流状态查询接口查询到流不活跃,可通过上述多种方案综合判定流状态。
1790
- # 5. 接口查询时,如发生访问异常或解析异常等,可默认为活跃,减少对业务影响。
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`
@@ -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
- attr_accessor :StartTime, :EndTime, :PlayDomains, :MainlandOrOversea, :Granularity, :ServiceName
2746
-
2747
- def initialize(starttime=nil, endtime=nil, playdomains=nil, mainlandoroversea=nil, granularity=nil, servicename=nil)
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
- attr_accessor :StartTime, :EndTime, :PushDomains, :MainlandOrOversea, :Granularity
5501
-
5502
- def initialize(starttime=nil, endtime=nil, pushdomains=nil, mainlandoroversea=nil, granularity=nil)
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.234
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: 2021-12-30 00:00:00.000000000 Z
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