tencentcloud-sdk-live 3.0.951 → 3.0.952
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180801/client.rb +193 -0
- data/lib/v20180801/models.rb +467 -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: ad400f9a709f405bc5e73dc0bac38fec39806020
|
4
|
+
data.tar.gz: d093ae0bd99ce50ea4444e558ab5e2150c800c85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0f87de168f339dbda25eb289263cb639684ef33dfb71b5bdee0daaee9457d1224e6750ec2b7ad01d4d2553b00192b72130d2e044eb96b4e73cfb84f8bf0592c
|
7
|
+
data.tar.gz: c10f6da44c918800890b5fdc57703532e7eee21b3cdd9bf096a0bc0e55eca06e22670012c3422190a97ce52a287a70a00c5a4f4f83b46823b2816a893319b7cf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.952
|
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.
|
@@ -3872,6 +4016,55 @@ module TencentCloud
|
|
3872
4016
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
3873
4017
|
end
|
3874
4018
|
|
4019
|
+
# 该接口用来修改导播台水印信息。
|
4020
|
+
# 注意,修改的Index对应的水印需已存在
|
4021
|
+
|
4022
|
+
# @param request: Request instance for ModifyCasterMarkPicInfo.
|
4023
|
+
# @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterMarkPicInfoRequest`
|
4024
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterMarkPicInfoResponse`
|
4025
|
+
def ModifyCasterMarkPicInfo(request)
|
4026
|
+
body = send_request('ModifyCasterMarkPicInfo', request.serialize)
|
4027
|
+
response = JSON.parse(body)
|
4028
|
+
if response['Response'].key?('Error') == false
|
4029
|
+
model = ModifyCasterMarkPicInfoResponse.new
|
4030
|
+
model.deserialize(response['Response'])
|
4031
|
+
model
|
4032
|
+
else
|
4033
|
+
code = response['Response']['Error']['Code']
|
4034
|
+
message = response['Response']['Error']['Message']
|
4035
|
+
reqid = response['Response']['RequestId']
|
4036
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
4037
|
+
end
|
4038
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
4039
|
+
raise e
|
4040
|
+
rescue StandardError => e
|
4041
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
4042
|
+
end
|
4043
|
+
|
4044
|
+
# 该接口用来修改导播台文本配置。
|
4045
|
+
|
4046
|
+
# @param request: Request instance for ModifyCasterMarkWordInfo.
|
4047
|
+
# @type request: :class:`Tencentcloud::live::V20180801::ModifyCasterMarkWordInfoRequest`
|
4048
|
+
# @rtype: :class:`Tencentcloud::live::V20180801::ModifyCasterMarkWordInfoResponse`
|
4049
|
+
def ModifyCasterMarkWordInfo(request)
|
4050
|
+
body = send_request('ModifyCasterMarkWordInfo', request.serialize)
|
4051
|
+
response = JSON.parse(body)
|
4052
|
+
if response['Response'].key?('Error') == false
|
4053
|
+
model = ModifyCasterMarkWordInfoResponse.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
|
+
|
3875
4068
|
# 该接口用来修改导播台的推流信息。
|
3876
4069
|
# 注:只有在主监启动前设置才生效,主监启动后设置,下次推流生效。
|
3877
4070
|
|
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。
|
@@ -10875,6 +11264,84 @@ module TencentCloud
|
|
10875
11264
|
end
|
10876
11265
|
end
|
10877
11266
|
|
11267
|
+
# ModifyCasterMarkPicInfo请求参数结构体
|
11268
|
+
class ModifyCasterMarkPicInfoRequest < TencentCloud::Common::AbstractModel
|
11269
|
+
# @param CasterId: 导播台ID。
|
11270
|
+
# @type CasterId: Integer
|
11271
|
+
# @param MarkPicInfo: 新的水印信息。
|
11272
|
+
# @type MarkPicInfo: :class:`Tencentcloud::Live.v20180801.models.CasterMarkPicInfo`
|
11273
|
+
|
11274
|
+
attr_accessor :CasterId, :MarkPicInfo
|
11275
|
+
|
11276
|
+
def initialize(casterid=nil, markpicinfo=nil)
|
11277
|
+
@CasterId = casterid
|
11278
|
+
@MarkPicInfo = markpicinfo
|
11279
|
+
end
|
11280
|
+
|
11281
|
+
def deserialize(params)
|
11282
|
+
@CasterId = params['CasterId']
|
11283
|
+
unless params['MarkPicInfo'].nil?
|
11284
|
+
@MarkPicInfo = CasterMarkPicInfo.new
|
11285
|
+
@MarkPicInfo.deserialize(params['MarkPicInfo'])
|
11286
|
+
end
|
11287
|
+
end
|
11288
|
+
end
|
11289
|
+
|
11290
|
+
# ModifyCasterMarkPicInfo返回参数结构体
|
11291
|
+
class ModifyCasterMarkPicInfoResponse < TencentCloud::Common::AbstractModel
|
11292
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11293
|
+
# @type RequestId: String
|
11294
|
+
|
11295
|
+
attr_accessor :RequestId
|
11296
|
+
|
11297
|
+
def initialize(requestid=nil)
|
11298
|
+
@RequestId = requestid
|
11299
|
+
end
|
11300
|
+
|
11301
|
+
def deserialize(params)
|
11302
|
+
@RequestId = params['RequestId']
|
11303
|
+
end
|
11304
|
+
end
|
11305
|
+
|
11306
|
+
# ModifyCasterMarkWordInfo请求参数结构体
|
11307
|
+
class ModifyCasterMarkWordInfoRequest < TencentCloud::Common::AbstractModel
|
11308
|
+
# @param CasterId: 导播台ID。
|
11309
|
+
# @type CasterId: Integer
|
11310
|
+
# @param MarkWordInfo: 修改的文本配置。
|
11311
|
+
# @type MarkWordInfo: :class:`Tencentcloud::Live.v20180801.models.CasterMarkWordInfo`
|
11312
|
+
|
11313
|
+
attr_accessor :CasterId, :MarkWordInfo
|
11314
|
+
|
11315
|
+
def initialize(casterid=nil, markwordinfo=nil)
|
11316
|
+
@CasterId = casterid
|
11317
|
+
@MarkWordInfo = markwordinfo
|
11318
|
+
end
|
11319
|
+
|
11320
|
+
def deserialize(params)
|
11321
|
+
@CasterId = params['CasterId']
|
11322
|
+
unless params['MarkWordInfo'].nil?
|
11323
|
+
@MarkWordInfo = CasterMarkWordInfo.new
|
11324
|
+
@MarkWordInfo.deserialize(params['MarkWordInfo'])
|
11325
|
+
end
|
11326
|
+
end
|
11327
|
+
end
|
11328
|
+
|
11329
|
+
# ModifyCasterMarkWordInfo返回参数结构体
|
11330
|
+
class ModifyCasterMarkWordInfoResponse < TencentCloud::Common::AbstractModel
|
11331
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
11332
|
+
# @type RequestId: String
|
11333
|
+
|
11334
|
+
attr_accessor :RequestId
|
11335
|
+
|
11336
|
+
def initialize(requestid=nil)
|
11337
|
+
@RequestId = requestid
|
11338
|
+
end
|
11339
|
+
|
11340
|
+
def deserialize(params)
|
11341
|
+
@RequestId = params['RequestId']
|
11342
|
+
end
|
11343
|
+
end
|
11344
|
+
|
10878
11345
|
# ModifyCasterOutputInfo请求参数结构体
|
10879
11346
|
class ModifyCasterOutputInfoRequest < TencentCloud::Common::AbstractModel
|
10880
11347
|
# @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.952
|
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-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|