tencentcloud-sdk-live 3.0.947 → 3.0.949

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: c4b354eb6cb1eeaee29e9d71a4554e4f09ff7304
4
- data.tar.gz: 7806271c2686d142aa3c9a52a0de205535a66e46
3
+ metadata.gz: 4e4bfac03cf893eafbc97e32c2576c4a8b63afc9
4
+ data.tar.gz: 16a1c13b157730401e00ad8686de435a91fd7b29
5
5
  SHA512:
6
- metadata.gz: da40da5be24895dfd77f6029cf3071251b8384c1be5d9cd71b7df5111c41b72e5bd2caab677313ea65563638c06b359774e6bdae3d608a8f6a013911c39ac7da
7
- data.tar.gz: f3010b167af0f43b0ebf5668a37f56bc1483c55a34472358750b9148848007a6d3a96ba26d0c869e1d83dc085c385a34ae6d64e1c41569eb5782bd89230f9327
6
+ metadata.gz: 8b35980d406660cf8ca81983af0050232b6da0d8208645bfa7bebb187f32fb6790d57fc1f44d804c0c0d301439aa578298589bc4f5c19f64d979d5fb0a574a22
7
+ data.tar.gz: a2acc77c760f7a4edc127fd3cd6919a16669623051fd5b2e7f4a4d19c0ca69a8a653a4848ec04144946c663f4f532bde72f42cf477a5e0bf5d518c8869401338
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.947
1
+ 3.0.949
@@ -29,6 +29,78 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 该接口用来向导播台中添加一个输入源,该输入源可以是拉流地址、或是一个文件链接
33
+
34
+ # @param request: Request instance for AddCasterInputInfo.
35
+ # @type request: :class:`Tencentcloud::live::V20180801::AddCasterInputInfoRequest`
36
+ # @rtype: :class:`Tencentcloud::live::V20180801::AddCasterInputInfoResponse`
37
+ def AddCasterInputInfo(request)
38
+ body = send_request('AddCasterInputInfo', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AddCasterInputInfoResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 该接口用来增加导播台的布局参数。
57
+
58
+ # @param request: Request instance for AddCasterLayoutInfo.
59
+ # @type request: :class:`Tencentcloud::live::V20180801::AddCasterLayoutInfoRequest`
60
+ # @rtype: :class:`Tencentcloud::live::V20180801::AddCasterLayoutInfoResponse`
61
+ def AddCasterLayoutInfo(request)
62
+ body = send_request('AddCasterLayoutInfo', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = AddCasterLayoutInfoResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 该接口用来新增导播台推流信息。导播台主监启动后,将会将主监画面推向该接口设置的地址。
81
+
82
+ # @param request: Request instance for AddCasterOutputInfo.
83
+ # @type request: :class:`Tencentcloud::live::V20180801::AddCasterOutputInfoRequest`
84
+ # @rtype: :class:`Tencentcloud::live::V20180801::AddCasterOutputInfoResponse`
85
+ def AddCasterOutputInfo(request)
86
+ body = send_request('AddCasterOutputInfo', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = AddCasterOutputInfoResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
32
104
  # 针对大型活动直播,通过对直播流设置延时来控制现场与观众播放画面的时间间隔,避免突发状况造成影响。
33
105
 
34
106
  # 注意:如果在推流前设置延播,需要提前5分钟设置,目前该接口只支持流粒度。
@@ -199,6 +271,30 @@ module TencentCloud
199
271
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
200
272
  end
201
273
 
274
+ # 该接口用来生成导播台推流地址
275
+
276
+ # @param request: Request instance for CreateCasterInputPushUrl.
277
+ # @type request: :class:`Tencentcloud::live::V20180801::CreateCasterInputPushUrlRequest`
278
+ # @rtype: :class:`Tencentcloud::live::V20180801::CreateCasterInputPushUrlResponse`
279
+ def CreateCasterInputPushUrl(request)
280
+ body = send_request('CreateCasterInputPushUrl', request.serialize)
281
+ response = JSON.parse(body)
282
+ if response['Response'].key?('Error') == false
283
+ model = CreateCasterInputPushUrlResponse.new
284
+ model.deserialize(response['Response'])
285
+ model
286
+ else
287
+ code = response['Response']['Error']['Code']
288
+ message = response['Response']['Error']['Message']
289
+ reqid = response['Response']['RequestId']
290
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
291
+ end
292
+ rescue TencentCloud::Common::TencentCloudSDKException => e
293
+ raise e
294
+ rescue StandardError => e
295
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
296
+ end
297
+
202
298
  # 该接口用来创建通用混流。用法与旧接口 mix_streamv2.start_mix_stream_advanced 基本一致。
203
299
  # 注意:当前最多支持16路混流。
204
300
  # 最佳实践:https://cloud.tencent.com/document/product/267/45566
@@ -759,6 +855,79 @@ module TencentCloud
759
855
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
760
856
  end
761
857
 
858
+ # 该接口用来删除导播台中的输入源信息。
859
+
860
+ # @param request: Request instance for DeleteCasterInputInfo.
861
+ # @type request: :class:`Tencentcloud::live::V20180801::DeleteCasterInputInfoRequest`
862
+ # @rtype: :class:`Tencentcloud::live::V20180801::DeleteCasterInputInfoResponse`
863
+ def DeleteCasterInputInfo(request)
864
+ body = send_request('DeleteCasterInputInfo', request.serialize)
865
+ response = JSON.parse(body)
866
+ if response['Response'].key?('Error') == false
867
+ model = DeleteCasterInputInfoResponse.new
868
+ model.deserialize(response['Response'])
869
+ model
870
+ else
871
+ code = response['Response']['Error']['Code']
872
+ message = response['Response']['Error']['Message']
873
+ reqid = response['Response']['RequestId']
874
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
875
+ end
876
+ rescue TencentCloud::Common::TencentCloudSDKException => e
877
+ raise e
878
+ rescue StandardError => e
879
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
880
+ end
881
+
882
+ # 该接口用来将布局信息从导播台中删除
883
+
884
+ # @param request: Request instance for DeleteCasterLayoutInfo.
885
+ # @type request: :class:`Tencentcloud::live::V20180801::DeleteCasterLayoutInfoRequest`
886
+ # @rtype: :class:`Tencentcloud::live::V20180801::DeleteCasterLayoutInfoResponse`
887
+ def DeleteCasterLayoutInfo(request)
888
+ body = send_request('DeleteCasterLayoutInfo', request.serialize)
889
+ response = JSON.parse(body)
890
+ if response['Response'].key?('Error') == false
891
+ model = DeleteCasterLayoutInfoResponse.new
892
+ model.deserialize(response['Response'])
893
+ model
894
+ else
895
+ code = response['Response']['Error']['Code']
896
+ message = response['Response']['Error']['Message']
897
+ reqid = response['Response']['RequestId']
898
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
899
+ end
900
+ rescue TencentCloud::Common::TencentCloudSDKException => e
901
+ raise e
902
+ rescue StandardError => e
903
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
904
+ end
905
+
906
+ # 该接口用来删除导播台的推流信息。
907
+ # 注:若删除推流到腾讯云直播源站配置,即OutputIndex为0,OutputType为1的推流配置,在重新启动主监后,系统会自动重新生成一个推流到腾讯云直播源站配置。
908
+
909
+ # @param request: Request instance for DeleteCasterOutputInfo.
910
+ # @type request: :class:`Tencentcloud::live::V20180801::DeleteCasterOutputInfoRequest`
911
+ # @rtype: :class:`Tencentcloud::live::V20180801::DeleteCasterOutputInfoResponse`
912
+ def DeleteCasterOutputInfo(request)
913
+ body = send_request('DeleteCasterOutputInfo', request.serialize)
914
+ response = JSON.parse(body)
915
+ if response['Response'].key?('Error') == false
916
+ model = DeleteCasterOutputInfoResponse.new
917
+ model.deserialize(response['Response'])
918
+ model
919
+ else
920
+ code = response['Response']['Error']['Code']
921
+ message = response['Response']['Error']['Message']
922
+ reqid = response['Response']['RequestId']
923
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
924
+ end
925
+ rescue TencentCloud::Common::TencentCloudSDKException => e
926
+ raise e
927
+ rescue StandardError => e
928
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
929
+ end
930
+
762
931
  # 删除回调规则。
763
932
 
764
933
  # @param request: Request instance for DeleteLiveCallbackRule.
@@ -1441,6 +1610,54 @@ module TencentCloud
1441
1610
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1442
1611
  end
1443
1612
 
1613
+ # 该接口用来查询导播台的输入源信息列表。
1614
+
1615
+ # @param request: Request instance for DescribeCasterInputInfos.
1616
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterInputInfosRequest`
1617
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterInputInfosResponse`
1618
+ def DescribeCasterInputInfos(request)
1619
+ body = send_request('DescribeCasterInputInfos', request.serialize)
1620
+ response = JSON.parse(body)
1621
+ if response['Response'].key?('Error') == false
1622
+ model = DescribeCasterInputInfosResponse.new
1623
+ model.deserialize(response['Response'])
1624
+ model
1625
+ else
1626
+ code = response['Response']['Error']['Code']
1627
+ message = response['Response']['Error']['Message']
1628
+ reqid = response['Response']['RequestId']
1629
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1630
+ end
1631
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1632
+ raise e
1633
+ rescue StandardError => e
1634
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1635
+ end
1636
+
1637
+ # 该接口用来查询某个导播台的布局列表
1638
+
1639
+ # @param request: Request instance for DescribeCasterLayoutInfos.
1640
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterLayoutInfosRequest`
1641
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterLayoutInfosResponse`
1642
+ def DescribeCasterLayoutInfos(request)
1643
+ body = send_request('DescribeCasterLayoutInfos', request.serialize)
1644
+ response = JSON.parse(body)
1645
+ if response['Response'].key?('Error') == false
1646
+ model = DescribeCasterLayoutInfosResponse.new
1647
+ model.deserialize(response['Response'])
1648
+ model
1649
+ else
1650
+ code = response['Response']['Error']['Code']
1651
+ message = response['Response']['Error']['Message']
1652
+ reqid = response['Response']['RequestId']
1653
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1654
+ end
1655
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1656
+ raise e
1657
+ rescue StandardError => e
1658
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1659
+ end
1660
+
1444
1661
  # 该接口用来查询账号下所有的导播台列表
1445
1662
 
1446
1663
  # @param request: Request instance for DescribeCasterList.
@@ -1465,6 +1682,30 @@ module TencentCloud
1465
1682
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1466
1683
  end
1467
1684
 
1685
+ # 该接口用来查询某个导播台的推流信息列表。
1686
+
1687
+ # @param request: Request instance for DescribeCasterOutputInfos.
1688
+ # @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterOutputInfosRequest`
1689
+ # @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterOutputInfosResponse`
1690
+ def DescribeCasterOutputInfos(request)
1691
+ body = send_request('DescribeCasterOutputInfos', request.serialize)
1692
+ response = JSON.parse(body)
1693
+ if response['Response'].key?('Error') == false
1694
+ model = DescribeCasterOutputInfosResponse.new
1695
+ model.deserialize(response['Response'])
1696
+ model
1697
+ else
1698
+ code = response['Response']['Error']['Code']
1699
+ message = response['Response']['Error']['Message']
1700
+ reqid = response['Response']['RequestId']
1701
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1702
+ end
1703
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1704
+ raise e
1705
+ rescue StandardError => e
1706
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1707
+ end
1708
+
1468
1709
  # 该接口用来获取导播台视频流的播放url,用来在页面上拉流展示。
1469
1710
 
1470
1711
  # @param request: Request instance for DescribeCasterPlayUrl.
@@ -3509,6 +3750,80 @@ module TencentCloud
3509
3750
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3510
3751
  end
3511
3752
 
3753
+ # 该接口用来修改已经设置过的输入源信息,如源地址,源类型等。
3754
+ # 设置前,需保证待修改的输入源已经存在。若不存在,需使用AddCasterInputInfo接口。
3755
+
3756
+ # @param request: Request instance for ModifyCasterInputInfo.
3757
+ # @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterInputInfoRequest`
3758
+ # @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterInputInfoResponse`
3759
+ def ModifyCasterInputInfo(request)
3760
+ body = send_request('ModifyCasterInputInfo', request.serialize)
3761
+ response = JSON.parse(body)
3762
+ if response['Response'].key?('Error') == false
3763
+ model = ModifyCasterInputInfoResponse.new
3764
+ model.deserialize(response['Response'])
3765
+ model
3766
+ else
3767
+ code = response['Response']['Error']['Code']
3768
+ message = response['Response']['Error']['Message']
3769
+ reqid = response['Response']['RequestId']
3770
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3771
+ end
3772
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3773
+ raise e
3774
+ rescue StandardError => e
3775
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3776
+ end
3777
+
3778
+ # 该接口用来修改布局参数
3779
+
3780
+ # @param request: Request instance for ModifyCasterLayoutInfo.
3781
+ # @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterLayoutInfoRequest`
3782
+ # @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterLayoutInfoResponse`
3783
+ def ModifyCasterLayoutInfo(request)
3784
+ body = send_request('ModifyCasterLayoutInfo', request.serialize)
3785
+ response = JSON.parse(body)
3786
+ if response['Response'].key?('Error') == false
3787
+ model = ModifyCasterLayoutInfoResponse.new
3788
+ model.deserialize(response['Response'])
3789
+ model
3790
+ else
3791
+ code = response['Response']['Error']['Code']
3792
+ message = response['Response']['Error']['Message']
3793
+ reqid = response['Response']['RequestId']
3794
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3795
+ end
3796
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3797
+ raise e
3798
+ rescue StandardError => e
3799
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3800
+ end
3801
+
3802
+ # 该接口用来修改导播台的推流信息。
3803
+ # 注:只有在主监启动前设置才生效,主监启动后设置,下次推流生效。
3804
+
3805
+ # @param request: Request instance for ModifyCasterOutputInfo.
3806
+ # @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterOutputInfoRequest`
3807
+ # @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterOutputInfoResponse`
3808
+ def ModifyCasterOutputInfo(request)
3809
+ body = send_request('ModifyCasterOutputInfo', request.serialize)
3810
+ response = JSON.parse(body)
3811
+ if response['Response'].key?('Error') == false
3812
+ model = ModifyCasterOutputInfoResponse.new
3813
+ model.deserialize(response['Response'])
3814
+ model
3815
+ else
3816
+ code = response['Response']['Error']['Code']
3817
+ message = response['Response']['Error']['Message']
3818
+ reqid = response['Response']['RequestId']
3819
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3820
+ end
3821
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3822
+ raise e
3823
+ rescue StandardError => e
3824
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3825
+ end
3826
+
3512
3827
  # 修改回调模板。
3513
3828
 
3514
3829
  # @param request: Request instance for ModifyLiveCallbackTemplate.
@@ -17,6 +17,135 @@
17
17
  module TencentCloud
18
18
  module Live
19
19
  module V20180801
20
+ # AddCasterInputInfo请求参数结构体
21
+ class AddCasterInputInfoRequest < TencentCloud::Common::AbstractModel
22
+ # @param CasterId: 导播台ID。
23
+ # @type CasterId: Integer
24
+ # @param InputInfo: 导播台输入源详细信息。
25
+ # @type InputInfo: :class:`Tencentcloud::Live.v20180801.models.CasterInputInfo`
26
+
27
+ attr_accessor :CasterId, :InputInfo
28
+
29
+ def initialize(casterid=nil, inputinfo=nil)
30
+ @CasterId = casterid
31
+ @InputInfo = inputinfo
32
+ end
33
+
34
+ def deserialize(params)
35
+ @CasterId = params['CasterId']
36
+ unless params['InputInfo'].nil?
37
+ @InputInfo = CasterInputInfo.new
38
+ @InputInfo.deserialize(params['InputInfo'])
39
+ end
40
+ end
41
+ end
42
+
43
+ # AddCasterInputInfo返回参数结构体
44
+ class AddCasterInputInfoResponse < TencentCloud::Common::AbstractModel
45
+ # @param InputPlayUrl: rtmp协议输入源播放地址。
46
+ # 注:仅可作为预览使用,不可分发。
47
+ # @type InputPlayUrl: String
48
+ # @param InputWebRTCPlayUrl: webrtc协议播放地址。
49
+ # 注:
50
+ # 1. 需配合使用腾讯云快直播播放SDK使用才可正常播放。
51
+ # 2. 仅作为预览使用,不可分发。
52
+ # @type InputWebRTCPlayUrl: String
53
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
54
+ # @type RequestId: String
55
+
56
+ attr_accessor :InputPlayUrl, :InputWebRTCPlayUrl, :RequestId
57
+
58
+ def initialize(inputplayurl=nil, inputwebrtcplayurl=nil, requestid=nil)
59
+ @InputPlayUrl = inputplayurl
60
+ @InputWebRTCPlayUrl = inputwebrtcplayurl
61
+ @RequestId = requestid
62
+ end
63
+
64
+ def deserialize(params)
65
+ @InputPlayUrl = params['InputPlayUrl']
66
+ @InputWebRTCPlayUrl = params['InputWebRTCPlayUrl']
67
+ @RequestId = params['RequestId']
68
+ end
69
+ end
70
+
71
+ # AddCasterLayoutInfo请求参数结构体
72
+ class AddCasterLayoutInfoRequest < TencentCloud::Common::AbstractModel
73
+ # @param CasterId: 导播台ID
74
+ # @type CasterId: Integer
75
+ # @param LayoutInfo: 导播台布局参数信息。
76
+ # @type LayoutInfo: :class:`Tencentcloud::Live.v20180801.models.CasterLayoutInfo`
77
+
78
+ attr_accessor :CasterId, :LayoutInfo
79
+
80
+ def initialize(casterid=nil, layoutinfo=nil)
81
+ @CasterId = casterid
82
+ @LayoutInfo = layoutinfo
83
+ end
84
+
85
+ def deserialize(params)
86
+ @CasterId = params['CasterId']
87
+ unless params['LayoutInfo'].nil?
88
+ @LayoutInfo = CasterLayoutInfo.new
89
+ @LayoutInfo.deserialize(params['LayoutInfo'])
90
+ end
91
+ end
92
+ end
93
+
94
+ # AddCasterLayoutInfo返回参数结构体
95
+ class AddCasterLayoutInfoResponse < TencentCloud::Common::AbstractModel
96
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
97
+ # @type RequestId: String
98
+
99
+ attr_accessor :RequestId
100
+
101
+ def initialize(requestid=nil)
102
+ @RequestId = requestid
103
+ end
104
+
105
+ def deserialize(params)
106
+ @RequestId = params['RequestId']
107
+ end
108
+ end
109
+
110
+ # AddCasterOutputInfo请求参数结构体
111
+ class AddCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
112
+ # @param CasterId: 导播台ID
113
+ # @type CasterId: Integer
114
+ # @param OutputInfo: 导播台推流参数信息。
115
+ # @type OutputInfo: :class:`Tencentcloud::Live.v20180801.models.CasterOutputInfo`
116
+
117
+ attr_accessor :CasterId, :OutputInfo
118
+
119
+ def initialize(casterid=nil, outputinfo=nil)
120
+ @CasterId = casterid
121
+ @OutputInfo = outputinfo
122
+ end
123
+
124
+ def deserialize(params)
125
+ @CasterId = params['CasterId']
126
+ unless params['OutputInfo'].nil?
127
+ @OutputInfo = CasterOutputInfo.new
128
+ @OutputInfo.deserialize(params['OutputInfo'])
129
+ end
130
+ end
131
+ end
132
+
133
+ # AddCasterOutputInfo返回参数结构体
134
+ class AddCasterOutputInfoResponse < TencentCloud::Common::AbstractModel
135
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
136
+ # @type RequestId: String
137
+
138
+ attr_accessor :RequestId
139
+
140
+ def initialize(requestid=nil)
141
+ @RequestId = requestid
142
+ end
143
+
144
+ def deserialize(params)
145
+ @RequestId = params['RequestId']
146
+ end
147
+ end
148
+
20
149
  # AddDelayLiveStream请求参数结构体
21
150
  class AddDelayLiveStreamRequest < TencentCloud::Common::AbstractModel
22
151
  # @param AppName: 推流路径,与推流和播放地址中的 AppName 保持一致,默认为 live。
@@ -879,6 +1008,244 @@ module TencentCloud
879
1008
  end
880
1009
  end
881
1010
 
1011
+ # 导播台输入信息参数
1012
+ class CasterInputInfo < TencentCloud::Common::AbstractModel
1013
+ # @param InputIndex: 输入源Index。
1014
+ # 范围[1, 20]
1015
+ # @type InputIndex: Integer
1016
+ # @param InputType: 输入源类型。
1017
+ # 范围[0,1,2,3,4]。
1018
+ # 0:推流地址。
1019
+ # 1:点播文件地址。
1020
+ # 2:直播拉流地址。
1021
+ # 3:图片地址。
1022
+ # 4:webrtc协议推流地址。
1023
+ # @type InputType: Integer
1024
+ # @param InputUrl: 输入源的源地址。
1025
+ # 最大允许长度512。
1026
+ # 当InputType为0(推流地址),2(直播拉流地址),3(图片地址),4(webrtc推流地址)这几种类型时,URL需填入该字段。
1027
+
1028
+ # 注意:此字段可能返回 null,表示取不到有效值。
1029
+ # @type InputUrl: String
1030
+ # @param Description: 输入源描述。
1031
+ # 最大允许长度256字符。
1032
+ # 注意:此字段可能返回 null,表示取不到有效值。
1033
+ # @type Description: String
1034
+ # @param InputUrls: 点播地址列表。仅当input type为1(点播地址)时,将一个或多个点播地址,填入该字段。
1035
+ # 单个地址最大允许长度512字符。
1036
+ # 最多允许同时填入5个地址。
1037
+ # 注:此时需保持InputUrl字段为空。
1038
+ # 注意:此字段可能返回 null,表示取不到有效值。
1039
+ # @type InputUrls: Array
1040
+ # @param LoopEnable: 是否启用点播无限循环播放。
1041
+ # 注:当前该字段未生效,默认为True。
1042
+ # 注意:此字段可能返回 null,表示取不到有效值。
1043
+ # @type LoopEnable: Boolean
1044
+ # @param LoopNumber: 点播循环次数。
1045
+ # 允许值-1或正整数。
1046
+ # 当值为-1时,表示无限循环。
1047
+ # 当值为其他正整数时,表示循环对应次数。
1048
+ # 注:该字段暂未生效。
1049
+ # 注意:此字段可能返回 null,表示取不到有效值。
1050
+ # @type LoopNumber: Integer
1051
+ # @param PullPushEnable: 是否启用拉取到导播台。
1052
+ # 注:该字段默认强制为true。
1053
+ # 注意:此字段可能返回 null,表示取不到有效值。
1054
+ # @type PullPushEnable: Boolean
1055
+ # @param Volume: 输入源音量百分比。
1056
+ # 默认为100。表示音量为原始大小。
1057
+ # 允许值[0,200]。
1058
+ # 注意:此字段可能返回 null,表示取不到有效值。
1059
+ # @type Volume: Integer
1060
+
1061
+ attr_accessor :InputIndex, :InputType, :InputUrl, :Description, :InputUrls, :LoopEnable, :LoopNumber, :PullPushEnable, :Volume
1062
+
1063
+ def initialize(inputindex=nil, inputtype=nil, inputurl=nil, description=nil, inputurls=nil, loopenable=nil, loopnumber=nil, pullpushenable=nil, volume=nil)
1064
+ @InputIndex = inputindex
1065
+ @InputType = inputtype
1066
+ @InputUrl = inputurl
1067
+ @Description = description
1068
+ @InputUrls = inputurls
1069
+ @LoopEnable = loopenable
1070
+ @LoopNumber = loopnumber
1071
+ @PullPushEnable = pullpushenable
1072
+ @Volume = volume
1073
+ end
1074
+
1075
+ def deserialize(params)
1076
+ @InputIndex = params['InputIndex']
1077
+ @InputType = params['InputType']
1078
+ @InputUrl = params['InputUrl']
1079
+ @Description = params['Description']
1080
+ @InputUrls = params['InputUrls']
1081
+ @LoopEnable = params['LoopEnable']
1082
+ @LoopNumber = params['LoopNumber']
1083
+ @PullPushEnable = params['PullPushEnable']
1084
+ @Volume = params['Volume']
1085
+ end
1086
+ end
1087
+
1088
+ # 导播台布局参数。
1089
+ class CasterLayoutInfo < TencentCloud::Common::AbstractModel
1090
+ # @param LayoutIndex: 布局Index。
1091
+ # @type LayoutIndex: Integer
1092
+ # @param LayoutTemplateId: 布局模板Id。
1093
+ # 有效值[1,20,21,31,32,41]
1094
+ # 当使用布局模版时,无需LayoutParams参数,导播台将使用模版布局参数。
1095
+ # @type LayoutTemplateId: Integer
1096
+ # @param InputIndexList: 布局绑定的输入列表。按布局LayerId从小到大,按顺序排列。
1097
+ # 已有两个画面的布局为例,输入1对应LayerId为1,输入2对应的LayerId为2,该字段应该填入"1|2"。
1098
+ # @type InputIndexList: String
1099
+ # @param LayoutParams: 详细的布局参数列表。
1100
+ # @type LayoutParams: Array
1101
+ # @param LayoutWidth: 布局输出的宽度,单位为像素。
1102
+ # 默认为1280像素。
1103
+ # 注:该值仅在画中画布局,且未设置PgmWidth时生效。
1104
+ # 注意:此字段可能返回 null,表示取不到有效值。
1105
+ # @type LayoutWidth: Integer
1106
+ # @param LayoutHeight: 布局输出的高度,单位为像素。
1107
+ # 注:该参数仅在画中画布局,且未设置PgmHeight时生效。
1108
+ # 注意:此字段可能返回 null,表示取不到有效值。
1109
+ # @type LayoutHeight: Integer
1110
+
1111
+ attr_accessor :LayoutIndex, :LayoutTemplateId, :InputIndexList, :LayoutParams, :LayoutWidth, :LayoutHeight
1112
+
1113
+ def initialize(layoutindex=nil, layouttemplateid=nil, inputindexlist=nil, layoutparams=nil, layoutwidth=nil, layoutheight=nil)
1114
+ @LayoutIndex = layoutindex
1115
+ @LayoutTemplateId = layouttemplateid
1116
+ @InputIndexList = inputindexlist
1117
+ @LayoutParams = layoutparams
1118
+ @LayoutWidth = layoutwidth
1119
+ @LayoutHeight = layoutheight
1120
+ end
1121
+
1122
+ def deserialize(params)
1123
+ @LayoutIndex = params['LayoutIndex']
1124
+ @LayoutTemplateId = params['LayoutTemplateId']
1125
+ @InputIndexList = params['InputIndexList']
1126
+ unless params['LayoutParams'].nil?
1127
+ @LayoutParams = []
1128
+ params['LayoutParams'].each do |i|
1129
+ casterlayoutparam_tmp = CasterLayoutParam.new
1130
+ casterlayoutparam_tmp.deserialize(i)
1131
+ @LayoutParams << casterlayoutparam_tmp
1132
+ end
1133
+ end
1134
+ @LayoutWidth = params['LayoutWidth']
1135
+ @LayoutHeight = params['LayoutHeight']
1136
+ end
1137
+ end
1138
+
1139
+ # 导播台布局详细参数。
1140
+ class CasterLayoutParam < TencentCloud::Common::AbstractModel
1141
+ # @param LayerId: 布局层ID。
1142
+ # 在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
1143
+ # @type LayerId: Integer
1144
+ # @param LayerWidth: 布局层宽度。
1145
+ # 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
1146
+ # 当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
1147
+ # @type LayerWidth: Float
1148
+ # @param LayerHeight: 布局层高度.
1149
+ # 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
1150
+ # 当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
1151
+ # @type LayerHeight: Float
1152
+ # @param LayerLocationX: 布局层位置x坐标。
1153
+ # 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
1154
+ # 当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上x坐标所占的比例值。
1155
+ # @type LayerLocationX: Float
1156
+ # @param LayerLocationY: 布局层位置Y坐标。
1157
+ # 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
1158
+ # 当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面Y坐标上所占的比例值。
1159
+ # @type LayerLocationY: Float
1160
+ # @param UsePortraitSegment: 是否启用抠图。
1161
+ # 注意:此字段可能返回 null,表示取不到有效值。
1162
+ # @type UsePortraitSegment: Boolean
1163
+
1164
+ attr_accessor :LayerId, :LayerWidth, :LayerHeight, :LayerLocationX, :LayerLocationY, :UsePortraitSegment
1165
+
1166
+ def initialize(layerid=nil, layerwidth=nil, layerheight=nil, layerlocationx=nil, layerlocationy=nil, useportraitsegment=nil)
1167
+ @LayerId = layerid
1168
+ @LayerWidth = layerwidth
1169
+ @LayerHeight = layerheight
1170
+ @LayerLocationX = layerlocationx
1171
+ @LayerLocationY = layerlocationy
1172
+ @UsePortraitSegment = useportraitsegment
1173
+ end
1174
+
1175
+ def deserialize(params)
1176
+ @LayerId = params['LayerId']
1177
+ @LayerWidth = params['LayerWidth']
1178
+ @LayerHeight = params['LayerHeight']
1179
+ @LayerLocationX = params['LayerLocationX']
1180
+ @LayerLocationY = params['LayerLocationY']
1181
+ @UsePortraitSegment = params['UsePortraitSegment']
1182
+ end
1183
+ end
1184
+
1185
+ # 导播台推流信息。
1186
+ # 当导播台主监启动后,系统将自动将主监推流到腾讯云和其他第三方平台。
1187
+ class CasterOutputInfo < TencentCloud::Common::AbstractModel
1188
+ # @param OutputIndex: 推流信息Index。
1189
+ # 当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。
1190
+ # 范围[0,10]。
1191
+ # @type OutputIndex: Integer
1192
+ # @param OutputUrl: rtmp协议推流地址。
1193
+ # 最大允许长度512字符。
1194
+ # @type OutputUrl: String
1195
+ # @param Description: 描述信息。
1196
+ # 注意:此字段可能返回 null,表示取不到有效值。
1197
+ # @type Description: String
1198
+ # @param OutputStreamId: 推流到腾讯云直播源站时,使用的流ID。
1199
+ # 仅当OutputType为1时生效。
1200
+ # 最大允许128字符。
1201
+ # 注意:此字段可能返回 null,表示取不到有效值。
1202
+ # @type OutputStreamId: String
1203
+ # @param OutputType: 推流类型。
1204
+ # 范围[1,2]
1205
+ # 1. 推送到腾讯云直播源站。
1206
+ # 2. 推送到第三方源站。
1207
+ # @type OutputType: Integer
1208
+ # @param OutputDomainName: 推到腾讯云直播源站时,使用的域名。
1209
+ # 最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。
1210
+ # 仅在OutputType为1时生效。
1211
+ # 注意:此字段可能返回 null,表示取不到有效值。
1212
+ # @type OutputDomainName: String
1213
+ # @param OutputAppName: 推到腾讯云直播源站时,使用的AppName。
1214
+ # 最大允许64字符。
1215
+ # 仅在OutputType为1时生效。
1216
+ # 注意:此字段可能返回 null,表示取不到有效值。
1217
+ # @type OutputAppName: String
1218
+ # @param OutputParam: 推到腾讯云直播源站时需要添加的推流参数。
1219
+ # 最大允许长度256字符。
1220
+ # 仅在OutputType为1时生效。
1221
+ # 注意:此字段可能返回 null,表示取不到有效值。
1222
+ # @type OutputParam: String
1223
+
1224
+ attr_accessor :OutputIndex, :OutputUrl, :Description, :OutputStreamId, :OutputType, :OutputDomainName, :OutputAppName, :OutputParam
1225
+
1226
+ def initialize(outputindex=nil, outputurl=nil, description=nil, outputstreamid=nil, outputtype=nil, outputdomainname=nil, outputappname=nil, outputparam=nil)
1227
+ @OutputIndex = outputindex
1228
+ @OutputUrl = outputurl
1229
+ @Description = description
1230
+ @OutputStreamId = outputstreamid
1231
+ @OutputType = outputtype
1232
+ @OutputDomainName = outputdomainname
1233
+ @OutputAppName = outputappname
1234
+ @OutputParam = outputparam
1235
+ end
1236
+
1237
+ def deserialize(params)
1238
+ @OutputIndex = params['OutputIndex']
1239
+ @OutputUrl = params['OutputUrl']
1240
+ @Description = params['Description']
1241
+ @OutputStreamId = params['OutputStreamId']
1242
+ @OutputType = params['OutputType']
1243
+ @OutputDomainName = params['OutputDomainName']
1244
+ @OutputAppName = params['OutputAppName']
1245
+ @OutputParam = params['OutputParam']
1246
+ end
1247
+ end
1248
+
882
1249
  # 下行播放统计指标
883
1250
  class CdnPlayStatData < TencentCloud::Common::AbstractModel
884
1251
  # @param Time: 时间点,
@@ -1299,6 +1666,53 @@ module TencentCloud
1299
1666
  end
1300
1667
  end
1301
1668
 
1669
+ # CreateCasterInputPushUrl请求参数结构体
1670
+ class CreateCasterInputPushUrlRequest < TencentCloud::Common::AbstractModel
1671
+ # @param CasterId: 导播台ID
1672
+ # @type CasterId: Integer
1673
+ # @param InputIndex: 请求生成推流地址的输入Index。
1674
+ # 允许范围[1,20]。
1675
+ # @type InputIndex: Integer
1676
+ # @param Protocol: 生成推流地址协议。
1677
+ # 范围[rtmp,webrtc]。
1678
+ # 注:获取webrtc推流地址时,需配合腾讯云快直播推流sdk才可成功推流。
1679
+ # @type Protocol: String
1680
+
1681
+ attr_accessor :CasterId, :InputIndex, :Protocol
1682
+
1683
+ def initialize(casterid=nil, inputindex=nil, protocol=nil)
1684
+ @CasterId = casterid
1685
+ @InputIndex = inputindex
1686
+ @Protocol = protocol
1687
+ end
1688
+
1689
+ def deserialize(params)
1690
+ @CasterId = params['CasterId']
1691
+ @InputIndex = params['InputIndex']
1692
+ @Protocol = params['Protocol']
1693
+ end
1694
+ end
1695
+
1696
+ # CreateCasterInputPushUrl返回参数结构体
1697
+ class CreateCasterInputPushUrlResponse < TencentCloud::Common::AbstractModel
1698
+ # @param PushUrl: 生成可使用的推流地址。
1699
+ # @type PushUrl: String
1700
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1701
+ # @type RequestId: String
1702
+
1703
+ attr_accessor :PushUrl, :RequestId
1704
+
1705
+ def initialize(pushurl=nil, requestid=nil)
1706
+ @PushUrl = pushurl
1707
+ @RequestId = requestid
1708
+ end
1709
+
1710
+ def deserialize(params)
1711
+ @PushUrl = params['PushUrl']
1712
+ @RequestId = params['RequestId']
1713
+ end
1714
+ end
1715
+
1302
1716
  # CreateCaster请求参数结构体
1303
1717
  class CreateCasterRequest < TencentCloud::Common::AbstractModel
1304
1718
  # @param CasterName: 导播台名称
@@ -3044,6 +3458,118 @@ module TencentCloud
3044
3458
  end
3045
3459
  end
3046
3460
 
3461
+ # DeleteCasterInputInfo请求参数结构体
3462
+ class DeleteCasterInputInfoRequest < TencentCloud::Common::AbstractModel
3463
+ # @param CasterId: 导播台ID
3464
+ # @type CasterId: Integer
3465
+ # @param InputIndex: 导播台输入Index。
3466
+ # 范围[0,20]
3467
+ # 注:该Index对应的输入源需存在。
3468
+ # @type InputIndex: Integer
3469
+
3470
+ attr_accessor :CasterId, :InputIndex
3471
+
3472
+ def initialize(casterid=nil, inputindex=nil)
3473
+ @CasterId = casterid
3474
+ @InputIndex = inputindex
3475
+ end
3476
+
3477
+ def deserialize(params)
3478
+ @CasterId = params['CasterId']
3479
+ @InputIndex = params['InputIndex']
3480
+ end
3481
+ end
3482
+
3483
+ # DeleteCasterInputInfo返回参数结构体
3484
+ class DeleteCasterInputInfoResponse < TencentCloud::Common::AbstractModel
3485
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3486
+ # @type RequestId: String
3487
+
3488
+ attr_accessor :RequestId
3489
+
3490
+ def initialize(requestid=nil)
3491
+ @RequestId = requestid
3492
+ end
3493
+
3494
+ def deserialize(params)
3495
+ @RequestId = params['RequestId']
3496
+ end
3497
+ end
3498
+
3499
+ # DeleteCasterLayoutInfo请求参数结构体
3500
+ class DeleteCasterLayoutInfoRequest < TencentCloud::Common::AbstractModel
3501
+ # @param CasterId: 导播台ID。
3502
+ # @type CasterId: Integer
3503
+ # @param LayoutIndex: 要删除的布局Index。
3504
+ # 注:待删除的Index对应的布局需存在。
3505
+ # @type LayoutIndex: Integer
3506
+
3507
+ attr_accessor :CasterId, :LayoutIndex
3508
+
3509
+ def initialize(casterid=nil, layoutindex=nil)
3510
+ @CasterId = casterid
3511
+ @LayoutIndex = layoutindex
3512
+ end
3513
+
3514
+ def deserialize(params)
3515
+ @CasterId = params['CasterId']
3516
+ @LayoutIndex = params['LayoutIndex']
3517
+ end
3518
+ end
3519
+
3520
+ # DeleteCasterLayoutInfo返回参数结构体
3521
+ class DeleteCasterLayoutInfoResponse < TencentCloud::Common::AbstractModel
3522
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3523
+ # @type RequestId: String
3524
+
3525
+ attr_accessor :RequestId
3526
+
3527
+ def initialize(requestid=nil)
3528
+ @RequestId = requestid
3529
+ end
3530
+
3531
+ def deserialize(params)
3532
+ @RequestId = params['RequestId']
3533
+ end
3534
+ end
3535
+
3536
+ # DeleteCasterOutputInfo请求参数结构体
3537
+ class DeleteCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
3538
+ # @param CasterId: 导播台ID。
3539
+ # @type CasterId: Integer
3540
+ # @param OutputIndex: 待删除的推流信息Index。
3541
+ # 注:删除时,该Index对应的配置需要存在。
3542
+ # @type OutputIndex: Integer
3543
+
3544
+ attr_accessor :CasterId, :OutputIndex
3545
+
3546
+ def initialize(casterid=nil, outputindex=nil)
3547
+ @CasterId = casterid
3548
+ @OutputIndex = outputindex
3549
+ end
3550
+
3551
+ def deserialize(params)
3552
+ @CasterId = params['CasterId']
3553
+ @OutputIndex = params['OutputIndex']
3554
+ end
3555
+ end
3556
+
3557
+ # DeleteCasterOutputInfo返回参数结构体
3558
+ class DeleteCasterOutputInfoResponse < TencentCloud::Common::AbstractModel
3559
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3560
+ # @type RequestId: String
3561
+
3562
+ attr_accessor :RequestId
3563
+
3564
+ def initialize(requestid=nil)
3565
+ @RequestId = requestid
3566
+ end
3567
+
3568
+ def deserialize(params)
3569
+ @RequestId = params['RequestId']
3570
+ end
3571
+ end
3572
+
3047
3573
  # DeleteCaster请求参数结构体
3048
3574
  class DeleteCasterRequest < TencentCloud::Common::AbstractModel
3049
3575
  # @param CasterId: 待删除的导播台ID
@@ -4257,6 +4783,92 @@ module TencentCloud
4257
4783
  end
4258
4784
  end
4259
4785
 
4786
+ # DescribeCasterInputInfos请求参数结构体
4787
+ class DescribeCasterInputInfosRequest < TencentCloud::Common::AbstractModel
4788
+ # @param CasterId: 导播台ID
4789
+ # @type CasterId: Integer
4790
+
4791
+ attr_accessor :CasterId
4792
+
4793
+ def initialize(casterid=nil)
4794
+ @CasterId = casterid
4795
+ end
4796
+
4797
+ def deserialize(params)
4798
+ @CasterId = params['CasterId']
4799
+ end
4800
+ end
4801
+
4802
+ # DescribeCasterInputInfos返回参数结构体
4803
+ class DescribeCasterInputInfosResponse < TencentCloud::Common::AbstractModel
4804
+ # @param InputInfos: 导播台输入源信息列表。
4805
+ # @type InputInfos: Array
4806
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4807
+ # @type RequestId: String
4808
+
4809
+ attr_accessor :InputInfos, :RequestId
4810
+
4811
+ def initialize(inputinfos=nil, requestid=nil)
4812
+ @InputInfos = inputinfos
4813
+ @RequestId = requestid
4814
+ end
4815
+
4816
+ def deserialize(params)
4817
+ unless params['InputInfos'].nil?
4818
+ @InputInfos = []
4819
+ params['InputInfos'].each do |i|
4820
+ casterinputinfo_tmp = CasterInputInfo.new
4821
+ casterinputinfo_tmp.deserialize(i)
4822
+ @InputInfos << casterinputinfo_tmp
4823
+ end
4824
+ end
4825
+ @RequestId = params['RequestId']
4826
+ end
4827
+ end
4828
+
4829
+ # DescribeCasterLayoutInfos请求参数结构体
4830
+ class DescribeCasterLayoutInfosRequest < TencentCloud::Common::AbstractModel
4831
+ # @param CasterId: 导播台ID。
4832
+ # @type CasterId: Integer
4833
+
4834
+ attr_accessor :CasterId
4835
+
4836
+ def initialize(casterid=nil)
4837
+ @CasterId = casterid
4838
+ end
4839
+
4840
+ def deserialize(params)
4841
+ @CasterId = params['CasterId']
4842
+ end
4843
+ end
4844
+
4845
+ # DescribeCasterLayoutInfos返回参数结构体
4846
+ class DescribeCasterLayoutInfosResponse < TencentCloud::Common::AbstractModel
4847
+ # @param LayoutInfos: 导播台的布局列表。
4848
+ # @type LayoutInfos: Array
4849
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4850
+ # @type RequestId: String
4851
+
4852
+ attr_accessor :LayoutInfos, :RequestId
4853
+
4854
+ def initialize(layoutinfos=nil, requestid=nil)
4855
+ @LayoutInfos = layoutinfos
4856
+ @RequestId = requestid
4857
+ end
4858
+
4859
+ def deserialize(params)
4860
+ unless params['LayoutInfos'].nil?
4861
+ @LayoutInfos = []
4862
+ params['LayoutInfos'].each do |i|
4863
+ casterlayoutinfo_tmp = CasterLayoutInfo.new
4864
+ casterlayoutinfo_tmp.deserialize(i)
4865
+ @LayoutInfos << casterlayoutinfo_tmp
4866
+ end
4867
+ end
4868
+ @RequestId = params['RequestId']
4869
+ end
4870
+ end
4871
+
4260
4872
  # DescribeCasterList请求参数结构体
4261
4873
  class DescribeCasterListRequest < TencentCloud::Common::AbstractModel
4262
4874
 
@@ -4296,6 +4908,50 @@ module TencentCloud
4296
4908
  end
4297
4909
  end
4298
4910
 
4911
+ # DescribeCasterOutputInfos请求参数结构体
4912
+ class DescribeCasterOutputInfosRequest < TencentCloud::Common::AbstractModel
4913
+ # @param CasterId: 导播台ID。
4914
+ # @type CasterId: Integer
4915
+
4916
+ attr_accessor :CasterId
4917
+
4918
+ def initialize(casterid=nil)
4919
+ @CasterId = casterid
4920
+ end
4921
+
4922
+ def deserialize(params)
4923
+ @CasterId = params['CasterId']
4924
+ end
4925
+ end
4926
+
4927
+ # DescribeCasterOutputInfos返回参数结构体
4928
+ class DescribeCasterOutputInfosResponse < TencentCloud::Common::AbstractModel
4929
+ # @param OutputInfos: 导播台的推流信息列表。
4930
+ # 注意:此字段可能返回 null,表示取不到有效值。
4931
+ # @type OutputInfos: Array
4932
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4933
+ # @type RequestId: String
4934
+
4935
+ attr_accessor :OutputInfos, :RequestId
4936
+
4937
+ def initialize(outputinfos=nil, requestid=nil)
4938
+ @OutputInfos = outputinfos
4939
+ @RequestId = requestid
4940
+ end
4941
+
4942
+ def deserialize(params)
4943
+ unless params['OutputInfos'].nil?
4944
+ @OutputInfos = []
4945
+ params['OutputInfos'].each do |i|
4946
+ casteroutputinfo_tmp = CasterOutputInfo.new
4947
+ casteroutputinfo_tmp.deserialize(i)
4948
+ @OutputInfos << casteroutputinfo_tmp
4949
+ end
4950
+ end
4951
+ @RequestId = params['RequestId']
4952
+ end
4953
+ end
4954
+
4299
4955
  # DescribeCasterPlayUrl请求参数结构体
4300
4956
  class DescribeCasterPlayUrlRequest < TencentCloud::Common::AbstractModel
4301
4957
  # @param CasterId: 导播台ID
@@ -9959,6 +10615,134 @@ module TencentCloud
9959
10615
  end
9960
10616
  end
9961
10617
 
10618
+ # ModifyCasterInputInfo请求参数结构体
10619
+ class ModifyCasterInputInfoRequest < TencentCloud::Common::AbstractModel
10620
+ # @param CasterId: 导播台ID。
10621
+ # @type CasterId: Integer
10622
+ # @param InputInfo: 修改的导播台输入源信息
10623
+ # @type InputInfo: :class:`Tencentcloud::Live.v20180801.models.CasterInputInfo`
10624
+
10625
+ attr_accessor :CasterId, :InputInfo
10626
+
10627
+ def initialize(casterid=nil, inputinfo=nil)
10628
+ @CasterId = casterid
10629
+ @InputInfo = inputinfo
10630
+ end
10631
+
10632
+ def deserialize(params)
10633
+ @CasterId = params['CasterId']
10634
+ unless params['InputInfo'].nil?
10635
+ @InputInfo = CasterInputInfo.new
10636
+ @InputInfo.deserialize(params['InputInfo'])
10637
+ end
10638
+ end
10639
+ end
10640
+
10641
+ # ModifyCasterInputInfo返回参数结构体
10642
+ class ModifyCasterInputInfoResponse < TencentCloud::Common::AbstractModel
10643
+ # @param InputPlayUrl: 修改输入源后的预览地址。
10644
+ # 注:该地址仅作为预览使用,不可分发。
10645
+ # @type InputPlayUrl: String
10646
+ # @param InputWebRTCPlayUrl: 修改后的输入源webrtc预览地址。
10647
+ # 该地址需配合腾讯云快直播播放SDK使用。
10648
+ # 注:该地址仅做预览使用,不可分发。
10649
+ # @type InputWebRTCPlayUrl: String
10650
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10651
+ # @type RequestId: String
10652
+
10653
+ attr_accessor :InputPlayUrl, :InputWebRTCPlayUrl, :RequestId
10654
+
10655
+ def initialize(inputplayurl=nil, inputwebrtcplayurl=nil, requestid=nil)
10656
+ @InputPlayUrl = inputplayurl
10657
+ @InputWebRTCPlayUrl = inputwebrtcplayurl
10658
+ @RequestId = requestid
10659
+ end
10660
+
10661
+ def deserialize(params)
10662
+ @InputPlayUrl = params['InputPlayUrl']
10663
+ @InputWebRTCPlayUrl = params['InputWebRTCPlayUrl']
10664
+ @RequestId = params['RequestId']
10665
+ end
10666
+ end
10667
+
10668
+ # ModifyCasterLayoutInfo请求参数结构体
10669
+ class ModifyCasterLayoutInfoRequest < TencentCloud::Common::AbstractModel
10670
+ # @param CasterId: 导播台ID。
10671
+ # @type CasterId: Integer
10672
+ # @param LayoutInfo: 导播台布局参数信息。
10673
+ # @type LayoutInfo: :class:`Tencentcloud::Live.v20180801.models.CasterLayoutInfo`
10674
+
10675
+ attr_accessor :CasterId, :LayoutInfo
10676
+
10677
+ def initialize(casterid=nil, layoutinfo=nil)
10678
+ @CasterId = casterid
10679
+ @LayoutInfo = layoutinfo
10680
+ end
10681
+
10682
+ def deserialize(params)
10683
+ @CasterId = params['CasterId']
10684
+ unless params['LayoutInfo'].nil?
10685
+ @LayoutInfo = CasterLayoutInfo.new
10686
+ @LayoutInfo.deserialize(params['LayoutInfo'])
10687
+ end
10688
+ end
10689
+ end
10690
+
10691
+ # ModifyCasterLayoutInfo返回参数结构体
10692
+ class ModifyCasterLayoutInfoResponse < TencentCloud::Common::AbstractModel
10693
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10694
+ # @type RequestId: String
10695
+
10696
+ attr_accessor :RequestId
10697
+
10698
+ def initialize(requestid=nil)
10699
+ @RequestId = requestid
10700
+ end
10701
+
10702
+ def deserialize(params)
10703
+ @RequestId = params['RequestId']
10704
+ end
10705
+ end
10706
+
10707
+ # ModifyCasterOutputInfo请求参数结构体
10708
+ class ModifyCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
10709
+ # @param CasterId: 导播台ID。
10710
+ # @type CasterId: Integer
10711
+ # @param OutputInfo: 导播台推流参数信息。
10712
+ # @type OutputInfo: :class:`Tencentcloud::Live.v20180801.models.CasterOutputInfo`
10713
+
10714
+ attr_accessor :CasterId, :OutputInfo
10715
+
10716
+ def initialize(casterid=nil, outputinfo=nil)
10717
+ @CasterId = casterid
10718
+ @OutputInfo = outputinfo
10719
+ end
10720
+
10721
+ def deserialize(params)
10722
+ @CasterId = params['CasterId']
10723
+ unless params['OutputInfo'].nil?
10724
+ @OutputInfo = CasterOutputInfo.new
10725
+ @OutputInfo.deserialize(params['OutputInfo'])
10726
+ end
10727
+ end
10728
+ end
10729
+
10730
+ # ModifyCasterOutputInfo返回参数结构体
10731
+ class ModifyCasterOutputInfoResponse < TencentCloud::Common::AbstractModel
10732
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10733
+ # @type RequestId: String
10734
+
10735
+ attr_accessor :RequestId
10736
+
10737
+ def initialize(requestid=nil)
10738
+ @RequestId = requestid
10739
+ end
10740
+
10741
+ def deserialize(params)
10742
+ @RequestId = params['RequestId']
10743
+ end
10744
+ end
10745
+
9962
10746
  # ModifyCaster请求参数结构体
9963
10747
  class ModifyCasterRequest < TencentCloud::Common::AbstractModel
9964
10748
  # @param CasterId: 导播台ID
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: 3.0.947
4
+ version: 3.0.949
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-24 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common