tencentcloud-sdk-live 1.0.234 → 1.0.239

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: 3323ef5a283c482f1841c47be1e4a433ce577865
4
+ data.tar.gz: 5a5fce91ecbe7a467e42673b944761caf32aed60
5
5
  SHA512:
6
- metadata.gz: eb1c3dc772d58f0aa96b34c2b79673a619c5961f6b3381ed7d34ed2a0a10c1c21433c00bc856df9fe1f02ffa996f835d2092d0585afa3d3a6546bbb501957ff3
7
- data.tar.gz: 3c9ae0b1db8780bc7c7104ccb52455881424b79f64fce0ece295bf5291302d29afbbcff3dc78b4dd482392c8d328c7d2995af51494b2fe472509bc80aa8c722e
6
+ metadata.gz: 27c555c1d90f238d16206ae72e5ef7f28658fa210755373caedaa370c693f5ad01faaa1f7a53f17baa4c56c52f849ca4bd682b30e70420bf01d82a1d74185513
7
+ data.tar.gz: 43eb4ec3cd324bb7bcf133fec01aac4b1ca91771ef905ad10523746e4aacabc8eb1a01bbc8846de7c12b6d946974f8021544330fa277336de1ceb6cd8986d82d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.234
1
+ 1.0.239
@@ -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`
@@ -694,6 +694,7 @@ module TencentCloud
694
694
  # @param ImageLayer: 输入图层。取值范围[1,16]。
695
695
  # 1)背景流(即大主播画面或画布)的 image_layer 填1。
696
696
  # 2)纯音频混流,该参数也需填。
697
+ # 注意:不同输入,该值不可重复
697
698
  # @type ImageLayer: Integer
698
699
  # @param InputType: 输入类型。取值范围[0,5]。
699
700
  # 不填默认为0。
@@ -2741,16 +2742,28 @@ module TencentCloud
2741
2742
  # @type Granularity: Integer
2742
2743
  # @param ServiceName: 服务名称,可选值包括LVB(标准直播),LEB(快直播),不填则查LVB+LEB总值。
2743
2744
  # @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)
2745
+ # @param RegionNames: 大区,映射表如下:
2746
+ # China Mainland 中国大陆
2747
+ # Asia Pacific I 亚太一区
2748
+ # Asia Pacific II 亚太二区
2749
+ # Asia Pacific III 亚太三区
2750
+ # Europe 欧洲
2751
+ # North America 北美
2752
+ # South America 南美
2753
+ # Middle East 中东
2754
+ # Africa 非洲。
2755
+ # @type RegionNames: Array
2756
+
2757
+ attr_accessor :StartTime, :EndTime, :PlayDomains, :MainlandOrOversea, :Granularity, :ServiceName, :RegionNames
2758
+
2759
+ def initialize(starttime=nil, endtime=nil, playdomains=nil, mainlandoroversea=nil, granularity=nil, servicename=nil, regionnames=nil)
2748
2760
  @StartTime = starttime
2749
2761
  @EndTime = endtime
2750
2762
  @PlayDomains = playdomains
2751
2763
  @MainlandOrOversea = mainlandoroversea
2752
2764
  @Granularity = granularity
2753
2765
  @ServiceName = servicename
2766
+ @RegionNames = regionnames
2754
2767
  end
2755
2768
 
2756
2769
  def deserialize(params)
@@ -2760,6 +2773,7 @@ module TencentCloud
2760
2773
  @MainlandOrOversea = params['MainlandOrOversea']
2761
2774
  @Granularity = params['Granularity']
2762
2775
  @ServiceName = params['ServiceName']
2776
+ @RegionNames = params['RegionNames']
2763
2777
  end
2764
2778
  end
2765
2779
 
@@ -5496,15 +5510,27 @@ module TencentCloud
5496
5510
  # 1440:天粒度(跨度不支持超过一个月)。
5497
5511
  # 默认值:5。
5498
5512
  # @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)
5513
+ # @param RegionNames: 大区,映射表如下:
5514
+ # China Mainland 中国大陆
5515
+ # Asia Pacific I 亚太一区
5516
+ # Asia Pacific II 亚太二区
5517
+ # Asia Pacific III 亚太三区
5518
+ # Europe 欧洲
5519
+ # North America 北美
5520
+ # South America 南美
5521
+ # Middle East 中东
5522
+ # Africa 非洲。
5523
+ # @type RegionNames: Array
5524
+
5525
+ attr_accessor :StartTime, :EndTime, :PushDomains, :MainlandOrOversea, :Granularity, :RegionNames
5526
+
5527
+ def initialize(starttime=nil, endtime=nil, pushdomains=nil, mainlandoroversea=nil, granularity=nil, regionnames=nil)
5503
5528
  @StartTime = starttime
5504
5529
  @EndTime = endtime
5505
5530
  @PushDomains = pushdomains
5506
5531
  @MainlandOrOversea = mainlandoroversea
5507
5532
  @Granularity = granularity
5533
+ @RegionNames = regionnames
5508
5534
  end
5509
5535
 
5510
5536
  def deserialize(params)
@@ -5513,6 +5539,7 @@ module TencentCloud
5513
5539
  @PushDomains = params['PushDomains']
5514
5540
  @MainlandOrOversea = params['MainlandOrOversea']
5515
5541
  @Granularity = params['Granularity']
5542
+ @RegionNames = params['RegionNames']
5516
5543
  end
5517
5544
  end
5518
5545
 
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.239
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-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common