tencentcloud-sdk-live 3.0.951 → 3.0.953
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 +217 -0
- data/lib/v20180801/models.rb +576 -0
- 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: 47bd1e31efd54c2fc099bc80f7a3c7f2f8445346
|
4
|
+
data.tar.gz: afcc269dbc4275d59622c32016a5166bbc48e8f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c4f89defd7db142788fb14addb81f63e7995db3ca106d0c5900ea220b6ccbd8efa3496521260fb5faba7e0b632d101075372ba34cdd00d14cc5627d5c6fdbc0
|
7
|
+
data.tar.gz: e2bd02aa633a989febddb9db6e2dfb64573591967f2c0d16a34bb918900080b8d18cae8bb2739b0290a03be91bf20c878f1ffff45f8e7b60d1950456362fe87f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.953
|
data/lib/v20180801/client.rb
CHANGED
@@ -77,6 +77,54 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
+
# 该接口用来新增图片水印。
|
81
|
+
|
82
|
+
# @param request: Request instance for AddCasterMarkPicInfo.
|
83
|
+
# @type request: :class:`Tencentcloud::live::V20180801::AddCasterMarkPicInfoRequest`
|
84
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::AddCasterMarkPicInfoResponse`
|
85
|
+
def AddCasterMarkPicInfo(request)
|
86
|
+
body = send_request('AddCasterMarkPicInfo', request.serialize)
|
87
|
+
response = JSON.parse(body)
|
88
|
+
if response['Response'].key?('Error') == false
|
89
|
+
model = AddCasterMarkPicInfoResponse.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
|
+
|
104
|
+
# 为导播台添加文本配置。
|
105
|
+
|
106
|
+
# @param request: Request instance for AddCasterMarkWordInfo.
|
107
|
+
# @type request: :class:`Tencentcloud::live::V20180801::AddCasterMarkWordInfoRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::AddCasterMarkWordInfoResponse`
|
109
|
+
def AddCasterMarkWordInfo(request)
|
110
|
+
body = send_request('AddCasterMarkWordInfo', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = AddCasterMarkWordInfoResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
80
128
|
# 该接口用来新增导播台推流信息。导播台主监启动后,将会将主监画面推向该接口设置的地址。
|
81
129
|
|
82
130
|
# @param request: Request instance for AddCasterOutputInfo.
|
@@ -976,6 +1024,54 @@ module TencentCloud
|
|
976
1024
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
977
1025
|
end
|
978
1026
|
|
1027
|
+
# 该接口用来删除导播台某个Index对应的水印。
|
1028
|
+
|
1029
|
+
# @param request: Request instance for DeleteCasterMarkPicInfo.
|
1030
|
+
# @type request: :class:`Tencentcloud::live::V20180801::DeleteCasterMarkPicInfoRequest`
|
1031
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::DeleteCasterMarkPicInfoResponse`
|
1032
|
+
def DeleteCasterMarkPicInfo(request)
|
1033
|
+
body = send_request('DeleteCasterMarkPicInfo', request.serialize)
|
1034
|
+
response = JSON.parse(body)
|
1035
|
+
if response['Response'].key?('Error') == false
|
1036
|
+
model = DeleteCasterMarkPicInfoResponse.new
|
1037
|
+
model.deserialize(response['Response'])
|
1038
|
+
model
|
1039
|
+
else
|
1040
|
+
code = response['Response']['Error']['Code']
|
1041
|
+
message = response['Response']['Error']['Message']
|
1042
|
+
reqid = response['Response']['RequestId']
|
1043
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1044
|
+
end
|
1045
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1046
|
+
raise e
|
1047
|
+
rescue StandardError => e
|
1048
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
# 该接口用来删除导播台的文本配置。
|
1052
|
+
|
1053
|
+
# @param request: Request instance for DeleteCasterMarkWordInfo.
|
1054
|
+
# @type request: :class:`Tencentcloud::live::V20180801::DeleteCasterMarkWordInfoRequest`
|
1055
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::DeleteCasterMarkWordInfoResponse`
|
1056
|
+
def DeleteCasterMarkWordInfo(request)
|
1057
|
+
body = send_request('DeleteCasterMarkWordInfo', request.serialize)
|
1058
|
+
response = JSON.parse(body)
|
1059
|
+
if response['Response'].key?('Error') == false
|
1060
|
+
model = DeleteCasterMarkWordInfoResponse.new
|
1061
|
+
model.deserialize(response['Response'])
|
1062
|
+
model
|
1063
|
+
else
|
1064
|
+
code = response['Response']['Error']['Code']
|
1065
|
+
message = response['Response']['Error']['Message']
|
1066
|
+
reqid = response['Response']['RequestId']
|
1067
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1068
|
+
end
|
1069
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1070
|
+
raise e
|
1071
|
+
rescue StandardError => e
|
1072
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1073
|
+
end
|
1074
|
+
|
979
1075
|
# 该接口用来删除导播台的推流信息。
|
980
1076
|
# 注:若删除推流到腾讯云直播源站配置,即OutputIndex为0,OutputType为1的推流配置,在重新启动主监后,系统会自动重新生成一个推流到腾讯云直播源站配置。
|
981
1077
|
|
@@ -1755,6 +1851,54 @@ module TencentCloud
|
|
1755
1851
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1756
1852
|
end
|
1757
1853
|
|
1854
|
+
# 该接口用来查询某个导播台的水印列表。
|
1855
|
+
|
1856
|
+
# @param request: Request instance for DescribeCasterMarkPicInfos.
|
1857
|
+
# @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterMarkPicInfosRequest`
|
1858
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterMarkPicInfosResponse`
|
1859
|
+
def DescribeCasterMarkPicInfos(request)
|
1860
|
+
body = send_request('DescribeCasterMarkPicInfos', request.serialize)
|
1861
|
+
response = JSON.parse(body)
|
1862
|
+
if response['Response'].key?('Error') == false
|
1863
|
+
model = DescribeCasterMarkPicInfosResponse.new
|
1864
|
+
model.deserialize(response['Response'])
|
1865
|
+
model
|
1866
|
+
else
|
1867
|
+
code = response['Response']['Error']['Code']
|
1868
|
+
message = response['Response']['Error']['Message']
|
1869
|
+
reqid = response['Response']['RequestId']
|
1870
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1871
|
+
end
|
1872
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1873
|
+
raise e
|
1874
|
+
rescue StandardError => e
|
1875
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1876
|
+
end
|
1877
|
+
|
1878
|
+
# 该接口用来查询某个导播台的文本列表。
|
1879
|
+
|
1880
|
+
# @param request: Request instance for DescribeCasterMarkWordInfos.
|
1881
|
+
# @type request: :class:`Tencentcloud::live::V20180801::DescribeCasterMarkWordInfosRequest`
|
1882
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::DescribeCasterMarkWordInfosResponse`
|
1883
|
+
def DescribeCasterMarkWordInfos(request)
|
1884
|
+
body = send_request('DescribeCasterMarkWordInfos', request.serialize)
|
1885
|
+
response = JSON.parse(body)
|
1886
|
+
if response['Response'].key?('Error') == false
|
1887
|
+
model = DescribeCasterMarkWordInfosResponse.new
|
1888
|
+
model.deserialize(response['Response'])
|
1889
|
+
model
|
1890
|
+
else
|
1891
|
+
code = response['Response']['Error']['Code']
|
1892
|
+
message = response['Response']['Error']['Message']
|
1893
|
+
reqid = response['Response']['RequestId']
|
1894
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1895
|
+
end
|
1896
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1897
|
+
raise e
|
1898
|
+
rescue StandardError => e
|
1899
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1900
|
+
end
|
1901
|
+
|
1758
1902
|
# 该接口用来查询某个导播台的推流信息列表。
|
1759
1903
|
|
1760
1904
|
# @param request: Request instance for DescribeCasterOutputInfos.
|
@@ -2264,6 +2408,30 @@ module TencentCloud
|
|
2264
2408
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2265
2409
|
end
|
2266
2410
|
|
2411
|
+
# 查询直播增强用量明细信息。
|
2412
|
+
|
2413
|
+
# @param request: Request instance for DescribeLiveEnhanceInfoList.
|
2414
|
+
# @type request: :class:`Tencentcloud::live::V20180801::DescribeLiveEnhanceInfoListRequest`
|
2415
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::DescribeLiveEnhanceInfoListResponse`
|
2416
|
+
def DescribeLiveEnhanceInfoList(request)
|
2417
|
+
body = send_request('DescribeLiveEnhanceInfoList', request.serialize)
|
2418
|
+
response = JSON.parse(body)
|
2419
|
+
if response['Response'].key?('Error') == false
|
2420
|
+
model = DescribeLiveEnhanceInfoListResponse.new
|
2421
|
+
model.deserialize(response['Response'])
|
2422
|
+
model
|
2423
|
+
else
|
2424
|
+
code = response['Response']['Error']['Code']
|
2425
|
+
message = response['Response']['Error']['Message']
|
2426
|
+
reqid = response['Response']['RequestId']
|
2427
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2428
|
+
end
|
2429
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2430
|
+
raise e
|
2431
|
+
rescue StandardError => e
|
2432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2433
|
+
end
|
2434
|
+
|
2267
2435
|
# 获取禁推流列表。
|
2268
2436
|
|
2269
2437
|
# 注意:该接口仅作为直播辅助查询接口,重要业务场景不可强依赖该接口。
|
@@ -3872,6 +4040,55 @@ module TencentCloud
|
|
3872
4040
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3873
4041
|
end
|
3874
4042
|
|
4043
|
+
# 该接口用来修改导播台水印信息。
|
4044
|
+
# 注意,修改的Index对应的水印需已存在
|
4045
|
+
|
4046
|
+
# @param request: Request instance for ModifyCasterMarkPicInfo.
|
4047
|
+
# @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterMarkPicInfoRequest`
|
4048
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterMarkPicInfoResponse`
|
4049
|
+
def ModifyCasterMarkPicInfo(request)
|
4050
|
+
body = send_request('ModifyCasterMarkPicInfo', request.serialize)
|
4051
|
+
response = JSON.parse(body)
|
4052
|
+
if response['Response'].key?('Error') == false
|
4053
|
+
model = ModifyCasterMarkPicInfoResponse.new
|
4054
|
+
model.deserialize(response['Response'])
|
4055
|
+
model
|
4056
|
+
else
|
4057
|
+
code = response['Response']['Error']['Code']
|
4058
|
+
message = response['Response']['Error']['Message']
|
4059
|
+
reqid = response['Response']['RequestId']
|
4060
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4061
|
+
end
|
4062
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4063
|
+
raise e
|
4064
|
+
rescue StandardError => e
|
4065
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4066
|
+
end
|
4067
|
+
|
4068
|
+
# 该接口用来修改导播台文本配置。
|
4069
|
+
|
4070
|
+
# @param request: Request instance for ModifyCasterMarkWordInfo.
|
4071
|
+
# @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterMarkWordInfoRequest`
|
4072
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterMarkWordInfoResponse`
|
4073
|
+
def ModifyCasterMarkWordInfo(request)
|
4074
|
+
body = send_request('ModifyCasterMarkWordInfo', request.serialize)
|
4075
|
+
response = JSON.parse(body)
|
4076
|
+
if response['Response'].key?('Error') == false
|
4077
|
+
model = ModifyCasterMarkWordInfoResponse.new
|
4078
|
+
model.deserialize(response['Response'])
|
4079
|
+
model
|
4080
|
+
else
|
4081
|
+
code = response['Response']['Error']['Code']
|
4082
|
+
message = response['Response']['Error']['Message']
|
4083
|
+
reqid = response['Response']['RequestId']
|
4084
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4085
|
+
end
|
4086
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4087
|
+
raise e
|
4088
|
+
rescue StandardError => e
|
4089
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4090
|
+
end
|
4091
|
+
|
3875
4092
|
# 该接口用来修改导播台的推流信息。
|
3876
4093
|
# 注:只有在主监启动前设置才生效,主监启动后设置,下次推流生效。
|
3877
4094
|
|
data/lib/v20180801/models.rb
CHANGED
@@ -107,6 +107,84 @@ module TencentCloud
|
|
107
107
|
end
|
108
108
|
end
|
109
109
|
|
110
|
+
# AddCasterMarkPicInfo请求参数结构体
|
111
|
+
class AddCasterMarkPicInfoRequest < TencentCloud::Common::AbstractModel
|
112
|
+
# @param CasterId: 导播台ID
|
113
|
+
# @type CasterId: Integer
|
114
|
+
# @param MarkPicInfo: 图片水印详细参数。
|
115
|
+
# @type MarkPicInfo: :class:`Tencentcloud::Live.v20180801.models.CasterMarkPicInfo`
|
116
|
+
|
117
|
+
attr_accessor :CasterId, :MarkPicInfo
|
118
|
+
|
119
|
+
def initialize(casterid=nil, markpicinfo=nil)
|
120
|
+
@CasterId = casterid
|
121
|
+
@MarkPicInfo = markpicinfo
|
122
|
+
end
|
123
|
+
|
124
|
+
def deserialize(params)
|
125
|
+
@CasterId = params['CasterId']
|
126
|
+
unless params['MarkPicInfo'].nil?
|
127
|
+
@MarkPicInfo = CasterMarkPicInfo.new
|
128
|
+
@MarkPicInfo.deserialize(params['MarkPicInfo'])
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
132
|
+
|
133
|
+
# AddCasterMarkPicInfo返回参数结构体
|
134
|
+
class AddCasterMarkPicInfoResponse < 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
|
+
|
149
|
+
# AddCasterMarkWordInfo请求参数结构体
|
150
|
+
class AddCasterMarkWordInfoRequest < TencentCloud::Common::AbstractModel
|
151
|
+
# @param CasterId: 导播台ID。
|
152
|
+
# @type CasterId: Integer
|
153
|
+
# @param MarkWordInfo: 文本的详细配置。
|
154
|
+
# @type MarkWordInfo: :class:`Tencentcloud::Live.v20180801.models.CasterMarkWordInfo`
|
155
|
+
|
156
|
+
attr_accessor :CasterId, :MarkWordInfo
|
157
|
+
|
158
|
+
def initialize(casterid=nil, markwordinfo=nil)
|
159
|
+
@CasterId = casterid
|
160
|
+
@MarkWordInfo = markwordinfo
|
161
|
+
end
|
162
|
+
|
163
|
+
def deserialize(params)
|
164
|
+
@CasterId = params['CasterId']
|
165
|
+
unless params['MarkWordInfo'].nil?
|
166
|
+
@MarkWordInfo = CasterMarkWordInfo.new
|
167
|
+
@MarkWordInfo.deserialize(params['MarkWordInfo'])
|
168
|
+
end
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
# AddCasterMarkWordInfo返回参数结构体
|
173
|
+
class AddCasterMarkWordInfoResponse < TencentCloud::Common::AbstractModel
|
174
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
175
|
+
# @type RequestId: String
|
176
|
+
|
177
|
+
attr_accessor :RequestId
|
178
|
+
|
179
|
+
def initialize(requestid=nil)
|
180
|
+
@RequestId = requestid
|
181
|
+
end
|
182
|
+
|
183
|
+
def deserialize(params)
|
184
|
+
@RequestId = params['RequestId']
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
110
188
|
# AddCasterOutputInfo请求参数结构体
|
111
189
|
class AddCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
|
112
190
|
# @param CasterId: 导播台ID
|
@@ -1182,6 +1260,157 @@ module TencentCloud
|
|
1182
1260
|
end
|
1183
1261
|
end
|
1184
1262
|
|
1263
|
+
# 导播台水印信息。
|
1264
|
+
class CasterMarkPicInfo < TencentCloud::Common::AbstractModel
|
1265
|
+
# @param MarkPicIndex: 水印图片Index。
|
1266
|
+
# @type MarkPicIndex: Integer
|
1267
|
+
# @param MarkPicId: 注:该字段已废弃。
|
1268
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1269
|
+
# @type MarkPicId: Integer
|
1270
|
+
# @param MarkPicWidth: 水印图片在输出时的宽度。
|
1271
|
+
# 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
1272
|
+
# 当该值为小于1大于0的小数时,单位为百分比,表示水印在最终画面上所占的比例值。
|
1273
|
+
# @type MarkPicWidth: Float
|
1274
|
+
# @param MarkPicHeight: 水印图片在输出时的高度。
|
1275
|
+
# 当该值为大于1的整数值时,单位为像素,允许范围[1,1080]。
|
1276
|
+
# 当该值为小于1大于0的小数时,单位为百分比,表示水印在输出上所占的比例值。
|
1277
|
+
# @type MarkPicHeight: Float
|
1278
|
+
# @param MarkPicLocationX: 水印图片在输出时的X轴坐标。
|
1279
|
+
# 当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
1280
|
+
# 当该值为小于1大于0的小数时,单位为百分比,表示水印在最终画面上x坐标所占的比例值。
|
1281
|
+
# @type MarkPicLocationX: Float
|
1282
|
+
# @param MarkPicLocationY: 水印图片在输出时的Y坐标。
|
1283
|
+
# 当该值为大于1的整数值时,单位为像素,允许范围[1,1080]。
|
1284
|
+
# 当该值为小于1大于0的小数时,单位为百分比,表示水印在最终画面Y坐标上所占的比例值。
|
1285
|
+
# @type MarkPicLocationY: Float
|
1286
|
+
# @param MarkPicUrl: 水印地址。
|
1287
|
+
# 最大长度256字符,且url需以jpg、jpeg、png、bmp、gif后缀结尾。
|
1288
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1289
|
+
# @type MarkPicUrl: String
|
1290
|
+
# @param Description: 水印描述。
|
1291
|
+
# 最大允许长度为256。
|
1292
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1293
|
+
# @type Description: String
|
1294
|
+
# @param IsEqualProportion: 是否启用了等比例缩放。
|
1295
|
+
# 注:该字段仅做状态保存,无实际效果。
|
1296
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1297
|
+
# @type IsEqualProportion: Boolean
|
1298
|
+
|
1299
|
+
attr_accessor :MarkPicIndex, :MarkPicId, :MarkPicWidth, :MarkPicHeight, :MarkPicLocationX, :MarkPicLocationY, :MarkPicUrl, :Description, :IsEqualProportion
|
1300
|
+
|
1301
|
+
def initialize(markpicindex=nil, markpicid=nil, markpicwidth=nil, markpicheight=nil, markpiclocationx=nil, markpiclocationy=nil, markpicurl=nil, description=nil, isequalproportion=nil)
|
1302
|
+
@MarkPicIndex = markpicindex
|
1303
|
+
@MarkPicId = markpicid
|
1304
|
+
@MarkPicWidth = markpicwidth
|
1305
|
+
@MarkPicHeight = markpicheight
|
1306
|
+
@MarkPicLocationX = markpiclocationx
|
1307
|
+
@MarkPicLocationY = markpiclocationy
|
1308
|
+
@MarkPicUrl = markpicurl
|
1309
|
+
@Description = description
|
1310
|
+
@IsEqualProportion = isequalproportion
|
1311
|
+
end
|
1312
|
+
|
1313
|
+
def deserialize(params)
|
1314
|
+
@MarkPicIndex = params['MarkPicIndex']
|
1315
|
+
@MarkPicId = params['MarkPicId']
|
1316
|
+
@MarkPicWidth = params['MarkPicWidth']
|
1317
|
+
@MarkPicHeight = params['MarkPicHeight']
|
1318
|
+
@MarkPicLocationX = params['MarkPicLocationX']
|
1319
|
+
@MarkPicLocationY = params['MarkPicLocationY']
|
1320
|
+
@MarkPicUrl = params['MarkPicUrl']
|
1321
|
+
@Description = params['Description']
|
1322
|
+
@IsEqualProportion = params['IsEqualProportion']
|
1323
|
+
end
|
1324
|
+
end
|
1325
|
+
|
1326
|
+
# 导播台文字水印配置。
|
1327
|
+
class CasterMarkWordInfo < TencentCloud::Common::AbstractModel
|
1328
|
+
# @param MarkWordIndex: 文字水印Index。
|
1329
|
+
# @type MarkWordIndex: Integer
|
1330
|
+
# @param MarkWordText: 文字水印内容。
|
1331
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1332
|
+
# @type MarkWordText: String
|
1333
|
+
# @param MarkWordFontSize: 文字水印的字号。
|
1334
|
+
# 范围[16, 60]
|
1335
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1336
|
+
# @type MarkWordFontSize: Integer
|
1337
|
+
# @param MarkWordFontColor: 文字水印的颜色,值为HEX颜色代码
|
1338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1339
|
+
# @type MarkWordFontColor: String
|
1340
|
+
# @param MarkWordFontType: 文字水印的字体类型。
|
1341
|
+
# 范围[1,2]。
|
1342
|
+
# 1. 宋体
|
1343
|
+
# 2. 黑体
|
1344
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1345
|
+
# @type MarkWordFontType: Integer
|
1346
|
+
# @param MarkWordLocationX: 文字水印的x坐标位置,单位百分比。
|
1347
|
+
# 范围[0.0, 1.0]
|
1348
|
+
|
1349
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1350
|
+
# @type MarkWordLocationX: Float
|
1351
|
+
# @param MarkWordLocationY: 文字水印的Y坐标位置,单位百分比。
|
1352
|
+
# 范围[0.0, 1.0]
|
1353
|
+
|
1354
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1355
|
+
# @type MarkWordLocationY: Float
|
1356
|
+
# @param MarkWordRollEnable: 是否开启文字跑马灯功能。
|
1357
|
+
# 默认为false。
|
1358
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1359
|
+
# @type MarkWordRollEnable: Boolean
|
1360
|
+
# @param MarkWordRollOnceTime: 跑马灯文字显示一遍的时间,单位为秒。
|
1361
|
+
# 默认为5s。
|
1362
|
+
# 范围[5, 600]。
|
1363
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1364
|
+
# @type MarkWordRollOnceTime: Integer
|
1365
|
+
# @param MarkWordRollDirection: 跑马灯文字的方向。
|
1366
|
+
# 默认值为0。
|
1367
|
+
# 范围[0,1]。
|
1368
|
+
# 0 从左到右
|
1369
|
+
# 1 从右到左
|
1370
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1371
|
+
# @type MarkWordRollDirection: Integer
|
1372
|
+
# @param MarkWordRollStartLocationX: 跑马灯文字显示的起始x坐标,单位百分比。
|
1373
|
+
# 范围[0.0, 1.0]
|
1374
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1375
|
+
# @type MarkWordRollStartLocationX: Float
|
1376
|
+
# @param MarkWordRollEndLocationX: 跑马灯文字显示的截止x坐标,单位百分比。
|
1377
|
+
# 范围[0.0, 1.0]
|
1378
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1379
|
+
# @type MarkWordRollEndLocationX: Float
|
1380
|
+
|
1381
|
+
attr_accessor :MarkWordIndex, :MarkWordText, :MarkWordFontSize, :MarkWordFontColor, :MarkWordFontType, :MarkWordLocationX, :MarkWordLocationY, :MarkWordRollEnable, :MarkWordRollOnceTime, :MarkWordRollDirection, :MarkWordRollStartLocationX, :MarkWordRollEndLocationX
|
1382
|
+
|
1383
|
+
def initialize(markwordindex=nil, markwordtext=nil, markwordfontsize=nil, markwordfontcolor=nil, markwordfonttype=nil, markwordlocationx=nil, markwordlocationy=nil, markwordrollenable=nil, markwordrolloncetime=nil, markwordrolldirection=nil, markwordrollstartlocationx=nil, markwordrollendlocationx=nil)
|
1384
|
+
@MarkWordIndex = markwordindex
|
1385
|
+
@MarkWordText = markwordtext
|
1386
|
+
@MarkWordFontSize = markwordfontsize
|
1387
|
+
@MarkWordFontColor = markwordfontcolor
|
1388
|
+
@MarkWordFontType = markwordfonttype
|
1389
|
+
@MarkWordLocationX = markwordlocationx
|
1390
|
+
@MarkWordLocationY = markwordlocationy
|
1391
|
+
@MarkWordRollEnable = markwordrollenable
|
1392
|
+
@MarkWordRollOnceTime = markwordrolloncetime
|
1393
|
+
@MarkWordRollDirection = markwordrolldirection
|
1394
|
+
@MarkWordRollStartLocationX = markwordrollstartlocationx
|
1395
|
+
@MarkWordRollEndLocationX = markwordrollendlocationx
|
1396
|
+
end
|
1397
|
+
|
1398
|
+
def deserialize(params)
|
1399
|
+
@MarkWordIndex = params['MarkWordIndex']
|
1400
|
+
@MarkWordText = params['MarkWordText']
|
1401
|
+
@MarkWordFontSize = params['MarkWordFontSize']
|
1402
|
+
@MarkWordFontColor = params['MarkWordFontColor']
|
1403
|
+
@MarkWordFontType = params['MarkWordFontType']
|
1404
|
+
@MarkWordLocationX = params['MarkWordLocationX']
|
1405
|
+
@MarkWordLocationY = params['MarkWordLocationY']
|
1406
|
+
@MarkWordRollEnable = params['MarkWordRollEnable']
|
1407
|
+
@MarkWordRollOnceTime = params['MarkWordRollOnceTime']
|
1408
|
+
@MarkWordRollDirection = params['MarkWordRollDirection']
|
1409
|
+
@MarkWordRollStartLocationX = params['MarkWordRollStartLocationX']
|
1410
|
+
@MarkWordRollEndLocationX = params['MarkWordRollEndLocationX']
|
1411
|
+
end
|
1412
|
+
end
|
1413
|
+
|
1185
1414
|
# 导播台推流信息。
|
1186
1415
|
# 当导播台主监启动后,系统将自动将主监推流到腾讯云和其他第三方平台。
|
1187
1416
|
class CasterOutputInfo < TencentCloud::Common::AbstractModel
|
@@ -3700,6 +3929,78 @@ module TencentCloud
|
|
3700
3929
|
end
|
3701
3930
|
end
|
3702
3931
|
|
3932
|
+
# DeleteCasterMarkPicInfo请求参数结构体
|
3933
|
+
class DeleteCasterMarkPicInfoRequest < TencentCloud::Common::AbstractModel
|
3934
|
+
# @param CasterId: 导播台ID。
|
3935
|
+
# @type CasterId: Integer
|
3936
|
+
# @param MarkPicIndex: 需要删除的水印Index。
|
3937
|
+
# @type MarkPicIndex: Integer
|
3938
|
+
|
3939
|
+
attr_accessor :CasterId, :MarkPicIndex
|
3940
|
+
|
3941
|
+
def initialize(casterid=nil, markpicindex=nil)
|
3942
|
+
@CasterId = casterid
|
3943
|
+
@MarkPicIndex = markpicindex
|
3944
|
+
end
|
3945
|
+
|
3946
|
+
def deserialize(params)
|
3947
|
+
@CasterId = params['CasterId']
|
3948
|
+
@MarkPicIndex = params['MarkPicIndex']
|
3949
|
+
end
|
3950
|
+
end
|
3951
|
+
|
3952
|
+
# DeleteCasterMarkPicInfo返回参数结构体
|
3953
|
+
class DeleteCasterMarkPicInfoResponse < TencentCloud::Common::AbstractModel
|
3954
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3955
|
+
# @type RequestId: String
|
3956
|
+
|
3957
|
+
attr_accessor :RequestId
|
3958
|
+
|
3959
|
+
def initialize(requestid=nil)
|
3960
|
+
@RequestId = requestid
|
3961
|
+
end
|
3962
|
+
|
3963
|
+
def deserialize(params)
|
3964
|
+
@RequestId = params['RequestId']
|
3965
|
+
end
|
3966
|
+
end
|
3967
|
+
|
3968
|
+
# DeleteCasterMarkWordInfo请求参数结构体
|
3969
|
+
class DeleteCasterMarkWordInfoRequest < TencentCloud::Common::AbstractModel
|
3970
|
+
# @param CasterId: 导播台ID。
|
3971
|
+
# @type CasterId: Integer
|
3972
|
+
# @param MarkWordIndex: 需要删除的文字水印Index。
|
3973
|
+
# @type MarkWordIndex: Integer
|
3974
|
+
|
3975
|
+
attr_accessor :CasterId, :MarkWordIndex
|
3976
|
+
|
3977
|
+
def initialize(casterid=nil, markwordindex=nil)
|
3978
|
+
@CasterId = casterid
|
3979
|
+
@MarkWordIndex = markwordindex
|
3980
|
+
end
|
3981
|
+
|
3982
|
+
def deserialize(params)
|
3983
|
+
@CasterId = params['CasterId']
|
3984
|
+
@MarkWordIndex = params['MarkWordIndex']
|
3985
|
+
end
|
3986
|
+
end
|
3987
|
+
|
3988
|
+
# DeleteCasterMarkWordInfo返回参数结构体
|
3989
|
+
class DeleteCasterMarkWordInfoResponse < TencentCloud::Common::AbstractModel
|
3990
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3991
|
+
# @type RequestId: String
|
3992
|
+
|
3993
|
+
attr_accessor :RequestId
|
3994
|
+
|
3995
|
+
def initialize(requestid=nil)
|
3996
|
+
@RequestId = requestid
|
3997
|
+
end
|
3998
|
+
|
3999
|
+
def deserialize(params)
|
4000
|
+
@RequestId = params['RequestId']
|
4001
|
+
end
|
4002
|
+
end
|
4003
|
+
|
3703
4004
|
# DeleteCasterOutputInfo请求参数结构体
|
3704
4005
|
class DeleteCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
|
3705
4006
|
# @param CasterId: 导播台ID。
|
@@ -5079,6 +5380,94 @@ module TencentCloud
|
|
5079
5380
|
end
|
5080
5381
|
end
|
5081
5382
|
|
5383
|
+
# DescribeCasterMarkPicInfos请求参数结构体
|
5384
|
+
class DescribeCasterMarkPicInfosRequest < TencentCloud::Common::AbstractModel
|
5385
|
+
# @param CasterId: 导播台ID。
|
5386
|
+
# @type CasterId: Integer
|
5387
|
+
|
5388
|
+
attr_accessor :CasterId
|
5389
|
+
|
5390
|
+
def initialize(casterid=nil)
|
5391
|
+
@CasterId = casterid
|
5392
|
+
end
|
5393
|
+
|
5394
|
+
def deserialize(params)
|
5395
|
+
@CasterId = params['CasterId']
|
5396
|
+
end
|
5397
|
+
end
|
5398
|
+
|
5399
|
+
# DescribeCasterMarkPicInfos返回参数结构体
|
5400
|
+
class DescribeCasterMarkPicInfosResponse < TencentCloud::Common::AbstractModel
|
5401
|
+
# @param MarkPicInfos: 导播台的水印信息列表。
|
5402
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5403
|
+
# @type MarkPicInfos: Array
|
5404
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5405
|
+
# @type RequestId: String
|
5406
|
+
|
5407
|
+
attr_accessor :MarkPicInfos, :RequestId
|
5408
|
+
|
5409
|
+
def initialize(markpicinfos=nil, requestid=nil)
|
5410
|
+
@MarkPicInfos = markpicinfos
|
5411
|
+
@RequestId = requestid
|
5412
|
+
end
|
5413
|
+
|
5414
|
+
def deserialize(params)
|
5415
|
+
unless params['MarkPicInfos'].nil?
|
5416
|
+
@MarkPicInfos = []
|
5417
|
+
params['MarkPicInfos'].each do |i|
|
5418
|
+
castermarkpicinfo_tmp = CasterMarkPicInfo.new
|
5419
|
+
castermarkpicinfo_tmp.deserialize(i)
|
5420
|
+
@MarkPicInfos << castermarkpicinfo_tmp
|
5421
|
+
end
|
5422
|
+
end
|
5423
|
+
@RequestId = params['RequestId']
|
5424
|
+
end
|
5425
|
+
end
|
5426
|
+
|
5427
|
+
# DescribeCasterMarkWordInfos请求参数结构体
|
5428
|
+
class DescribeCasterMarkWordInfosRequest < TencentCloud::Common::AbstractModel
|
5429
|
+
# @param CasterId: 导播台ID。
|
5430
|
+
# @type CasterId: Integer
|
5431
|
+
|
5432
|
+
attr_accessor :CasterId
|
5433
|
+
|
5434
|
+
def initialize(casterid=nil)
|
5435
|
+
@CasterId = casterid
|
5436
|
+
end
|
5437
|
+
|
5438
|
+
def deserialize(params)
|
5439
|
+
@CasterId = params['CasterId']
|
5440
|
+
end
|
5441
|
+
end
|
5442
|
+
|
5443
|
+
# DescribeCasterMarkWordInfos返回参数结构体
|
5444
|
+
class DescribeCasterMarkWordInfosResponse < TencentCloud::Common::AbstractModel
|
5445
|
+
# @param MarkWordInfos: 导播台的文本信息列表。
|
5446
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5447
|
+
# @type MarkWordInfos: Array
|
5448
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5449
|
+
# @type RequestId: String
|
5450
|
+
|
5451
|
+
attr_accessor :MarkWordInfos, :RequestId
|
5452
|
+
|
5453
|
+
def initialize(markwordinfos=nil, requestid=nil)
|
5454
|
+
@MarkWordInfos = markwordinfos
|
5455
|
+
@RequestId = requestid
|
5456
|
+
end
|
5457
|
+
|
5458
|
+
def deserialize(params)
|
5459
|
+
unless params['MarkWordInfos'].nil?
|
5460
|
+
@MarkWordInfos = []
|
5461
|
+
params['MarkWordInfos'].each do |i|
|
5462
|
+
castermarkwordinfo_tmp = CasterMarkWordInfo.new
|
5463
|
+
castermarkwordinfo_tmp.deserialize(i)
|
5464
|
+
@MarkWordInfos << castermarkwordinfo_tmp
|
5465
|
+
end
|
5466
|
+
end
|
5467
|
+
@RequestId = params['RequestId']
|
5468
|
+
end
|
5469
|
+
end
|
5470
|
+
|
5082
5471
|
# DescribeCasterOutputInfos请求参数结构体
|
5083
5472
|
class DescribeCasterOutputInfosRequest < TencentCloud::Common::AbstractModel
|
5084
5473
|
# @param CasterId: 导播台ID。
|
@@ -6148,6 +6537,79 @@ module TencentCloud
|
|
6148
6537
|
end
|
6149
6538
|
end
|
6150
6539
|
|
6540
|
+
# DescribeLiveEnhanceInfoList请求参数结构体
|
6541
|
+
class DescribeLiveEnhanceInfoListRequest < TencentCloud::Common::AbstractModel
|
6542
|
+
# @param StartTime: 起始时间点,使用ISO格式时间,
|
6543
|
+
# 例如:2019-01-08T10:00:00Z。
|
6544
|
+
# 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见[ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)。
|
6545
|
+
# 接口支持最近三个月的查询,开始时间和结束时间查询跨度不能超过三十天。
|
6546
|
+
# @type StartTime: String
|
6547
|
+
# @param EndTime: 结束时间点,使用ISO格式时间,
|
6548
|
+
# 例如:2019-01-08T10:00:00Z。
|
6549
|
+
# 注意:北京时间值为 UTC 时间值 + 8 小时,格式按照 ISO 8601 标准表示,详见[ISO 日期格式说明](https://cloud.tencent.com/document/product/267/38543#:~:text=I-,ISO,-%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F)。
|
6550
|
+
# 接口支持最近三个月的查询,开始时间和结束时间查询跨度不能超过三十天。
|
6551
|
+
# @type EndTime: String
|
6552
|
+
# @param Granularity: 查询粒度,支持5,60分钟。
|
6553
|
+
# @type Granularity: Integer
|
6554
|
+
# @param DomainNames: 查询域名,如果不填则默认查全部的数据。
|
6555
|
+
# @type DomainNames: Array
|
6556
|
+
# @param Type: 增强服务类型,如果不填则默认查全部的数据。
|
6557
|
+
# @type Type: Array
|
6558
|
+
# @param Resolution: 分辨率,如果不填则默认查全部的数据。
|
6559
|
+
# @type Resolution: Array
|
6560
|
+
# @param Fps: 帧率,如果不填则默认查全部的数据。
|
6561
|
+
# @type Fps: Array
|
6562
|
+
|
6563
|
+
attr_accessor :StartTime, :EndTime, :Granularity, :DomainNames, :Type, :Resolution, :Fps
|
6564
|
+
|
6565
|
+
def initialize(starttime=nil, endtime=nil, granularity=nil, domainnames=nil, type=nil, resolution=nil, fps=nil)
|
6566
|
+
@StartTime = starttime
|
6567
|
+
@EndTime = endtime
|
6568
|
+
@Granularity = granularity
|
6569
|
+
@DomainNames = domainnames
|
6570
|
+
@Type = type
|
6571
|
+
@Resolution = resolution
|
6572
|
+
@Fps = fps
|
6573
|
+
end
|
6574
|
+
|
6575
|
+
def deserialize(params)
|
6576
|
+
@StartTime = params['StartTime']
|
6577
|
+
@EndTime = params['EndTime']
|
6578
|
+
@Granularity = params['Granularity']
|
6579
|
+
@DomainNames = params['DomainNames']
|
6580
|
+
@Type = params['Type']
|
6581
|
+
@Resolution = params['Resolution']
|
6582
|
+
@Fps = params['Fps']
|
6583
|
+
end
|
6584
|
+
end
|
6585
|
+
|
6586
|
+
# DescribeLiveEnhanceInfoList返回参数结构体
|
6587
|
+
class DescribeLiveEnhanceInfoListResponse < TencentCloud::Common::AbstractModel
|
6588
|
+
# @param DataInfoList: 直播增强统计信息列表。
|
6589
|
+
# @type DataInfoList: Array
|
6590
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6591
|
+
# @type RequestId: String
|
6592
|
+
|
6593
|
+
attr_accessor :DataInfoList, :RequestId
|
6594
|
+
|
6595
|
+
def initialize(datainfolist=nil, requestid=nil)
|
6596
|
+
@DataInfoList = datainfolist
|
6597
|
+
@RequestId = requestid
|
6598
|
+
end
|
6599
|
+
|
6600
|
+
def deserialize(params)
|
6601
|
+
unless params['DataInfoList'].nil?
|
6602
|
+
@DataInfoList = []
|
6603
|
+
params['DataInfoList'].each do |i|
|
6604
|
+
liveenhanceinfo_tmp = LiveEnhanceInfo.new
|
6605
|
+
liveenhanceinfo_tmp.deserialize(i)
|
6606
|
+
@DataInfoList << liveenhanceinfo_tmp
|
6607
|
+
end
|
6608
|
+
end
|
6609
|
+
@RequestId = params['RequestId']
|
6610
|
+
end
|
6611
|
+
end
|
6612
|
+
|
6151
6613
|
# DescribeLiveForbidStreamList请求参数结构体
|
6152
6614
|
class DescribeLiveForbidStreamListRequest < TencentCloud::Common::AbstractModel
|
6153
6615
|
# @param PageNum: 取得第几页,默认1。
|
@@ -10404,6 +10866,42 @@ module TencentCloud
|
|
10404
10866
|
end
|
10405
10867
|
end
|
10406
10868
|
|
10869
|
+
# 直播增强计费信息。
|
10870
|
+
class LiveEnhanceInfo < TencentCloud::Common::AbstractModel
|
10871
|
+
# @param Domain: 域名。
|
10872
|
+
# @type Domain: String
|
10873
|
+
# @param Time: 时间。
|
10874
|
+
# @type Time: String
|
10875
|
+
# @param Duration: 计费时长,单位分钟。
|
10876
|
+
# @type Duration: Integer
|
10877
|
+
# @param Fps: 帧率。
|
10878
|
+
# @type Fps: String
|
10879
|
+
# @param Resolution: 分辨率。
|
10880
|
+
# @type Resolution: String
|
10881
|
+
# @param Type: 增强服务类型。
|
10882
|
+
# @type Type: String
|
10883
|
+
|
10884
|
+
attr_accessor :Domain, :Time, :Duration, :Fps, :Resolution, :Type
|
10885
|
+
|
10886
|
+
def initialize(domain=nil, time=nil, duration=nil, fps=nil, resolution=nil, type=nil)
|
10887
|
+
@Domain = domain
|
10888
|
+
@Time = time
|
10889
|
+
@Duration = duration
|
10890
|
+
@Fps = fps
|
10891
|
+
@Resolution = resolution
|
10892
|
+
@Type = type
|
10893
|
+
end
|
10894
|
+
|
10895
|
+
def deserialize(params)
|
10896
|
+
@Domain = params['Domain']
|
10897
|
+
@Time = params['Time']
|
10898
|
+
@Duration = params['Duration']
|
10899
|
+
@Fps = params['Fps']
|
10900
|
+
@Resolution = params['Resolution']
|
10901
|
+
@Type = params['Type']
|
10902
|
+
end
|
10903
|
+
end
|
10904
|
+
|
10407
10905
|
# 直播包信息。
|
10408
10906
|
class LivePackageInfo < TencentCloud::Common::AbstractModel
|
10409
10907
|
# @param Id: 包 ID。
|
@@ -10875,6 +11373,84 @@ module TencentCloud
|
|
10875
11373
|
end
|
10876
11374
|
end
|
10877
11375
|
|
11376
|
+
# ModifyCasterMarkPicInfo请求参数结构体
|
11377
|
+
class ModifyCasterMarkPicInfoRequest < TencentCloud::Common::AbstractModel
|
11378
|
+
# @param CasterId: 导播台ID。
|
11379
|
+
# @type CasterId: Integer
|
11380
|
+
# @param MarkPicInfo: 新的水印信息。
|
11381
|
+
# @type MarkPicInfo: :class:`Tencentcloud::Live.v20180801.models.CasterMarkPicInfo`
|
11382
|
+
|
11383
|
+
attr_accessor :CasterId, :MarkPicInfo
|
11384
|
+
|
11385
|
+
def initialize(casterid=nil, markpicinfo=nil)
|
11386
|
+
@CasterId = casterid
|
11387
|
+
@MarkPicInfo = markpicinfo
|
11388
|
+
end
|
11389
|
+
|
11390
|
+
def deserialize(params)
|
11391
|
+
@CasterId = params['CasterId']
|
11392
|
+
unless params['MarkPicInfo'].nil?
|
11393
|
+
@MarkPicInfo = CasterMarkPicInfo.new
|
11394
|
+
@MarkPicInfo.deserialize(params['MarkPicInfo'])
|
11395
|
+
end
|
11396
|
+
end
|
11397
|
+
end
|
11398
|
+
|
11399
|
+
# ModifyCasterMarkPicInfo返回参数结构体
|
11400
|
+
class ModifyCasterMarkPicInfoResponse < TencentCloud::Common::AbstractModel
|
11401
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11402
|
+
# @type RequestId: String
|
11403
|
+
|
11404
|
+
attr_accessor :RequestId
|
11405
|
+
|
11406
|
+
def initialize(requestid=nil)
|
11407
|
+
@RequestId = requestid
|
11408
|
+
end
|
11409
|
+
|
11410
|
+
def deserialize(params)
|
11411
|
+
@RequestId = params['RequestId']
|
11412
|
+
end
|
11413
|
+
end
|
11414
|
+
|
11415
|
+
# ModifyCasterMarkWordInfo请求参数结构体
|
11416
|
+
class ModifyCasterMarkWordInfoRequest < TencentCloud::Common::AbstractModel
|
11417
|
+
# @param CasterId: 导播台ID。
|
11418
|
+
# @type CasterId: Integer
|
11419
|
+
# @param MarkWordInfo: 修改的文本配置。
|
11420
|
+
# @type MarkWordInfo: :class:`Tencentcloud::Live.v20180801.models.CasterMarkWordInfo`
|
11421
|
+
|
11422
|
+
attr_accessor :CasterId, :MarkWordInfo
|
11423
|
+
|
11424
|
+
def initialize(casterid=nil, markwordinfo=nil)
|
11425
|
+
@CasterId = casterid
|
11426
|
+
@MarkWordInfo = markwordinfo
|
11427
|
+
end
|
11428
|
+
|
11429
|
+
def deserialize(params)
|
11430
|
+
@CasterId = params['CasterId']
|
11431
|
+
unless params['MarkWordInfo'].nil?
|
11432
|
+
@MarkWordInfo = CasterMarkWordInfo.new
|
11433
|
+
@MarkWordInfo.deserialize(params['MarkWordInfo'])
|
11434
|
+
end
|
11435
|
+
end
|
11436
|
+
end
|
11437
|
+
|
11438
|
+
# ModifyCasterMarkWordInfo返回参数结构体
|
11439
|
+
class ModifyCasterMarkWordInfoResponse < TencentCloud::Common::AbstractModel
|
11440
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11441
|
+
# @type RequestId: String
|
11442
|
+
|
11443
|
+
attr_accessor :RequestId
|
11444
|
+
|
11445
|
+
def initialize(requestid=nil)
|
11446
|
+
@RequestId = requestid
|
11447
|
+
end
|
11448
|
+
|
11449
|
+
def deserialize(params)
|
11450
|
+
@RequestId = params['RequestId']
|
11451
|
+
end
|
11452
|
+
end
|
11453
|
+
|
10878
11454
|
# ModifyCasterOutputInfo请求参数结构体
|
10879
11455
|
class ModifyCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
|
10880
11456
|
# @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.
|
4
|
+
version: 3.0.953
|
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
|
+
date: 2024-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|