tencentcloud-sdk-python 3.0.1272__py2.py3-none-any.whl → 3.0.1274__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/billing/v20180709/models.py +0 -86
- tencentcloud/bsca/v20210811/models.py +17 -2
- tencentcloud/cfs/v20190719/models.py +4 -4
- tencentcloud/cls/v20201016/models.py +6 -0
- tencentcloud/cvm/v20170312/models.py +2 -2
- tencentcloud/cynosdb/v20190107/models.py +2 -2
- tencentcloud/dnspod/v20210323/dnspod_client.py +46 -0
- tencentcloud/dnspod/v20210323/models.py +190 -2
- tencentcloud/dts/v20211206/models.py +2 -2
- tencentcloud/ess/v20201111/ess_client.py +1 -1
- tencentcloud/ess/v20201111/models.py +18 -10
- tencentcloud/essbasic/v20210526/essbasic_client.py +1 -1
- tencentcloud/essbasic/v20210526/models.py +10 -6
- tencentcloud/goosefs/v20220519/models.py +15 -0
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/models.py +2 -2
- tencentcloud/hunyuan/v20230901/models.py +17 -0
- tencentcloud/iotexplorer/v20190423/models.py +17 -17
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +3 -0
- tencentcloud/lighthouse/v20200324/models.py +24 -4
- tencentcloud/live/v20180801/errorcodes.py +69 -0
- tencentcloud/live/v20180801/live_client.py +444 -0
- tencentcloud/live/v20180801/models.py +2452 -0
- tencentcloud/lke/v20231130/models.py +1229 -171
- tencentcloud/mps/v20190612/models.py +17 -0
- tencentcloud/oceanus/v20190422/models.py +15 -0
- tencentcloud/ocr/v20181119/models.py +45 -0
- tencentcloud/privatedns/v20201028/errorcodes.py +0 -42
- tencentcloud/privatedns/v20201028/models.py +712 -2358
- tencentcloud/privatedns/v20201028/privatedns_client.py +0 -230
- tencentcloud/svp/v20240125/models.py +0 -2
- tencentcloud/tke/v20180525/models.py +15 -0
- tencentcloud/tke/v20220501/models.py +6 -2
- tencentcloud/trtc/v20190722/models.py +44 -2
- tencentcloud/tse/v20201207/models.py +6 -6
- tencentcloud/vod/v20180717/models.py +30 -0
- tencentcloud/vpc/v20170312/models.py +30 -0
- tencentcloud/wedata/v20210820/models.py +6 -6
- {tencentcloud_sdk_python-3.0.1272.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1272.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/RECORD +45 -45
- {tencentcloud_sdk_python-3.0.1272.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1272.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1272.dist-info → tencentcloud_sdk_python-3.0.1274.dist-info}/top_level.txt +0 -0
@@ -18,6 +18,287 @@ import warnings
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
19
19
|
|
20
20
|
|
21
|
+
class AddCasterInputInfoRequest(AbstractModel):
|
22
|
+
"""AddCasterInputInfo请求参数结构体
|
23
|
+
|
24
|
+
"""
|
25
|
+
|
26
|
+
def __init__(self):
|
27
|
+
r"""
|
28
|
+
:param _CasterId: 导播台ID。
|
29
|
+
:type CasterId: int
|
30
|
+
:param _InputInfo: 导播台输入源详细信息。
|
31
|
+
:type InputInfo: :class:`tencentcloud.live.v20180801.models.CasterInputInfo`
|
32
|
+
"""
|
33
|
+
self._CasterId = None
|
34
|
+
self._InputInfo = None
|
35
|
+
|
36
|
+
@property
|
37
|
+
def CasterId(self):
|
38
|
+
"""导播台ID。
|
39
|
+
:rtype: int
|
40
|
+
"""
|
41
|
+
return self._CasterId
|
42
|
+
|
43
|
+
@CasterId.setter
|
44
|
+
def CasterId(self, CasterId):
|
45
|
+
self._CasterId = CasterId
|
46
|
+
|
47
|
+
@property
|
48
|
+
def InputInfo(self):
|
49
|
+
"""导播台输入源详细信息。
|
50
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CasterInputInfo`
|
51
|
+
"""
|
52
|
+
return self._InputInfo
|
53
|
+
|
54
|
+
@InputInfo.setter
|
55
|
+
def InputInfo(self, InputInfo):
|
56
|
+
self._InputInfo = InputInfo
|
57
|
+
|
58
|
+
|
59
|
+
def _deserialize(self, params):
|
60
|
+
self._CasterId = params.get("CasterId")
|
61
|
+
if params.get("InputInfo") is not None:
|
62
|
+
self._InputInfo = CasterInputInfo()
|
63
|
+
self._InputInfo._deserialize(params.get("InputInfo"))
|
64
|
+
memeber_set = set(params.keys())
|
65
|
+
for name, value in vars(self).items():
|
66
|
+
property_name = name[1:]
|
67
|
+
if property_name in memeber_set:
|
68
|
+
memeber_set.remove(property_name)
|
69
|
+
if len(memeber_set) > 0:
|
70
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
71
|
+
|
72
|
+
|
73
|
+
|
74
|
+
class AddCasterInputInfoResponse(AbstractModel):
|
75
|
+
"""AddCasterInputInfo返回参数结构体
|
76
|
+
|
77
|
+
"""
|
78
|
+
|
79
|
+
def __init__(self):
|
80
|
+
r"""
|
81
|
+
:param _InputPlayUrl: rtmp协议输入源播放地址。
|
82
|
+
注:仅可作为预览使用,不可分发。
|
83
|
+
:type InputPlayUrl: str
|
84
|
+
:param _InputWebRTCPlayUrl: webrtc协议播放地址。
|
85
|
+
注:
|
86
|
+
1. 需配合使用腾讯云快直播播放SDK使用才可正常播放。
|
87
|
+
2. 仅作为预览使用,不可分发。
|
88
|
+
:type InputWebRTCPlayUrl: str
|
89
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
90
|
+
:type RequestId: str
|
91
|
+
"""
|
92
|
+
self._InputPlayUrl = None
|
93
|
+
self._InputWebRTCPlayUrl = None
|
94
|
+
self._RequestId = None
|
95
|
+
|
96
|
+
@property
|
97
|
+
def InputPlayUrl(self):
|
98
|
+
"""rtmp协议输入源播放地址。
|
99
|
+
注:仅可作为预览使用,不可分发。
|
100
|
+
:rtype: str
|
101
|
+
"""
|
102
|
+
return self._InputPlayUrl
|
103
|
+
|
104
|
+
@InputPlayUrl.setter
|
105
|
+
def InputPlayUrl(self, InputPlayUrl):
|
106
|
+
self._InputPlayUrl = InputPlayUrl
|
107
|
+
|
108
|
+
@property
|
109
|
+
def InputWebRTCPlayUrl(self):
|
110
|
+
"""webrtc协议播放地址。
|
111
|
+
注:
|
112
|
+
1. 需配合使用腾讯云快直播播放SDK使用才可正常播放。
|
113
|
+
2. 仅作为预览使用,不可分发。
|
114
|
+
:rtype: str
|
115
|
+
"""
|
116
|
+
return self._InputWebRTCPlayUrl
|
117
|
+
|
118
|
+
@InputWebRTCPlayUrl.setter
|
119
|
+
def InputWebRTCPlayUrl(self, InputWebRTCPlayUrl):
|
120
|
+
self._InputWebRTCPlayUrl = InputWebRTCPlayUrl
|
121
|
+
|
122
|
+
@property
|
123
|
+
def RequestId(self):
|
124
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
125
|
+
:rtype: str
|
126
|
+
"""
|
127
|
+
return self._RequestId
|
128
|
+
|
129
|
+
@RequestId.setter
|
130
|
+
def RequestId(self, RequestId):
|
131
|
+
self._RequestId = RequestId
|
132
|
+
|
133
|
+
|
134
|
+
def _deserialize(self, params):
|
135
|
+
self._InputPlayUrl = params.get("InputPlayUrl")
|
136
|
+
self._InputWebRTCPlayUrl = params.get("InputWebRTCPlayUrl")
|
137
|
+
self._RequestId = params.get("RequestId")
|
138
|
+
|
139
|
+
|
140
|
+
class AddCasterLayoutInfoRequest(AbstractModel):
|
141
|
+
"""AddCasterLayoutInfo请求参数结构体
|
142
|
+
|
143
|
+
"""
|
144
|
+
|
145
|
+
def __init__(self):
|
146
|
+
r"""
|
147
|
+
:param _CasterId: 导播台ID
|
148
|
+
:type CasterId: int
|
149
|
+
:param _LayoutInfo: 导播台布局参数信息。
|
150
|
+
:type LayoutInfo: :class:`tencentcloud.live.v20180801.models.CasterLayoutInfo`
|
151
|
+
"""
|
152
|
+
self._CasterId = None
|
153
|
+
self._LayoutInfo = None
|
154
|
+
|
155
|
+
@property
|
156
|
+
def CasterId(self):
|
157
|
+
"""导播台ID
|
158
|
+
:rtype: int
|
159
|
+
"""
|
160
|
+
return self._CasterId
|
161
|
+
|
162
|
+
@CasterId.setter
|
163
|
+
def CasterId(self, CasterId):
|
164
|
+
self._CasterId = CasterId
|
165
|
+
|
166
|
+
@property
|
167
|
+
def LayoutInfo(self):
|
168
|
+
"""导播台布局参数信息。
|
169
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CasterLayoutInfo`
|
170
|
+
"""
|
171
|
+
return self._LayoutInfo
|
172
|
+
|
173
|
+
@LayoutInfo.setter
|
174
|
+
def LayoutInfo(self, LayoutInfo):
|
175
|
+
self._LayoutInfo = LayoutInfo
|
176
|
+
|
177
|
+
|
178
|
+
def _deserialize(self, params):
|
179
|
+
self._CasterId = params.get("CasterId")
|
180
|
+
if params.get("LayoutInfo") is not None:
|
181
|
+
self._LayoutInfo = CasterLayoutInfo()
|
182
|
+
self._LayoutInfo._deserialize(params.get("LayoutInfo"))
|
183
|
+
memeber_set = set(params.keys())
|
184
|
+
for name, value in vars(self).items():
|
185
|
+
property_name = name[1:]
|
186
|
+
if property_name in memeber_set:
|
187
|
+
memeber_set.remove(property_name)
|
188
|
+
if len(memeber_set) > 0:
|
189
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
class AddCasterLayoutInfoResponse(AbstractModel):
|
194
|
+
"""AddCasterLayoutInfo返回参数结构体
|
195
|
+
|
196
|
+
"""
|
197
|
+
|
198
|
+
def __init__(self):
|
199
|
+
r"""
|
200
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
201
|
+
:type RequestId: str
|
202
|
+
"""
|
203
|
+
self._RequestId = None
|
204
|
+
|
205
|
+
@property
|
206
|
+
def RequestId(self):
|
207
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
208
|
+
:rtype: str
|
209
|
+
"""
|
210
|
+
return self._RequestId
|
211
|
+
|
212
|
+
@RequestId.setter
|
213
|
+
def RequestId(self, RequestId):
|
214
|
+
self._RequestId = RequestId
|
215
|
+
|
216
|
+
|
217
|
+
def _deserialize(self, params):
|
218
|
+
self._RequestId = params.get("RequestId")
|
219
|
+
|
220
|
+
|
221
|
+
class AddCasterOutputInfoRequest(AbstractModel):
|
222
|
+
"""AddCasterOutputInfo请求参数结构体
|
223
|
+
|
224
|
+
"""
|
225
|
+
|
226
|
+
def __init__(self):
|
227
|
+
r"""
|
228
|
+
:param _CasterId: 导播台ID
|
229
|
+
:type CasterId: int
|
230
|
+
:param _OutputInfo: 导播台推流参数信息。
|
231
|
+
:type OutputInfo: :class:`tencentcloud.live.v20180801.models.CasterOutputInfo`
|
232
|
+
"""
|
233
|
+
self._CasterId = None
|
234
|
+
self._OutputInfo = None
|
235
|
+
|
236
|
+
@property
|
237
|
+
def CasterId(self):
|
238
|
+
"""导播台ID
|
239
|
+
:rtype: int
|
240
|
+
"""
|
241
|
+
return self._CasterId
|
242
|
+
|
243
|
+
@CasterId.setter
|
244
|
+
def CasterId(self, CasterId):
|
245
|
+
self._CasterId = CasterId
|
246
|
+
|
247
|
+
@property
|
248
|
+
def OutputInfo(self):
|
249
|
+
"""导播台推流参数信息。
|
250
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CasterOutputInfo`
|
251
|
+
"""
|
252
|
+
return self._OutputInfo
|
253
|
+
|
254
|
+
@OutputInfo.setter
|
255
|
+
def OutputInfo(self, OutputInfo):
|
256
|
+
self._OutputInfo = OutputInfo
|
257
|
+
|
258
|
+
|
259
|
+
def _deserialize(self, params):
|
260
|
+
self._CasterId = params.get("CasterId")
|
261
|
+
if params.get("OutputInfo") is not None:
|
262
|
+
self._OutputInfo = CasterOutputInfo()
|
263
|
+
self._OutputInfo._deserialize(params.get("OutputInfo"))
|
264
|
+
memeber_set = set(params.keys())
|
265
|
+
for name, value in vars(self).items():
|
266
|
+
property_name = name[1:]
|
267
|
+
if property_name in memeber_set:
|
268
|
+
memeber_set.remove(property_name)
|
269
|
+
if len(memeber_set) > 0:
|
270
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
271
|
+
|
272
|
+
|
273
|
+
|
274
|
+
class AddCasterOutputInfoResponse(AbstractModel):
|
275
|
+
"""AddCasterOutputInfo返回参数结构体
|
276
|
+
|
277
|
+
"""
|
278
|
+
|
279
|
+
def __init__(self):
|
280
|
+
r"""
|
281
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
282
|
+
:type RequestId: str
|
283
|
+
"""
|
284
|
+
self._RequestId = None
|
285
|
+
|
286
|
+
@property
|
287
|
+
def RequestId(self):
|
288
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
289
|
+
:rtype: str
|
290
|
+
"""
|
291
|
+
return self._RequestId
|
292
|
+
|
293
|
+
@RequestId.setter
|
294
|
+
def RequestId(self, RequestId):
|
295
|
+
self._RequestId = RequestId
|
296
|
+
|
297
|
+
|
298
|
+
def _deserialize(self, params):
|
299
|
+
self._RequestId = params.get("RequestId")
|
300
|
+
|
301
|
+
|
21
302
|
class AddDelayLiveStreamRequest(AbstractModel):
|
22
303
|
"""AddDelayLiveStream请求参数结构体
|
23
304
|
|
@@ -2383,6 +2664,665 @@ class CasterInfo(AbstractModel):
|
|
2383
2664
|
|
2384
2665
|
|
2385
2666
|
|
2667
|
+
class CasterInputInfo(AbstractModel):
|
2668
|
+
"""导播台输入信息参数
|
2669
|
+
|
2670
|
+
"""
|
2671
|
+
|
2672
|
+
def __init__(self):
|
2673
|
+
r"""
|
2674
|
+
:param _InputIndex: 输入源Index。
|
2675
|
+
范围[1, 20]
|
2676
|
+
:type InputIndex: int
|
2677
|
+
:param _InputType: 输入源类型。
|
2678
|
+
范围[0,1,2,3,4]。
|
2679
|
+
0:推流地址。
|
2680
|
+
1:点播文件地址。
|
2681
|
+
2:直播拉流地址。
|
2682
|
+
3:图片地址。
|
2683
|
+
4:webrtc协议推流地址。
|
2684
|
+
:type InputType: int
|
2685
|
+
:param _InputUrl: 输入源的源地址。
|
2686
|
+
最大允许长度512。
|
2687
|
+
当InputType为0(推流地址),2(直播拉流地址),3(图片地址),4(webrtc推流地址)这几种类型时,URL需填入该字段。
|
2688
|
+
|
2689
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2690
|
+
:type InputUrl: str
|
2691
|
+
:param _Description: 输入源描述。
|
2692
|
+
最大允许长度256字符。
|
2693
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2694
|
+
:type Description: str
|
2695
|
+
:param _InputUrls: 点播地址列表。仅当input type为1(点播地址)时,将一个或多个点播地址,填入该字段。
|
2696
|
+
单个地址最大允许长度512字符。
|
2697
|
+
最多允许同时填入5个地址。
|
2698
|
+
注:此时需保持InputUrl字段为空。
|
2699
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2700
|
+
:type InputUrls: list of str
|
2701
|
+
:param _LoopEnable: 是否启用点播无限循环播放。
|
2702
|
+
注:当前该字段未生效,默认为True。
|
2703
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2704
|
+
:type LoopEnable: bool
|
2705
|
+
:param _LoopNumber: 点播循环次数。
|
2706
|
+
允许值-1或正整数。
|
2707
|
+
当值为-1时,表示无限循环。
|
2708
|
+
当值为其他正整数时,表示循环对应次数。
|
2709
|
+
注:该字段暂未生效。
|
2710
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2711
|
+
:type LoopNumber: int
|
2712
|
+
:param _PullPushEnable: 是否启用拉取到导播台。
|
2713
|
+
注:该字段默认强制为true。
|
2714
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2715
|
+
:type PullPushEnable: bool
|
2716
|
+
:param _Volume: 输入源音量百分比。
|
2717
|
+
默认为100。表示音量为原始大小。
|
2718
|
+
允许值[0,200]。
|
2719
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2720
|
+
:type Volume: int
|
2721
|
+
"""
|
2722
|
+
self._InputIndex = None
|
2723
|
+
self._InputType = None
|
2724
|
+
self._InputUrl = None
|
2725
|
+
self._Description = None
|
2726
|
+
self._InputUrls = None
|
2727
|
+
self._LoopEnable = None
|
2728
|
+
self._LoopNumber = None
|
2729
|
+
self._PullPushEnable = None
|
2730
|
+
self._Volume = None
|
2731
|
+
|
2732
|
+
@property
|
2733
|
+
def InputIndex(self):
|
2734
|
+
"""输入源Index。
|
2735
|
+
范围[1, 20]
|
2736
|
+
:rtype: int
|
2737
|
+
"""
|
2738
|
+
return self._InputIndex
|
2739
|
+
|
2740
|
+
@InputIndex.setter
|
2741
|
+
def InputIndex(self, InputIndex):
|
2742
|
+
self._InputIndex = InputIndex
|
2743
|
+
|
2744
|
+
@property
|
2745
|
+
def InputType(self):
|
2746
|
+
"""输入源类型。
|
2747
|
+
范围[0,1,2,3,4]。
|
2748
|
+
0:推流地址。
|
2749
|
+
1:点播文件地址。
|
2750
|
+
2:直播拉流地址。
|
2751
|
+
3:图片地址。
|
2752
|
+
4:webrtc协议推流地址。
|
2753
|
+
:rtype: int
|
2754
|
+
"""
|
2755
|
+
return self._InputType
|
2756
|
+
|
2757
|
+
@InputType.setter
|
2758
|
+
def InputType(self, InputType):
|
2759
|
+
self._InputType = InputType
|
2760
|
+
|
2761
|
+
@property
|
2762
|
+
def InputUrl(self):
|
2763
|
+
"""输入源的源地址。
|
2764
|
+
最大允许长度512。
|
2765
|
+
当InputType为0(推流地址),2(直播拉流地址),3(图片地址),4(webrtc推流地址)这几种类型时,URL需填入该字段。
|
2766
|
+
|
2767
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2768
|
+
:rtype: str
|
2769
|
+
"""
|
2770
|
+
return self._InputUrl
|
2771
|
+
|
2772
|
+
@InputUrl.setter
|
2773
|
+
def InputUrl(self, InputUrl):
|
2774
|
+
self._InputUrl = InputUrl
|
2775
|
+
|
2776
|
+
@property
|
2777
|
+
def Description(self):
|
2778
|
+
"""输入源描述。
|
2779
|
+
最大允许长度256字符。
|
2780
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2781
|
+
:rtype: str
|
2782
|
+
"""
|
2783
|
+
return self._Description
|
2784
|
+
|
2785
|
+
@Description.setter
|
2786
|
+
def Description(self, Description):
|
2787
|
+
self._Description = Description
|
2788
|
+
|
2789
|
+
@property
|
2790
|
+
def InputUrls(self):
|
2791
|
+
"""点播地址列表。仅当input type为1(点播地址)时,将一个或多个点播地址,填入该字段。
|
2792
|
+
单个地址最大允许长度512字符。
|
2793
|
+
最多允许同时填入5个地址。
|
2794
|
+
注:此时需保持InputUrl字段为空。
|
2795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2796
|
+
:rtype: list of str
|
2797
|
+
"""
|
2798
|
+
return self._InputUrls
|
2799
|
+
|
2800
|
+
@InputUrls.setter
|
2801
|
+
def InputUrls(self, InputUrls):
|
2802
|
+
self._InputUrls = InputUrls
|
2803
|
+
|
2804
|
+
@property
|
2805
|
+
def LoopEnable(self):
|
2806
|
+
"""是否启用点播无限循环播放。
|
2807
|
+
注:当前该字段未生效,默认为True。
|
2808
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2809
|
+
:rtype: bool
|
2810
|
+
"""
|
2811
|
+
return self._LoopEnable
|
2812
|
+
|
2813
|
+
@LoopEnable.setter
|
2814
|
+
def LoopEnable(self, LoopEnable):
|
2815
|
+
self._LoopEnable = LoopEnable
|
2816
|
+
|
2817
|
+
@property
|
2818
|
+
def LoopNumber(self):
|
2819
|
+
"""点播循环次数。
|
2820
|
+
允许值-1或正整数。
|
2821
|
+
当值为-1时,表示无限循环。
|
2822
|
+
当值为其他正整数时,表示循环对应次数。
|
2823
|
+
注:该字段暂未生效。
|
2824
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2825
|
+
:rtype: int
|
2826
|
+
"""
|
2827
|
+
return self._LoopNumber
|
2828
|
+
|
2829
|
+
@LoopNumber.setter
|
2830
|
+
def LoopNumber(self, LoopNumber):
|
2831
|
+
self._LoopNumber = LoopNumber
|
2832
|
+
|
2833
|
+
@property
|
2834
|
+
def PullPushEnable(self):
|
2835
|
+
"""是否启用拉取到导播台。
|
2836
|
+
注:该字段默认强制为true。
|
2837
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2838
|
+
:rtype: bool
|
2839
|
+
"""
|
2840
|
+
return self._PullPushEnable
|
2841
|
+
|
2842
|
+
@PullPushEnable.setter
|
2843
|
+
def PullPushEnable(self, PullPushEnable):
|
2844
|
+
self._PullPushEnable = PullPushEnable
|
2845
|
+
|
2846
|
+
@property
|
2847
|
+
def Volume(self):
|
2848
|
+
"""输入源音量百分比。
|
2849
|
+
默认为100。表示音量为原始大小。
|
2850
|
+
允许值[0,200]。
|
2851
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2852
|
+
:rtype: int
|
2853
|
+
"""
|
2854
|
+
return self._Volume
|
2855
|
+
|
2856
|
+
@Volume.setter
|
2857
|
+
def Volume(self, Volume):
|
2858
|
+
self._Volume = Volume
|
2859
|
+
|
2860
|
+
|
2861
|
+
def _deserialize(self, params):
|
2862
|
+
self._InputIndex = params.get("InputIndex")
|
2863
|
+
self._InputType = params.get("InputType")
|
2864
|
+
self._InputUrl = params.get("InputUrl")
|
2865
|
+
self._Description = params.get("Description")
|
2866
|
+
self._InputUrls = params.get("InputUrls")
|
2867
|
+
self._LoopEnable = params.get("LoopEnable")
|
2868
|
+
self._LoopNumber = params.get("LoopNumber")
|
2869
|
+
self._PullPushEnable = params.get("PullPushEnable")
|
2870
|
+
self._Volume = params.get("Volume")
|
2871
|
+
memeber_set = set(params.keys())
|
2872
|
+
for name, value in vars(self).items():
|
2873
|
+
property_name = name[1:]
|
2874
|
+
if property_name in memeber_set:
|
2875
|
+
memeber_set.remove(property_name)
|
2876
|
+
if len(memeber_set) > 0:
|
2877
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
2878
|
+
|
2879
|
+
|
2880
|
+
|
2881
|
+
class CasterLayoutInfo(AbstractModel):
|
2882
|
+
"""导播台布局参数。
|
2883
|
+
|
2884
|
+
"""
|
2885
|
+
|
2886
|
+
def __init__(self):
|
2887
|
+
r"""
|
2888
|
+
:param _LayoutIndex: 布局Index。
|
2889
|
+
:type LayoutIndex: int
|
2890
|
+
:param _LayoutTemplateId: 布局模板Id。
|
2891
|
+
有效值[1,20,21,31,32,41]
|
2892
|
+
当使用布局模版时,无需LayoutParams参数,导播台将使用模版布局参数。
|
2893
|
+
|
2894
|
+
:type LayoutTemplateId: int
|
2895
|
+
:param _InputIndexList: 布局绑定的输入列表。按布局LayerId从小到大,按顺序排列。
|
2896
|
+
已有两个画面的布局为例,输入1对应LayerId为1,输入2对应的LayerId为2,该字段应该填入"1|2"。
|
2897
|
+
:type InputIndexList: str
|
2898
|
+
:param _LayoutParams: 详细的布局参数列表。
|
2899
|
+
:type LayoutParams: list of CasterLayoutParam
|
2900
|
+
:param _LayoutWidth: 布局输出的宽度,单位为像素。
|
2901
|
+
默认为1280像素。
|
2902
|
+
注:该值仅在画中画布局,且未设置PgmWidth时生效。
|
2903
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2904
|
+
:type LayoutWidth: int
|
2905
|
+
:param _LayoutHeight: 布局输出的高度,单位为像素。
|
2906
|
+
注:该参数仅在画中画布局,且未设置PgmHeight时生效。
|
2907
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2908
|
+
:type LayoutHeight: int
|
2909
|
+
"""
|
2910
|
+
self._LayoutIndex = None
|
2911
|
+
self._LayoutTemplateId = None
|
2912
|
+
self._InputIndexList = None
|
2913
|
+
self._LayoutParams = None
|
2914
|
+
self._LayoutWidth = None
|
2915
|
+
self._LayoutHeight = None
|
2916
|
+
|
2917
|
+
@property
|
2918
|
+
def LayoutIndex(self):
|
2919
|
+
"""布局Index。
|
2920
|
+
:rtype: int
|
2921
|
+
"""
|
2922
|
+
return self._LayoutIndex
|
2923
|
+
|
2924
|
+
@LayoutIndex.setter
|
2925
|
+
def LayoutIndex(self, LayoutIndex):
|
2926
|
+
self._LayoutIndex = LayoutIndex
|
2927
|
+
|
2928
|
+
@property
|
2929
|
+
def LayoutTemplateId(self):
|
2930
|
+
"""布局模板Id。
|
2931
|
+
有效值[1,20,21,31,32,41]
|
2932
|
+
当使用布局模版时,无需LayoutParams参数,导播台将使用模版布局参数。
|
2933
|
+
|
2934
|
+
:rtype: int
|
2935
|
+
"""
|
2936
|
+
return self._LayoutTemplateId
|
2937
|
+
|
2938
|
+
@LayoutTemplateId.setter
|
2939
|
+
def LayoutTemplateId(self, LayoutTemplateId):
|
2940
|
+
self._LayoutTemplateId = LayoutTemplateId
|
2941
|
+
|
2942
|
+
@property
|
2943
|
+
def InputIndexList(self):
|
2944
|
+
"""布局绑定的输入列表。按布局LayerId从小到大,按顺序排列。
|
2945
|
+
已有两个画面的布局为例,输入1对应LayerId为1,输入2对应的LayerId为2,该字段应该填入"1|2"。
|
2946
|
+
:rtype: str
|
2947
|
+
"""
|
2948
|
+
return self._InputIndexList
|
2949
|
+
|
2950
|
+
@InputIndexList.setter
|
2951
|
+
def InputIndexList(self, InputIndexList):
|
2952
|
+
self._InputIndexList = InputIndexList
|
2953
|
+
|
2954
|
+
@property
|
2955
|
+
def LayoutParams(self):
|
2956
|
+
"""详细的布局参数列表。
|
2957
|
+
:rtype: list of CasterLayoutParam
|
2958
|
+
"""
|
2959
|
+
return self._LayoutParams
|
2960
|
+
|
2961
|
+
@LayoutParams.setter
|
2962
|
+
def LayoutParams(self, LayoutParams):
|
2963
|
+
self._LayoutParams = LayoutParams
|
2964
|
+
|
2965
|
+
@property
|
2966
|
+
def LayoutWidth(self):
|
2967
|
+
"""布局输出的宽度,单位为像素。
|
2968
|
+
默认为1280像素。
|
2969
|
+
注:该值仅在画中画布局,且未设置PgmWidth时生效。
|
2970
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2971
|
+
:rtype: int
|
2972
|
+
"""
|
2973
|
+
return self._LayoutWidth
|
2974
|
+
|
2975
|
+
@LayoutWidth.setter
|
2976
|
+
def LayoutWidth(self, LayoutWidth):
|
2977
|
+
self._LayoutWidth = LayoutWidth
|
2978
|
+
|
2979
|
+
@property
|
2980
|
+
def LayoutHeight(self):
|
2981
|
+
"""布局输出的高度,单位为像素。
|
2982
|
+
注:该参数仅在画中画布局,且未设置PgmHeight时生效。
|
2983
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
2984
|
+
:rtype: int
|
2985
|
+
"""
|
2986
|
+
return self._LayoutHeight
|
2987
|
+
|
2988
|
+
@LayoutHeight.setter
|
2989
|
+
def LayoutHeight(self, LayoutHeight):
|
2990
|
+
self._LayoutHeight = LayoutHeight
|
2991
|
+
|
2992
|
+
|
2993
|
+
def _deserialize(self, params):
|
2994
|
+
self._LayoutIndex = params.get("LayoutIndex")
|
2995
|
+
self._LayoutTemplateId = params.get("LayoutTemplateId")
|
2996
|
+
self._InputIndexList = params.get("InputIndexList")
|
2997
|
+
if params.get("LayoutParams") is not None:
|
2998
|
+
self._LayoutParams = []
|
2999
|
+
for item in params.get("LayoutParams"):
|
3000
|
+
obj = CasterLayoutParam()
|
3001
|
+
obj._deserialize(item)
|
3002
|
+
self._LayoutParams.append(obj)
|
3003
|
+
self._LayoutWidth = params.get("LayoutWidth")
|
3004
|
+
self._LayoutHeight = params.get("LayoutHeight")
|
3005
|
+
memeber_set = set(params.keys())
|
3006
|
+
for name, value in vars(self).items():
|
3007
|
+
property_name = name[1:]
|
3008
|
+
if property_name in memeber_set:
|
3009
|
+
memeber_set.remove(property_name)
|
3010
|
+
if len(memeber_set) > 0:
|
3011
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3012
|
+
|
3013
|
+
|
3014
|
+
|
3015
|
+
class CasterLayoutParam(AbstractModel):
|
3016
|
+
"""导播台布局详细参数。
|
3017
|
+
|
3018
|
+
"""
|
3019
|
+
|
3020
|
+
def __init__(self):
|
3021
|
+
r"""
|
3022
|
+
:param _LayerId: 布局层ID。
|
3023
|
+
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
|
3024
|
+
:type LayerId: int
|
3025
|
+
:param _LayerWidth: 布局层宽度。
|
3026
|
+
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
3027
|
+
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
|
3028
|
+
:type LayerWidth: float
|
3029
|
+
:param _LayerHeight: 布局层高度.
|
3030
|
+
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
3031
|
+
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
|
3032
|
+
:type LayerHeight: float
|
3033
|
+
:param _LayerLocationX: 布局层位置x坐标。
|
3034
|
+
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
3035
|
+
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上x坐标所占的比例值。
|
3036
|
+
:type LayerLocationX: float
|
3037
|
+
:param _LayerLocationY: 布局层位置Y坐标。
|
3038
|
+
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
3039
|
+
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面Y坐标上所占的比例值。
|
3040
|
+
:type LayerLocationY: float
|
3041
|
+
:param _UsePortraitSegment: 是否启用抠图。
|
3042
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3043
|
+
:type UsePortraitSegment: bool
|
3044
|
+
"""
|
3045
|
+
self._LayerId = None
|
3046
|
+
self._LayerWidth = None
|
3047
|
+
self._LayerHeight = None
|
3048
|
+
self._LayerLocationX = None
|
3049
|
+
self._LayerLocationY = None
|
3050
|
+
self._UsePortraitSegment = None
|
3051
|
+
|
3052
|
+
@property
|
3053
|
+
def LayerId(self):
|
3054
|
+
"""布局层ID。
|
3055
|
+
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
|
3056
|
+
:rtype: int
|
3057
|
+
"""
|
3058
|
+
return self._LayerId
|
3059
|
+
|
3060
|
+
@LayerId.setter
|
3061
|
+
def LayerId(self, LayerId):
|
3062
|
+
self._LayerId = LayerId
|
3063
|
+
|
3064
|
+
@property
|
3065
|
+
def LayerWidth(self):
|
3066
|
+
"""布局层宽度。
|
3067
|
+
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
3068
|
+
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
|
3069
|
+
:rtype: float
|
3070
|
+
"""
|
3071
|
+
return self._LayerWidth
|
3072
|
+
|
3073
|
+
@LayerWidth.setter
|
3074
|
+
def LayerWidth(self, LayerWidth):
|
3075
|
+
self._LayerWidth = LayerWidth
|
3076
|
+
|
3077
|
+
@property
|
3078
|
+
def LayerHeight(self):
|
3079
|
+
"""布局层高度.
|
3080
|
+
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
3081
|
+
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上所占的比例值。
|
3082
|
+
:rtype: float
|
3083
|
+
"""
|
3084
|
+
return self._LayerHeight
|
3085
|
+
|
3086
|
+
@LayerHeight.setter
|
3087
|
+
def LayerHeight(self, LayerHeight):
|
3088
|
+
self._LayerHeight = LayerHeight
|
3089
|
+
|
3090
|
+
@property
|
3091
|
+
def LayerLocationX(self):
|
3092
|
+
"""布局层位置x坐标。
|
3093
|
+
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
3094
|
+
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面上x坐标所占的比例值。
|
3095
|
+
:rtype: float
|
3096
|
+
"""
|
3097
|
+
return self._LayerLocationX
|
3098
|
+
|
3099
|
+
@LayerLocationX.setter
|
3100
|
+
def LayerLocationX(self, LayerLocationX):
|
3101
|
+
self._LayerLocationX = LayerLocationX
|
3102
|
+
|
3103
|
+
@property
|
3104
|
+
def LayerLocationY(self):
|
3105
|
+
"""布局层位置Y坐标。
|
3106
|
+
当该值为大于1的整数值时,单位为像素,允许范围[1,1920]。
|
3107
|
+
当该值为小于1大于0的小数时,单位为百分比,表示该层在最终画面Y坐标上所占的比例值。
|
3108
|
+
:rtype: float
|
3109
|
+
"""
|
3110
|
+
return self._LayerLocationY
|
3111
|
+
|
3112
|
+
@LayerLocationY.setter
|
3113
|
+
def LayerLocationY(self, LayerLocationY):
|
3114
|
+
self._LayerLocationY = LayerLocationY
|
3115
|
+
|
3116
|
+
@property
|
3117
|
+
def UsePortraitSegment(self):
|
3118
|
+
"""是否启用抠图。
|
3119
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3120
|
+
:rtype: bool
|
3121
|
+
"""
|
3122
|
+
return self._UsePortraitSegment
|
3123
|
+
|
3124
|
+
@UsePortraitSegment.setter
|
3125
|
+
def UsePortraitSegment(self, UsePortraitSegment):
|
3126
|
+
self._UsePortraitSegment = UsePortraitSegment
|
3127
|
+
|
3128
|
+
|
3129
|
+
def _deserialize(self, params):
|
3130
|
+
self._LayerId = params.get("LayerId")
|
3131
|
+
self._LayerWidth = params.get("LayerWidth")
|
3132
|
+
self._LayerHeight = params.get("LayerHeight")
|
3133
|
+
self._LayerLocationX = params.get("LayerLocationX")
|
3134
|
+
self._LayerLocationY = params.get("LayerLocationY")
|
3135
|
+
self._UsePortraitSegment = params.get("UsePortraitSegment")
|
3136
|
+
memeber_set = set(params.keys())
|
3137
|
+
for name, value in vars(self).items():
|
3138
|
+
property_name = name[1:]
|
3139
|
+
if property_name in memeber_set:
|
3140
|
+
memeber_set.remove(property_name)
|
3141
|
+
if len(memeber_set) > 0:
|
3142
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3143
|
+
|
3144
|
+
|
3145
|
+
|
3146
|
+
class CasterOutputInfo(AbstractModel):
|
3147
|
+
"""导播台推流信息。
|
3148
|
+
当导播台主监启动后,系统将自动将主监推流到腾讯云和其他第三方平台。
|
3149
|
+
|
3150
|
+
"""
|
3151
|
+
|
3152
|
+
def __init__(self):
|
3153
|
+
r"""
|
3154
|
+
:param _OutputIndex: 推流信息Index。
|
3155
|
+
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。
|
3156
|
+
范围[0,10]。
|
3157
|
+
:type OutputIndex: int
|
3158
|
+
:param _OutputUrl: rtmp协议推流地址。
|
3159
|
+
最大允许长度512字符。
|
3160
|
+
:type OutputUrl: str
|
3161
|
+
:param _Description: 描述信息。
|
3162
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3163
|
+
:type Description: str
|
3164
|
+
:param _OutputStreamId: 推流到腾讯云直播源站时,使用的流ID。
|
3165
|
+
仅当OutputType为1时生效。
|
3166
|
+
最大允许128字符。
|
3167
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3168
|
+
:type OutputStreamId: str
|
3169
|
+
:param _OutputType: 推流类型。
|
3170
|
+
范围[1,2]
|
3171
|
+
1. 推送到腾讯云直播源站。
|
3172
|
+
2. 推送到第三方源站。
|
3173
|
+
:type OutputType: int
|
3174
|
+
:param _OutputDomainName: 推到腾讯云直播源站时,使用的域名。
|
3175
|
+
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。
|
3176
|
+
仅在OutputType为1时生效。
|
3177
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3178
|
+
:type OutputDomainName: str
|
3179
|
+
:param _OutputAppName: 推到腾讯云直播源站时,使用的AppName。
|
3180
|
+
最大允许64字符。
|
3181
|
+
仅在OutputType为1时生效。
|
3182
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3183
|
+
:type OutputAppName: str
|
3184
|
+
:param _OutputParam: 推到腾讯云直播源站时需要添加的推流参数。
|
3185
|
+
最大允许长度256字符。
|
3186
|
+
仅在OutputType为1时生效。
|
3187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3188
|
+
:type OutputParam: str
|
3189
|
+
"""
|
3190
|
+
self._OutputIndex = None
|
3191
|
+
self._OutputUrl = None
|
3192
|
+
self._Description = None
|
3193
|
+
self._OutputStreamId = None
|
3194
|
+
self._OutputType = None
|
3195
|
+
self._OutputDomainName = None
|
3196
|
+
self._OutputAppName = None
|
3197
|
+
self._OutputParam = None
|
3198
|
+
|
3199
|
+
@property
|
3200
|
+
def OutputIndex(self):
|
3201
|
+
"""推流信息Index。
|
3202
|
+
当OutputType为1(表示推流到腾讯云直播)时,该值固定为0。
|
3203
|
+
范围[0,10]。
|
3204
|
+
:rtype: int
|
3205
|
+
"""
|
3206
|
+
return self._OutputIndex
|
3207
|
+
|
3208
|
+
@OutputIndex.setter
|
3209
|
+
def OutputIndex(self, OutputIndex):
|
3210
|
+
self._OutputIndex = OutputIndex
|
3211
|
+
|
3212
|
+
@property
|
3213
|
+
def OutputUrl(self):
|
3214
|
+
"""rtmp协议推流地址。
|
3215
|
+
最大允许长度512字符。
|
3216
|
+
:rtype: str
|
3217
|
+
"""
|
3218
|
+
return self._OutputUrl
|
3219
|
+
|
3220
|
+
@OutputUrl.setter
|
3221
|
+
def OutputUrl(self, OutputUrl):
|
3222
|
+
self._OutputUrl = OutputUrl
|
3223
|
+
|
3224
|
+
@property
|
3225
|
+
def Description(self):
|
3226
|
+
"""描述信息。
|
3227
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3228
|
+
:rtype: str
|
3229
|
+
"""
|
3230
|
+
return self._Description
|
3231
|
+
|
3232
|
+
@Description.setter
|
3233
|
+
def Description(self, Description):
|
3234
|
+
self._Description = Description
|
3235
|
+
|
3236
|
+
@property
|
3237
|
+
def OutputStreamId(self):
|
3238
|
+
"""推流到腾讯云直播源站时,使用的流ID。
|
3239
|
+
仅当OutputType为1时生效。
|
3240
|
+
最大允许128字符。
|
3241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3242
|
+
:rtype: str
|
3243
|
+
"""
|
3244
|
+
return self._OutputStreamId
|
3245
|
+
|
3246
|
+
@OutputStreamId.setter
|
3247
|
+
def OutputStreamId(self, OutputStreamId):
|
3248
|
+
self._OutputStreamId = OutputStreamId
|
3249
|
+
|
3250
|
+
@property
|
3251
|
+
def OutputType(self):
|
3252
|
+
"""推流类型。
|
3253
|
+
范围[1,2]
|
3254
|
+
1. 推送到腾讯云直播源站。
|
3255
|
+
2. 推送到第三方源站。
|
3256
|
+
:rtype: int
|
3257
|
+
"""
|
3258
|
+
return self._OutputType
|
3259
|
+
|
3260
|
+
@OutputType.setter
|
3261
|
+
def OutputType(self, OutputType):
|
3262
|
+
self._OutputType = OutputType
|
3263
|
+
|
3264
|
+
@property
|
3265
|
+
def OutputDomainName(self):
|
3266
|
+
"""推到腾讯云直播源站时,使用的域名。
|
3267
|
+
最大允许128字符,且域名需属于当前账号绑定的云直播推流域名。
|
3268
|
+
仅在OutputType为1时生效。
|
3269
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3270
|
+
:rtype: str
|
3271
|
+
"""
|
3272
|
+
return self._OutputDomainName
|
3273
|
+
|
3274
|
+
@OutputDomainName.setter
|
3275
|
+
def OutputDomainName(self, OutputDomainName):
|
3276
|
+
self._OutputDomainName = OutputDomainName
|
3277
|
+
|
3278
|
+
@property
|
3279
|
+
def OutputAppName(self):
|
3280
|
+
"""推到腾讯云直播源站时,使用的AppName。
|
3281
|
+
最大允许64字符。
|
3282
|
+
仅在OutputType为1时生效。
|
3283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3284
|
+
:rtype: str
|
3285
|
+
"""
|
3286
|
+
return self._OutputAppName
|
3287
|
+
|
3288
|
+
@OutputAppName.setter
|
3289
|
+
def OutputAppName(self, OutputAppName):
|
3290
|
+
self._OutputAppName = OutputAppName
|
3291
|
+
|
3292
|
+
@property
|
3293
|
+
def OutputParam(self):
|
3294
|
+
"""推到腾讯云直播源站时需要添加的推流参数。
|
3295
|
+
最大允许长度256字符。
|
3296
|
+
仅在OutputType为1时生效。
|
3297
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3298
|
+
:rtype: str
|
3299
|
+
"""
|
3300
|
+
return self._OutputParam
|
3301
|
+
|
3302
|
+
@OutputParam.setter
|
3303
|
+
def OutputParam(self, OutputParam):
|
3304
|
+
self._OutputParam = OutputParam
|
3305
|
+
|
3306
|
+
|
3307
|
+
def _deserialize(self, params):
|
3308
|
+
self._OutputIndex = params.get("OutputIndex")
|
3309
|
+
self._OutputUrl = params.get("OutputUrl")
|
3310
|
+
self._Description = params.get("Description")
|
3311
|
+
self._OutputStreamId = params.get("OutputStreamId")
|
3312
|
+
self._OutputType = params.get("OutputType")
|
3313
|
+
self._OutputDomainName = params.get("OutputDomainName")
|
3314
|
+
self._OutputAppName = params.get("OutputAppName")
|
3315
|
+
self._OutputParam = params.get("OutputParam")
|
3316
|
+
memeber_set = set(params.keys())
|
3317
|
+
for name, value in vars(self).items():
|
3318
|
+
property_name = name[1:]
|
3319
|
+
if property_name in memeber_set:
|
3320
|
+
memeber_set.remove(property_name)
|
3321
|
+
if len(memeber_set) > 0:
|
3322
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
3323
|
+
|
3324
|
+
|
3325
|
+
|
2386
3326
|
class CdnPlayStatData(AbstractModel):
|
2387
3327
|
"""下行播放统计指标
|
2388
3328
|
|
@@ -3555,6 +4495,533 @@ class CopyCasterResponse(AbstractModel):
|
|
3555
4495
|
self._RequestId = params.get("RequestId")
|
3556
4496
|
|
3557
4497
|
|
4498
|
+
class CreateCasterInputPushUrlRequest(AbstractModel):
|
4499
|
+
"""CreateCasterInputPushUrl请求参数结构体
|
4500
|
+
|
4501
|
+
"""
|
4502
|
+
|
4503
|
+
def __init__(self):
|
4504
|
+
r"""
|
4505
|
+
:param _CasterId: 导播台ID
|
4506
|
+
:type CasterId: int
|
4507
|
+
:param _InputIndex: 请求生成推流地址的输入Index。
|
4508
|
+
允许范围[1,20]。
|
4509
|
+
:type InputIndex: int
|
4510
|
+
:param _Protocol: 生成推流地址协议。
|
4511
|
+
范围[rtmp,webrtc]。
|
4512
|
+
注:获取webrtc推流地址时,需配合腾讯云快直播推流sdk才可成功推流。
|
4513
|
+
:type Protocol: str
|
4514
|
+
"""
|
4515
|
+
self._CasterId = None
|
4516
|
+
self._InputIndex = None
|
4517
|
+
self._Protocol = None
|
4518
|
+
|
4519
|
+
@property
|
4520
|
+
def CasterId(self):
|
4521
|
+
"""导播台ID
|
4522
|
+
:rtype: int
|
4523
|
+
"""
|
4524
|
+
return self._CasterId
|
4525
|
+
|
4526
|
+
@CasterId.setter
|
4527
|
+
def CasterId(self, CasterId):
|
4528
|
+
self._CasterId = CasterId
|
4529
|
+
|
4530
|
+
@property
|
4531
|
+
def InputIndex(self):
|
4532
|
+
"""请求生成推流地址的输入Index。
|
4533
|
+
允许范围[1,20]。
|
4534
|
+
:rtype: int
|
4535
|
+
"""
|
4536
|
+
return self._InputIndex
|
4537
|
+
|
4538
|
+
@InputIndex.setter
|
4539
|
+
def InputIndex(self, InputIndex):
|
4540
|
+
self._InputIndex = InputIndex
|
4541
|
+
|
4542
|
+
@property
|
4543
|
+
def Protocol(self):
|
4544
|
+
"""生成推流地址协议。
|
4545
|
+
范围[rtmp,webrtc]。
|
4546
|
+
注:获取webrtc推流地址时,需配合腾讯云快直播推流sdk才可成功推流。
|
4547
|
+
:rtype: str
|
4548
|
+
"""
|
4549
|
+
return self._Protocol
|
4550
|
+
|
4551
|
+
@Protocol.setter
|
4552
|
+
def Protocol(self, Protocol):
|
4553
|
+
self._Protocol = Protocol
|
4554
|
+
|
4555
|
+
|
4556
|
+
def _deserialize(self, params):
|
4557
|
+
self._CasterId = params.get("CasterId")
|
4558
|
+
self._InputIndex = params.get("InputIndex")
|
4559
|
+
self._Protocol = params.get("Protocol")
|
4560
|
+
memeber_set = set(params.keys())
|
4561
|
+
for name, value in vars(self).items():
|
4562
|
+
property_name = name[1:]
|
4563
|
+
if property_name in memeber_set:
|
4564
|
+
memeber_set.remove(property_name)
|
4565
|
+
if len(memeber_set) > 0:
|
4566
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4567
|
+
|
4568
|
+
|
4569
|
+
|
4570
|
+
class CreateCasterInputPushUrlResponse(AbstractModel):
|
4571
|
+
"""CreateCasterInputPushUrl返回参数结构体
|
4572
|
+
|
4573
|
+
"""
|
4574
|
+
|
4575
|
+
def __init__(self):
|
4576
|
+
r"""
|
4577
|
+
:param _PushUrl: 生成可使用的推流地址。
|
4578
|
+
:type PushUrl: str
|
4579
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4580
|
+
:type RequestId: str
|
4581
|
+
"""
|
4582
|
+
self._PushUrl = None
|
4583
|
+
self._RequestId = None
|
4584
|
+
|
4585
|
+
@property
|
4586
|
+
def PushUrl(self):
|
4587
|
+
"""生成可使用的推流地址。
|
4588
|
+
:rtype: str
|
4589
|
+
"""
|
4590
|
+
return self._PushUrl
|
4591
|
+
|
4592
|
+
@PushUrl.setter
|
4593
|
+
def PushUrl(self, PushUrl):
|
4594
|
+
self._PushUrl = PushUrl
|
4595
|
+
|
4596
|
+
@property
|
4597
|
+
def RequestId(self):
|
4598
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4599
|
+
:rtype: str
|
4600
|
+
"""
|
4601
|
+
return self._RequestId
|
4602
|
+
|
4603
|
+
@RequestId.setter
|
4604
|
+
def RequestId(self, RequestId):
|
4605
|
+
self._RequestId = RequestId
|
4606
|
+
|
4607
|
+
|
4608
|
+
def _deserialize(self, params):
|
4609
|
+
self._PushUrl = params.get("PushUrl")
|
4610
|
+
self._RequestId = params.get("RequestId")
|
4611
|
+
|
4612
|
+
|
4613
|
+
class CreateCasterPgmFromPvwRequest(AbstractModel):
|
4614
|
+
"""CreateCasterPgmFromPvw请求参数结构体
|
4615
|
+
|
4616
|
+
"""
|
4617
|
+
|
4618
|
+
def __init__(self):
|
4619
|
+
r"""
|
4620
|
+
:param _CasterId: 导播台ID。
|
4621
|
+
:type CasterId: int
|
4622
|
+
"""
|
4623
|
+
self._CasterId = None
|
4624
|
+
|
4625
|
+
@property
|
4626
|
+
def CasterId(self):
|
4627
|
+
"""导播台ID。
|
4628
|
+
:rtype: int
|
4629
|
+
"""
|
4630
|
+
return self._CasterId
|
4631
|
+
|
4632
|
+
@CasterId.setter
|
4633
|
+
def CasterId(self, CasterId):
|
4634
|
+
self._CasterId = CasterId
|
4635
|
+
|
4636
|
+
|
4637
|
+
def _deserialize(self, params):
|
4638
|
+
self._CasterId = params.get("CasterId")
|
4639
|
+
memeber_set = set(params.keys())
|
4640
|
+
for name, value in vars(self).items():
|
4641
|
+
property_name = name[1:]
|
4642
|
+
if property_name in memeber_set:
|
4643
|
+
memeber_set.remove(property_name)
|
4644
|
+
if len(memeber_set) > 0:
|
4645
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4646
|
+
|
4647
|
+
|
4648
|
+
|
4649
|
+
class CreateCasterPgmFromPvwResponse(AbstractModel):
|
4650
|
+
"""CreateCasterPgmFromPvw返回参数结构体
|
4651
|
+
|
4652
|
+
"""
|
4653
|
+
|
4654
|
+
def __init__(self):
|
4655
|
+
r"""
|
4656
|
+
:param _PgmPlayUrl: 主监任务的rtmp协议预览地址。
|
4657
|
+
注:该地址仅供预览,不可分发。
|
4658
|
+
:type PgmPlayUrl: str
|
4659
|
+
:param _CdnPlayUrl: 注:该字段已废弃,请结合腾讯云直播播放地址生成策略生成cdn播放地址
|
4660
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4661
|
+
:type CdnPlayUrl: str
|
4662
|
+
:param _CdnStreamId: 主监任务在腾讯云直播侧的流ID。
|
4663
|
+
:type CdnStreamId: str
|
4664
|
+
:param _PgmWebRTCPlayUrl: 主监任务的webrtc协议播放地址。
|
4665
|
+
注:
|
4666
|
+
1.该预览地址仅作为预览,不可分发。
|
4667
|
+
2.webrtc播放地址需配合腾讯云快直播播放sdk使用。
|
4668
|
+
:type PgmWebRTCPlayUrl: str
|
4669
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4670
|
+
:type RequestId: str
|
4671
|
+
"""
|
4672
|
+
self._PgmPlayUrl = None
|
4673
|
+
self._CdnPlayUrl = None
|
4674
|
+
self._CdnStreamId = None
|
4675
|
+
self._PgmWebRTCPlayUrl = None
|
4676
|
+
self._RequestId = None
|
4677
|
+
|
4678
|
+
@property
|
4679
|
+
def PgmPlayUrl(self):
|
4680
|
+
"""主监任务的rtmp协议预览地址。
|
4681
|
+
注:该地址仅供预览,不可分发。
|
4682
|
+
:rtype: str
|
4683
|
+
"""
|
4684
|
+
return self._PgmPlayUrl
|
4685
|
+
|
4686
|
+
@PgmPlayUrl.setter
|
4687
|
+
def PgmPlayUrl(self, PgmPlayUrl):
|
4688
|
+
self._PgmPlayUrl = PgmPlayUrl
|
4689
|
+
|
4690
|
+
@property
|
4691
|
+
def CdnPlayUrl(self):
|
4692
|
+
"""注:该字段已废弃,请结合腾讯云直播播放地址生成策略生成cdn播放地址
|
4693
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4694
|
+
:rtype: str
|
4695
|
+
"""
|
4696
|
+
return self._CdnPlayUrl
|
4697
|
+
|
4698
|
+
@CdnPlayUrl.setter
|
4699
|
+
def CdnPlayUrl(self, CdnPlayUrl):
|
4700
|
+
self._CdnPlayUrl = CdnPlayUrl
|
4701
|
+
|
4702
|
+
@property
|
4703
|
+
def CdnStreamId(self):
|
4704
|
+
"""主监任务在腾讯云直播侧的流ID。
|
4705
|
+
:rtype: str
|
4706
|
+
"""
|
4707
|
+
return self._CdnStreamId
|
4708
|
+
|
4709
|
+
@CdnStreamId.setter
|
4710
|
+
def CdnStreamId(self, CdnStreamId):
|
4711
|
+
self._CdnStreamId = CdnStreamId
|
4712
|
+
|
4713
|
+
@property
|
4714
|
+
def PgmWebRTCPlayUrl(self):
|
4715
|
+
"""主监任务的webrtc协议播放地址。
|
4716
|
+
注:
|
4717
|
+
1.该预览地址仅作为预览,不可分发。
|
4718
|
+
2.webrtc播放地址需配合腾讯云快直播播放sdk使用。
|
4719
|
+
:rtype: str
|
4720
|
+
"""
|
4721
|
+
return self._PgmWebRTCPlayUrl
|
4722
|
+
|
4723
|
+
@PgmWebRTCPlayUrl.setter
|
4724
|
+
def PgmWebRTCPlayUrl(self, PgmWebRTCPlayUrl):
|
4725
|
+
self._PgmWebRTCPlayUrl = PgmWebRTCPlayUrl
|
4726
|
+
|
4727
|
+
@property
|
4728
|
+
def RequestId(self):
|
4729
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4730
|
+
:rtype: str
|
4731
|
+
"""
|
4732
|
+
return self._RequestId
|
4733
|
+
|
4734
|
+
@RequestId.setter
|
4735
|
+
def RequestId(self, RequestId):
|
4736
|
+
self._RequestId = RequestId
|
4737
|
+
|
4738
|
+
|
4739
|
+
def _deserialize(self, params):
|
4740
|
+
self._PgmPlayUrl = params.get("PgmPlayUrl")
|
4741
|
+
self._CdnPlayUrl = params.get("CdnPlayUrl")
|
4742
|
+
self._CdnStreamId = params.get("CdnStreamId")
|
4743
|
+
self._PgmWebRTCPlayUrl = params.get("PgmWebRTCPlayUrl")
|
4744
|
+
self._RequestId = params.get("RequestId")
|
4745
|
+
|
4746
|
+
|
4747
|
+
class CreateCasterPgmRequest(AbstractModel):
|
4748
|
+
"""CreateCasterPgm请求参数结构体
|
4749
|
+
|
4750
|
+
"""
|
4751
|
+
|
4752
|
+
def __init__(self):
|
4753
|
+
r"""
|
4754
|
+
:param _PgmDisplayInfo: 导播台展示信息参数。
|
4755
|
+
:type PgmDisplayInfo: :class:`tencentcloud.live.v20180801.models.CasterDisplayInfo`
|
4756
|
+
:param _CasterId: 导播台ID。
|
4757
|
+
:type CasterId: int
|
4758
|
+
"""
|
4759
|
+
self._PgmDisplayInfo = None
|
4760
|
+
self._CasterId = None
|
4761
|
+
|
4762
|
+
@property
|
4763
|
+
def PgmDisplayInfo(self):
|
4764
|
+
"""导播台展示信息参数。
|
4765
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CasterDisplayInfo`
|
4766
|
+
"""
|
4767
|
+
return self._PgmDisplayInfo
|
4768
|
+
|
4769
|
+
@PgmDisplayInfo.setter
|
4770
|
+
def PgmDisplayInfo(self, PgmDisplayInfo):
|
4771
|
+
self._PgmDisplayInfo = PgmDisplayInfo
|
4772
|
+
|
4773
|
+
@property
|
4774
|
+
def CasterId(self):
|
4775
|
+
"""导播台ID。
|
4776
|
+
:rtype: int
|
4777
|
+
"""
|
4778
|
+
return self._CasterId
|
4779
|
+
|
4780
|
+
@CasterId.setter
|
4781
|
+
def CasterId(self, CasterId):
|
4782
|
+
self._CasterId = CasterId
|
4783
|
+
|
4784
|
+
|
4785
|
+
def _deserialize(self, params):
|
4786
|
+
if params.get("PgmDisplayInfo") is not None:
|
4787
|
+
self._PgmDisplayInfo = CasterDisplayInfo()
|
4788
|
+
self._PgmDisplayInfo._deserialize(params.get("PgmDisplayInfo"))
|
4789
|
+
self._CasterId = params.get("CasterId")
|
4790
|
+
memeber_set = set(params.keys())
|
4791
|
+
for name, value in vars(self).items():
|
4792
|
+
property_name = name[1:]
|
4793
|
+
if property_name in memeber_set:
|
4794
|
+
memeber_set.remove(property_name)
|
4795
|
+
if len(memeber_set) > 0:
|
4796
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4797
|
+
|
4798
|
+
|
4799
|
+
|
4800
|
+
class CreateCasterPgmResponse(AbstractModel):
|
4801
|
+
"""CreateCasterPgm返回参数结构体
|
4802
|
+
|
4803
|
+
"""
|
4804
|
+
|
4805
|
+
def __init__(self):
|
4806
|
+
r"""
|
4807
|
+
:param _PgmPlayUrl: 主监任务的rtmp协议预览地址。
|
4808
|
+
注:该地址仅供预览,不可分发。
|
4809
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4810
|
+
:type PgmPlayUrl: str
|
4811
|
+
:param _CdnPlayUrl: 注:该字段已废弃,请结合腾讯云直播播放地址生成策略生成cdn播放地址。
|
4812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4813
|
+
:type CdnPlayUrl: str
|
4814
|
+
:param _CdnStreamId: 主监任务在腾讯云直播侧的流ID。
|
4815
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4816
|
+
:type CdnStreamId: str
|
4817
|
+
:param _PgmWebRTCPlayUrl: 主监任务的webrtc协议播放地址。
|
4818
|
+
注:
|
4819
|
+
1. 该预览地址仅作为预览,不可分发。
|
4820
|
+
2. webrtc播放地址需配合腾讯云快直播播放sdk使用。
|
4821
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4822
|
+
:type PgmWebRTCPlayUrl: str
|
4823
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4824
|
+
:type RequestId: str
|
4825
|
+
"""
|
4826
|
+
self._PgmPlayUrl = None
|
4827
|
+
self._CdnPlayUrl = None
|
4828
|
+
self._CdnStreamId = None
|
4829
|
+
self._PgmWebRTCPlayUrl = None
|
4830
|
+
self._RequestId = None
|
4831
|
+
|
4832
|
+
@property
|
4833
|
+
def PgmPlayUrl(self):
|
4834
|
+
"""主监任务的rtmp协议预览地址。
|
4835
|
+
注:该地址仅供预览,不可分发。
|
4836
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4837
|
+
:rtype: str
|
4838
|
+
"""
|
4839
|
+
return self._PgmPlayUrl
|
4840
|
+
|
4841
|
+
@PgmPlayUrl.setter
|
4842
|
+
def PgmPlayUrl(self, PgmPlayUrl):
|
4843
|
+
self._PgmPlayUrl = PgmPlayUrl
|
4844
|
+
|
4845
|
+
@property
|
4846
|
+
def CdnPlayUrl(self):
|
4847
|
+
"""注:该字段已废弃,请结合腾讯云直播播放地址生成策略生成cdn播放地址。
|
4848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4849
|
+
:rtype: str
|
4850
|
+
"""
|
4851
|
+
return self._CdnPlayUrl
|
4852
|
+
|
4853
|
+
@CdnPlayUrl.setter
|
4854
|
+
def CdnPlayUrl(self, CdnPlayUrl):
|
4855
|
+
self._CdnPlayUrl = CdnPlayUrl
|
4856
|
+
|
4857
|
+
@property
|
4858
|
+
def CdnStreamId(self):
|
4859
|
+
"""主监任务在腾讯云直播侧的流ID。
|
4860
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4861
|
+
:rtype: str
|
4862
|
+
"""
|
4863
|
+
return self._CdnStreamId
|
4864
|
+
|
4865
|
+
@CdnStreamId.setter
|
4866
|
+
def CdnStreamId(self, CdnStreamId):
|
4867
|
+
self._CdnStreamId = CdnStreamId
|
4868
|
+
|
4869
|
+
@property
|
4870
|
+
def PgmWebRTCPlayUrl(self):
|
4871
|
+
"""主监任务的webrtc协议播放地址。
|
4872
|
+
注:
|
4873
|
+
1. 该预览地址仅作为预览,不可分发。
|
4874
|
+
2. webrtc播放地址需配合腾讯云快直播播放sdk使用。
|
4875
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
4876
|
+
:rtype: str
|
4877
|
+
"""
|
4878
|
+
return self._PgmWebRTCPlayUrl
|
4879
|
+
|
4880
|
+
@PgmWebRTCPlayUrl.setter
|
4881
|
+
def PgmWebRTCPlayUrl(self, PgmWebRTCPlayUrl):
|
4882
|
+
self._PgmWebRTCPlayUrl = PgmWebRTCPlayUrl
|
4883
|
+
|
4884
|
+
@property
|
4885
|
+
def RequestId(self):
|
4886
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4887
|
+
:rtype: str
|
4888
|
+
"""
|
4889
|
+
return self._RequestId
|
4890
|
+
|
4891
|
+
@RequestId.setter
|
4892
|
+
def RequestId(self, RequestId):
|
4893
|
+
self._RequestId = RequestId
|
4894
|
+
|
4895
|
+
|
4896
|
+
def _deserialize(self, params):
|
4897
|
+
self._PgmPlayUrl = params.get("PgmPlayUrl")
|
4898
|
+
self._CdnPlayUrl = params.get("CdnPlayUrl")
|
4899
|
+
self._CdnStreamId = params.get("CdnStreamId")
|
4900
|
+
self._PgmWebRTCPlayUrl = params.get("PgmWebRTCPlayUrl")
|
4901
|
+
self._RequestId = params.get("RequestId")
|
4902
|
+
|
4903
|
+
|
4904
|
+
class CreateCasterPvwRequest(AbstractModel):
|
4905
|
+
"""CreateCasterPvw请求参数结构体
|
4906
|
+
|
4907
|
+
"""
|
4908
|
+
|
4909
|
+
def __init__(self):
|
4910
|
+
r"""
|
4911
|
+
:param _PvwDisplayInfo: 导播台预监展示信息参数
|
4912
|
+
:type PvwDisplayInfo: :class:`tencentcloud.live.v20180801.models.CasterDisplayInfo`
|
4913
|
+
:param _CasterId: 导播台ID。
|
4914
|
+
:type CasterId: int
|
4915
|
+
"""
|
4916
|
+
self._PvwDisplayInfo = None
|
4917
|
+
self._CasterId = None
|
4918
|
+
|
4919
|
+
@property
|
4920
|
+
def PvwDisplayInfo(self):
|
4921
|
+
"""导播台预监展示信息参数
|
4922
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CasterDisplayInfo`
|
4923
|
+
"""
|
4924
|
+
return self._PvwDisplayInfo
|
4925
|
+
|
4926
|
+
@PvwDisplayInfo.setter
|
4927
|
+
def PvwDisplayInfo(self, PvwDisplayInfo):
|
4928
|
+
self._PvwDisplayInfo = PvwDisplayInfo
|
4929
|
+
|
4930
|
+
@property
|
4931
|
+
def CasterId(self):
|
4932
|
+
"""导播台ID。
|
4933
|
+
:rtype: int
|
4934
|
+
"""
|
4935
|
+
return self._CasterId
|
4936
|
+
|
4937
|
+
@CasterId.setter
|
4938
|
+
def CasterId(self, CasterId):
|
4939
|
+
self._CasterId = CasterId
|
4940
|
+
|
4941
|
+
|
4942
|
+
def _deserialize(self, params):
|
4943
|
+
if params.get("PvwDisplayInfo") is not None:
|
4944
|
+
self._PvwDisplayInfo = CasterDisplayInfo()
|
4945
|
+
self._PvwDisplayInfo._deserialize(params.get("PvwDisplayInfo"))
|
4946
|
+
self._CasterId = params.get("CasterId")
|
4947
|
+
memeber_set = set(params.keys())
|
4948
|
+
for name, value in vars(self).items():
|
4949
|
+
property_name = name[1:]
|
4950
|
+
if property_name in memeber_set:
|
4951
|
+
memeber_set.remove(property_name)
|
4952
|
+
if len(memeber_set) > 0:
|
4953
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4954
|
+
|
4955
|
+
|
4956
|
+
|
4957
|
+
class CreateCasterPvwResponse(AbstractModel):
|
4958
|
+
"""CreateCasterPvw返回参数结构体
|
4959
|
+
|
4960
|
+
"""
|
4961
|
+
|
4962
|
+
def __init__(self):
|
4963
|
+
r"""
|
4964
|
+
:param _PvwPlayUrl: 预监任务的画面rtmp协议预览地址。
|
4965
|
+
注:该预览地址仅供画面预览,不可分发。
|
4966
|
+
:type PvwPlayUrl: str
|
4967
|
+
:param _PvwWebRTCPlayUrl: 预监任务的webrtc协议预览画面。
|
4968
|
+
注:
|
4969
|
+
1. 该预览地址仅供预览,不可分发。
|
4970
|
+
2. webrtc播放地址,需配合腾讯云快直播播放sdk使用
|
4971
|
+
|
4972
|
+
:type PvwWebRTCPlayUrl: str
|
4973
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4974
|
+
:type RequestId: str
|
4975
|
+
"""
|
4976
|
+
self._PvwPlayUrl = None
|
4977
|
+
self._PvwWebRTCPlayUrl = None
|
4978
|
+
self._RequestId = None
|
4979
|
+
|
4980
|
+
@property
|
4981
|
+
def PvwPlayUrl(self):
|
4982
|
+
"""预监任务的画面rtmp协议预览地址。
|
4983
|
+
注:该预览地址仅供画面预览,不可分发。
|
4984
|
+
:rtype: str
|
4985
|
+
"""
|
4986
|
+
return self._PvwPlayUrl
|
4987
|
+
|
4988
|
+
@PvwPlayUrl.setter
|
4989
|
+
def PvwPlayUrl(self, PvwPlayUrl):
|
4990
|
+
self._PvwPlayUrl = PvwPlayUrl
|
4991
|
+
|
4992
|
+
@property
|
4993
|
+
def PvwWebRTCPlayUrl(self):
|
4994
|
+
"""预监任务的webrtc协议预览画面。
|
4995
|
+
注:
|
4996
|
+
1. 该预览地址仅供预览,不可分发。
|
4997
|
+
2. webrtc播放地址,需配合腾讯云快直播播放sdk使用
|
4998
|
+
|
4999
|
+
:rtype: str
|
5000
|
+
"""
|
5001
|
+
return self._PvwWebRTCPlayUrl
|
5002
|
+
|
5003
|
+
@PvwWebRTCPlayUrl.setter
|
5004
|
+
def PvwWebRTCPlayUrl(self, PvwWebRTCPlayUrl):
|
5005
|
+
self._PvwWebRTCPlayUrl = PvwWebRTCPlayUrl
|
5006
|
+
|
5007
|
+
@property
|
5008
|
+
def RequestId(self):
|
5009
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5010
|
+
:rtype: str
|
5011
|
+
"""
|
5012
|
+
return self._RequestId
|
5013
|
+
|
5014
|
+
@RequestId.setter
|
5015
|
+
def RequestId(self, RequestId):
|
5016
|
+
self._RequestId = RequestId
|
5017
|
+
|
5018
|
+
|
5019
|
+
def _deserialize(self, params):
|
5020
|
+
self._PvwPlayUrl = params.get("PvwPlayUrl")
|
5021
|
+
self._PvwWebRTCPlayUrl = params.get("PvwWebRTCPlayUrl")
|
5022
|
+
self._RequestId = params.get("RequestId")
|
5023
|
+
|
5024
|
+
|
3558
5025
|
class CreateCasterRequest(AbstractModel):
|
3559
5026
|
"""CreateCaster请求参数结构体
|
3560
5027
|
|
@@ -8270,6 +9737,251 @@ class DelayInfo(AbstractModel):
|
|
8270
9737
|
|
8271
9738
|
|
8272
9739
|
|
9740
|
+
class DeleteCasterInputInfoRequest(AbstractModel):
|
9741
|
+
"""DeleteCasterInputInfo请求参数结构体
|
9742
|
+
|
9743
|
+
"""
|
9744
|
+
|
9745
|
+
def __init__(self):
|
9746
|
+
r"""
|
9747
|
+
:param _CasterId: 导播台ID
|
9748
|
+
:type CasterId: int
|
9749
|
+
:param _InputIndex: 导播台输入Index。
|
9750
|
+
范围[0,20]
|
9751
|
+
注:该Index对应的输入源需存在。
|
9752
|
+
:type InputIndex: int
|
9753
|
+
"""
|
9754
|
+
self._CasterId = None
|
9755
|
+
self._InputIndex = None
|
9756
|
+
|
9757
|
+
@property
|
9758
|
+
def CasterId(self):
|
9759
|
+
"""导播台ID
|
9760
|
+
:rtype: int
|
9761
|
+
"""
|
9762
|
+
return self._CasterId
|
9763
|
+
|
9764
|
+
@CasterId.setter
|
9765
|
+
def CasterId(self, CasterId):
|
9766
|
+
self._CasterId = CasterId
|
9767
|
+
|
9768
|
+
@property
|
9769
|
+
def InputIndex(self):
|
9770
|
+
"""导播台输入Index。
|
9771
|
+
范围[0,20]
|
9772
|
+
注:该Index对应的输入源需存在。
|
9773
|
+
:rtype: int
|
9774
|
+
"""
|
9775
|
+
return self._InputIndex
|
9776
|
+
|
9777
|
+
@InputIndex.setter
|
9778
|
+
def InputIndex(self, InputIndex):
|
9779
|
+
self._InputIndex = InputIndex
|
9780
|
+
|
9781
|
+
|
9782
|
+
def _deserialize(self, params):
|
9783
|
+
self._CasterId = params.get("CasterId")
|
9784
|
+
self._InputIndex = params.get("InputIndex")
|
9785
|
+
memeber_set = set(params.keys())
|
9786
|
+
for name, value in vars(self).items():
|
9787
|
+
property_name = name[1:]
|
9788
|
+
if property_name in memeber_set:
|
9789
|
+
memeber_set.remove(property_name)
|
9790
|
+
if len(memeber_set) > 0:
|
9791
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9792
|
+
|
9793
|
+
|
9794
|
+
|
9795
|
+
class DeleteCasterInputInfoResponse(AbstractModel):
|
9796
|
+
"""DeleteCasterInputInfo返回参数结构体
|
9797
|
+
|
9798
|
+
"""
|
9799
|
+
|
9800
|
+
def __init__(self):
|
9801
|
+
r"""
|
9802
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9803
|
+
:type RequestId: str
|
9804
|
+
"""
|
9805
|
+
self._RequestId = None
|
9806
|
+
|
9807
|
+
@property
|
9808
|
+
def RequestId(self):
|
9809
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9810
|
+
:rtype: str
|
9811
|
+
"""
|
9812
|
+
return self._RequestId
|
9813
|
+
|
9814
|
+
@RequestId.setter
|
9815
|
+
def RequestId(self, RequestId):
|
9816
|
+
self._RequestId = RequestId
|
9817
|
+
|
9818
|
+
|
9819
|
+
def _deserialize(self, params):
|
9820
|
+
self._RequestId = params.get("RequestId")
|
9821
|
+
|
9822
|
+
|
9823
|
+
class DeleteCasterLayoutInfoRequest(AbstractModel):
|
9824
|
+
"""DeleteCasterLayoutInfo请求参数结构体
|
9825
|
+
|
9826
|
+
"""
|
9827
|
+
|
9828
|
+
def __init__(self):
|
9829
|
+
r"""
|
9830
|
+
:param _CasterId: 导播台ID。
|
9831
|
+
:type CasterId: int
|
9832
|
+
:param _LayoutIndex: 要删除的布局Index。
|
9833
|
+
注:待删除的Index对应的布局需存在。
|
9834
|
+
:type LayoutIndex: int
|
9835
|
+
"""
|
9836
|
+
self._CasterId = None
|
9837
|
+
self._LayoutIndex = None
|
9838
|
+
|
9839
|
+
@property
|
9840
|
+
def CasterId(self):
|
9841
|
+
"""导播台ID。
|
9842
|
+
:rtype: int
|
9843
|
+
"""
|
9844
|
+
return self._CasterId
|
9845
|
+
|
9846
|
+
@CasterId.setter
|
9847
|
+
def CasterId(self, CasterId):
|
9848
|
+
self._CasterId = CasterId
|
9849
|
+
|
9850
|
+
@property
|
9851
|
+
def LayoutIndex(self):
|
9852
|
+
"""要删除的布局Index。
|
9853
|
+
注:待删除的Index对应的布局需存在。
|
9854
|
+
:rtype: int
|
9855
|
+
"""
|
9856
|
+
return self._LayoutIndex
|
9857
|
+
|
9858
|
+
@LayoutIndex.setter
|
9859
|
+
def LayoutIndex(self, LayoutIndex):
|
9860
|
+
self._LayoutIndex = LayoutIndex
|
9861
|
+
|
9862
|
+
|
9863
|
+
def _deserialize(self, params):
|
9864
|
+
self._CasterId = params.get("CasterId")
|
9865
|
+
self._LayoutIndex = params.get("LayoutIndex")
|
9866
|
+
memeber_set = set(params.keys())
|
9867
|
+
for name, value in vars(self).items():
|
9868
|
+
property_name = name[1:]
|
9869
|
+
if property_name in memeber_set:
|
9870
|
+
memeber_set.remove(property_name)
|
9871
|
+
if len(memeber_set) > 0:
|
9872
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9873
|
+
|
9874
|
+
|
9875
|
+
|
9876
|
+
class DeleteCasterLayoutInfoResponse(AbstractModel):
|
9877
|
+
"""DeleteCasterLayoutInfo返回参数结构体
|
9878
|
+
|
9879
|
+
"""
|
9880
|
+
|
9881
|
+
def __init__(self):
|
9882
|
+
r"""
|
9883
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9884
|
+
:type RequestId: str
|
9885
|
+
"""
|
9886
|
+
self._RequestId = None
|
9887
|
+
|
9888
|
+
@property
|
9889
|
+
def RequestId(self):
|
9890
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9891
|
+
:rtype: str
|
9892
|
+
"""
|
9893
|
+
return self._RequestId
|
9894
|
+
|
9895
|
+
@RequestId.setter
|
9896
|
+
def RequestId(self, RequestId):
|
9897
|
+
self._RequestId = RequestId
|
9898
|
+
|
9899
|
+
|
9900
|
+
def _deserialize(self, params):
|
9901
|
+
self._RequestId = params.get("RequestId")
|
9902
|
+
|
9903
|
+
|
9904
|
+
class DeleteCasterOutputInfoRequest(AbstractModel):
|
9905
|
+
"""DeleteCasterOutputInfo请求参数结构体
|
9906
|
+
|
9907
|
+
"""
|
9908
|
+
|
9909
|
+
def __init__(self):
|
9910
|
+
r"""
|
9911
|
+
:param _CasterId: 导播台ID。
|
9912
|
+
:type CasterId: int
|
9913
|
+
:param _OutputIndex: 待删除的推流信息Index。
|
9914
|
+
注:删除时,该Index对应的配置需要存在。
|
9915
|
+
:type OutputIndex: int
|
9916
|
+
"""
|
9917
|
+
self._CasterId = None
|
9918
|
+
self._OutputIndex = None
|
9919
|
+
|
9920
|
+
@property
|
9921
|
+
def CasterId(self):
|
9922
|
+
"""导播台ID。
|
9923
|
+
:rtype: int
|
9924
|
+
"""
|
9925
|
+
return self._CasterId
|
9926
|
+
|
9927
|
+
@CasterId.setter
|
9928
|
+
def CasterId(self, CasterId):
|
9929
|
+
self._CasterId = CasterId
|
9930
|
+
|
9931
|
+
@property
|
9932
|
+
def OutputIndex(self):
|
9933
|
+
"""待删除的推流信息Index。
|
9934
|
+
注:删除时,该Index对应的配置需要存在。
|
9935
|
+
:rtype: int
|
9936
|
+
"""
|
9937
|
+
return self._OutputIndex
|
9938
|
+
|
9939
|
+
@OutputIndex.setter
|
9940
|
+
def OutputIndex(self, OutputIndex):
|
9941
|
+
self._OutputIndex = OutputIndex
|
9942
|
+
|
9943
|
+
|
9944
|
+
def _deserialize(self, params):
|
9945
|
+
self._CasterId = params.get("CasterId")
|
9946
|
+
self._OutputIndex = params.get("OutputIndex")
|
9947
|
+
memeber_set = set(params.keys())
|
9948
|
+
for name, value in vars(self).items():
|
9949
|
+
property_name = name[1:]
|
9950
|
+
if property_name in memeber_set:
|
9951
|
+
memeber_set.remove(property_name)
|
9952
|
+
if len(memeber_set) > 0:
|
9953
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
9954
|
+
|
9955
|
+
|
9956
|
+
|
9957
|
+
class DeleteCasterOutputInfoResponse(AbstractModel):
|
9958
|
+
"""DeleteCasterOutputInfo返回参数结构体
|
9959
|
+
|
9960
|
+
"""
|
9961
|
+
|
9962
|
+
def __init__(self):
|
9963
|
+
r"""
|
9964
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9965
|
+
:type RequestId: str
|
9966
|
+
"""
|
9967
|
+
self._RequestId = None
|
9968
|
+
|
9969
|
+
@property
|
9970
|
+
def RequestId(self):
|
9971
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
9972
|
+
:rtype: str
|
9973
|
+
"""
|
9974
|
+
return self._RequestId
|
9975
|
+
|
9976
|
+
@RequestId.setter
|
9977
|
+
def RequestId(self, RequestId):
|
9978
|
+
self._RequestId = RequestId
|
9979
|
+
|
9980
|
+
|
9981
|
+
def _deserialize(self, params):
|
9982
|
+
self._RequestId = params.get("RequestId")
|
9983
|
+
|
9984
|
+
|
8273
9985
|
class DeleteCasterRequest(AbstractModel):
|
8274
9986
|
"""DeleteCaster请求参数结构体
|
8275
9987
|
|
@@ -8750,9 +10462,12 @@ class DeleteLivePullStreamTaskRequest(AbstractModel):
|
|
8750
10462
|
:type TaskId: str
|
8751
10463
|
:param _Operator: 操作人姓名。
|
8752
10464
|
:type Operator: str
|
10465
|
+
:param _SpecifyTaskId: 指定任务 ID。注意:用于删除使用自定义任务 ID 创建的任务。
|
10466
|
+
:type SpecifyTaskId: str
|
8753
10467
|
"""
|
8754
10468
|
self._TaskId = None
|
8755
10469
|
self._Operator = None
|
10470
|
+
self._SpecifyTaskId = None
|
8756
10471
|
|
8757
10472
|
@property
|
8758
10473
|
def TaskId(self):
|
@@ -8776,10 +10491,22 @@ class DeleteLivePullStreamTaskRequest(AbstractModel):
|
|
8776
10491
|
def Operator(self, Operator):
|
8777
10492
|
self._Operator = Operator
|
8778
10493
|
|
10494
|
+
@property
|
10495
|
+
def SpecifyTaskId(self):
|
10496
|
+
"""指定任务 ID。注意:用于删除使用自定义任务 ID 创建的任务。
|
10497
|
+
:rtype: str
|
10498
|
+
"""
|
10499
|
+
return self._SpecifyTaskId
|
10500
|
+
|
10501
|
+
@SpecifyTaskId.setter
|
10502
|
+
def SpecifyTaskId(self, SpecifyTaskId):
|
10503
|
+
self._SpecifyTaskId = SpecifyTaskId
|
10504
|
+
|
8779
10505
|
|
8780
10506
|
def _deserialize(self, params):
|
8781
10507
|
self._TaskId = params.get("TaskId")
|
8782
10508
|
self._Operator = params.get("Operator")
|
10509
|
+
self._SpecifyTaskId = params.get("SpecifyTaskId")
|
8783
10510
|
memeber_set = set(params.keys())
|
8784
10511
|
for name, value in vars(self).items():
|
8785
10512
|
property_name = name[1:]
|
@@ -11007,6 +12734,174 @@ class DescribeCasterDisplayInfoResponse(AbstractModel):
|
|
11007
12734
|
self._RequestId = params.get("RequestId")
|
11008
12735
|
|
11009
12736
|
|
12737
|
+
class DescribeCasterInputInfosRequest(AbstractModel):
|
12738
|
+
"""DescribeCasterInputInfos请求参数结构体
|
12739
|
+
|
12740
|
+
"""
|
12741
|
+
|
12742
|
+
def __init__(self):
|
12743
|
+
r"""
|
12744
|
+
:param _CasterId: 导播台ID
|
12745
|
+
:type CasterId: int
|
12746
|
+
"""
|
12747
|
+
self._CasterId = None
|
12748
|
+
|
12749
|
+
@property
|
12750
|
+
def CasterId(self):
|
12751
|
+
"""导播台ID
|
12752
|
+
:rtype: int
|
12753
|
+
"""
|
12754
|
+
return self._CasterId
|
12755
|
+
|
12756
|
+
@CasterId.setter
|
12757
|
+
def CasterId(self, CasterId):
|
12758
|
+
self._CasterId = CasterId
|
12759
|
+
|
12760
|
+
|
12761
|
+
def _deserialize(self, params):
|
12762
|
+
self._CasterId = params.get("CasterId")
|
12763
|
+
memeber_set = set(params.keys())
|
12764
|
+
for name, value in vars(self).items():
|
12765
|
+
property_name = name[1:]
|
12766
|
+
if property_name in memeber_set:
|
12767
|
+
memeber_set.remove(property_name)
|
12768
|
+
if len(memeber_set) > 0:
|
12769
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12770
|
+
|
12771
|
+
|
12772
|
+
|
12773
|
+
class DescribeCasterInputInfosResponse(AbstractModel):
|
12774
|
+
"""DescribeCasterInputInfos返回参数结构体
|
12775
|
+
|
12776
|
+
"""
|
12777
|
+
|
12778
|
+
def __init__(self):
|
12779
|
+
r"""
|
12780
|
+
:param _InputInfos: 导播台输入源信息列表。
|
12781
|
+
:type InputInfos: list of CasterInputInfo
|
12782
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12783
|
+
:type RequestId: str
|
12784
|
+
"""
|
12785
|
+
self._InputInfos = None
|
12786
|
+
self._RequestId = None
|
12787
|
+
|
12788
|
+
@property
|
12789
|
+
def InputInfos(self):
|
12790
|
+
"""导播台输入源信息列表。
|
12791
|
+
:rtype: list of CasterInputInfo
|
12792
|
+
"""
|
12793
|
+
return self._InputInfos
|
12794
|
+
|
12795
|
+
@InputInfos.setter
|
12796
|
+
def InputInfos(self, InputInfos):
|
12797
|
+
self._InputInfos = InputInfos
|
12798
|
+
|
12799
|
+
@property
|
12800
|
+
def RequestId(self):
|
12801
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12802
|
+
:rtype: str
|
12803
|
+
"""
|
12804
|
+
return self._RequestId
|
12805
|
+
|
12806
|
+
@RequestId.setter
|
12807
|
+
def RequestId(self, RequestId):
|
12808
|
+
self._RequestId = RequestId
|
12809
|
+
|
12810
|
+
|
12811
|
+
def _deserialize(self, params):
|
12812
|
+
if params.get("InputInfos") is not None:
|
12813
|
+
self._InputInfos = []
|
12814
|
+
for item in params.get("InputInfos"):
|
12815
|
+
obj = CasterInputInfo()
|
12816
|
+
obj._deserialize(item)
|
12817
|
+
self._InputInfos.append(obj)
|
12818
|
+
self._RequestId = params.get("RequestId")
|
12819
|
+
|
12820
|
+
|
12821
|
+
class DescribeCasterLayoutInfosRequest(AbstractModel):
|
12822
|
+
"""DescribeCasterLayoutInfos请求参数结构体
|
12823
|
+
|
12824
|
+
"""
|
12825
|
+
|
12826
|
+
def __init__(self):
|
12827
|
+
r"""
|
12828
|
+
:param _CasterId: 导播台ID。
|
12829
|
+
:type CasterId: int
|
12830
|
+
"""
|
12831
|
+
self._CasterId = None
|
12832
|
+
|
12833
|
+
@property
|
12834
|
+
def CasterId(self):
|
12835
|
+
"""导播台ID。
|
12836
|
+
:rtype: int
|
12837
|
+
"""
|
12838
|
+
return self._CasterId
|
12839
|
+
|
12840
|
+
@CasterId.setter
|
12841
|
+
def CasterId(self, CasterId):
|
12842
|
+
self._CasterId = CasterId
|
12843
|
+
|
12844
|
+
|
12845
|
+
def _deserialize(self, params):
|
12846
|
+
self._CasterId = params.get("CasterId")
|
12847
|
+
memeber_set = set(params.keys())
|
12848
|
+
for name, value in vars(self).items():
|
12849
|
+
property_name = name[1:]
|
12850
|
+
if property_name in memeber_set:
|
12851
|
+
memeber_set.remove(property_name)
|
12852
|
+
if len(memeber_set) > 0:
|
12853
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12854
|
+
|
12855
|
+
|
12856
|
+
|
12857
|
+
class DescribeCasterLayoutInfosResponse(AbstractModel):
|
12858
|
+
"""DescribeCasterLayoutInfos返回参数结构体
|
12859
|
+
|
12860
|
+
"""
|
12861
|
+
|
12862
|
+
def __init__(self):
|
12863
|
+
r"""
|
12864
|
+
:param _LayoutInfos: 导播台的布局列表。
|
12865
|
+
:type LayoutInfos: list of CasterLayoutInfo
|
12866
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12867
|
+
:type RequestId: str
|
12868
|
+
"""
|
12869
|
+
self._LayoutInfos = None
|
12870
|
+
self._RequestId = None
|
12871
|
+
|
12872
|
+
@property
|
12873
|
+
def LayoutInfos(self):
|
12874
|
+
"""导播台的布局列表。
|
12875
|
+
:rtype: list of CasterLayoutInfo
|
12876
|
+
"""
|
12877
|
+
return self._LayoutInfos
|
12878
|
+
|
12879
|
+
@LayoutInfos.setter
|
12880
|
+
def LayoutInfos(self, LayoutInfos):
|
12881
|
+
self._LayoutInfos = LayoutInfos
|
12882
|
+
|
12883
|
+
@property
|
12884
|
+
def RequestId(self):
|
12885
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
12886
|
+
:rtype: str
|
12887
|
+
"""
|
12888
|
+
return self._RequestId
|
12889
|
+
|
12890
|
+
@RequestId.setter
|
12891
|
+
def RequestId(self, RequestId):
|
12892
|
+
self._RequestId = RequestId
|
12893
|
+
|
12894
|
+
|
12895
|
+
def _deserialize(self, params):
|
12896
|
+
if params.get("LayoutInfos") is not None:
|
12897
|
+
self._LayoutInfos = []
|
12898
|
+
for item in params.get("LayoutInfos"):
|
12899
|
+
obj = CasterLayoutInfo()
|
12900
|
+
obj._deserialize(item)
|
12901
|
+
self._LayoutInfos.append(obj)
|
12902
|
+
self._RequestId = params.get("RequestId")
|
12903
|
+
|
12904
|
+
|
11010
12905
|
class DescribeCasterListRequest(AbstractModel):
|
11011
12906
|
"""DescribeCasterList请求参数结构体
|
11012
12907
|
|
@@ -11063,6 +12958,92 @@ class DescribeCasterListResponse(AbstractModel):
|
|
11063
12958
|
self._RequestId = params.get("RequestId")
|
11064
12959
|
|
11065
12960
|
|
12961
|
+
class DescribeCasterOutputInfosRequest(AbstractModel):
|
12962
|
+
"""DescribeCasterOutputInfos请求参数结构体
|
12963
|
+
|
12964
|
+
"""
|
12965
|
+
|
12966
|
+
def __init__(self):
|
12967
|
+
r"""
|
12968
|
+
:param _CasterId: 导播台ID。
|
12969
|
+
:type CasterId: int
|
12970
|
+
"""
|
12971
|
+
self._CasterId = None
|
12972
|
+
|
12973
|
+
@property
|
12974
|
+
def CasterId(self):
|
12975
|
+
"""导播台ID。
|
12976
|
+
:rtype: int
|
12977
|
+
"""
|
12978
|
+
return self._CasterId
|
12979
|
+
|
12980
|
+
@CasterId.setter
|
12981
|
+
def CasterId(self, CasterId):
|
12982
|
+
self._CasterId = CasterId
|
12983
|
+
|
12984
|
+
|
12985
|
+
def _deserialize(self, params):
|
12986
|
+
self._CasterId = params.get("CasterId")
|
12987
|
+
memeber_set = set(params.keys())
|
12988
|
+
for name, value in vars(self).items():
|
12989
|
+
property_name = name[1:]
|
12990
|
+
if property_name in memeber_set:
|
12991
|
+
memeber_set.remove(property_name)
|
12992
|
+
if len(memeber_set) > 0:
|
12993
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12994
|
+
|
12995
|
+
|
12996
|
+
|
12997
|
+
class DescribeCasterOutputInfosResponse(AbstractModel):
|
12998
|
+
"""DescribeCasterOutputInfos返回参数结构体
|
12999
|
+
|
13000
|
+
"""
|
13001
|
+
|
13002
|
+
def __init__(self):
|
13003
|
+
r"""
|
13004
|
+
:param _OutputInfos: 导播台的推流信息列表。
|
13005
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13006
|
+
:type OutputInfos: list of CasterOutputInfo
|
13007
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13008
|
+
:type RequestId: str
|
13009
|
+
"""
|
13010
|
+
self._OutputInfos = None
|
13011
|
+
self._RequestId = None
|
13012
|
+
|
13013
|
+
@property
|
13014
|
+
def OutputInfos(self):
|
13015
|
+
"""导播台的推流信息列表。
|
13016
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
13017
|
+
:rtype: list of CasterOutputInfo
|
13018
|
+
"""
|
13019
|
+
return self._OutputInfos
|
13020
|
+
|
13021
|
+
@OutputInfos.setter
|
13022
|
+
def OutputInfos(self, OutputInfos):
|
13023
|
+
self._OutputInfos = OutputInfos
|
13024
|
+
|
13025
|
+
@property
|
13026
|
+
def RequestId(self):
|
13027
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13028
|
+
:rtype: str
|
13029
|
+
"""
|
13030
|
+
return self._RequestId
|
13031
|
+
|
13032
|
+
@RequestId.setter
|
13033
|
+
def RequestId(self, RequestId):
|
13034
|
+
self._RequestId = RequestId
|
13035
|
+
|
13036
|
+
|
13037
|
+
def _deserialize(self, params):
|
13038
|
+
if params.get("OutputInfos") is not None:
|
13039
|
+
self._OutputInfos = []
|
13040
|
+
for item in params.get("OutputInfos"):
|
13041
|
+
obj = CasterOutputInfo()
|
13042
|
+
obj._deserialize(item)
|
13043
|
+
self._OutputInfos.append(obj)
|
13044
|
+
self._RequestId = params.get("RequestId")
|
13045
|
+
|
13046
|
+
|
11066
13047
|
class DescribeCasterPlayUrlRequest(AbstractModel):
|
11067
13048
|
"""DescribeCasterPlayUrl请求参数结构体
|
11068
13049
|
|
@@ -24664,6 +26645,285 @@ class MixPortraitSegmentParams(AbstractModel):
|
|
24664
26645
|
|
24665
26646
|
|
24666
26647
|
|
26648
|
+
class ModifyCasterInputInfoRequest(AbstractModel):
|
26649
|
+
"""ModifyCasterInputInfo请求参数结构体
|
26650
|
+
|
26651
|
+
"""
|
26652
|
+
|
26653
|
+
def __init__(self):
|
26654
|
+
r"""
|
26655
|
+
:param _CasterId: 导播台ID。
|
26656
|
+
:type CasterId: int
|
26657
|
+
:param _InputInfo: 修改的导播台输入源信息
|
26658
|
+
:type InputInfo: :class:`tencentcloud.live.v20180801.models.CasterInputInfo`
|
26659
|
+
"""
|
26660
|
+
self._CasterId = None
|
26661
|
+
self._InputInfo = None
|
26662
|
+
|
26663
|
+
@property
|
26664
|
+
def CasterId(self):
|
26665
|
+
"""导播台ID。
|
26666
|
+
:rtype: int
|
26667
|
+
"""
|
26668
|
+
return self._CasterId
|
26669
|
+
|
26670
|
+
@CasterId.setter
|
26671
|
+
def CasterId(self, CasterId):
|
26672
|
+
self._CasterId = CasterId
|
26673
|
+
|
26674
|
+
@property
|
26675
|
+
def InputInfo(self):
|
26676
|
+
"""修改的导播台输入源信息
|
26677
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CasterInputInfo`
|
26678
|
+
"""
|
26679
|
+
return self._InputInfo
|
26680
|
+
|
26681
|
+
@InputInfo.setter
|
26682
|
+
def InputInfo(self, InputInfo):
|
26683
|
+
self._InputInfo = InputInfo
|
26684
|
+
|
26685
|
+
|
26686
|
+
def _deserialize(self, params):
|
26687
|
+
self._CasterId = params.get("CasterId")
|
26688
|
+
if params.get("InputInfo") is not None:
|
26689
|
+
self._InputInfo = CasterInputInfo()
|
26690
|
+
self._InputInfo._deserialize(params.get("InputInfo"))
|
26691
|
+
memeber_set = set(params.keys())
|
26692
|
+
for name, value in vars(self).items():
|
26693
|
+
property_name = name[1:]
|
26694
|
+
if property_name in memeber_set:
|
26695
|
+
memeber_set.remove(property_name)
|
26696
|
+
if len(memeber_set) > 0:
|
26697
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26698
|
+
|
26699
|
+
|
26700
|
+
|
26701
|
+
class ModifyCasterInputInfoResponse(AbstractModel):
|
26702
|
+
"""ModifyCasterInputInfo返回参数结构体
|
26703
|
+
|
26704
|
+
"""
|
26705
|
+
|
26706
|
+
def __init__(self):
|
26707
|
+
r"""
|
26708
|
+
:param _InputPlayUrl: 修改输入源后的预览地址。
|
26709
|
+
注:该地址仅作为预览使用,不可分发。
|
26710
|
+
:type InputPlayUrl: str
|
26711
|
+
:param _InputWebRTCPlayUrl: 修改后的输入源webrtc预览地址。
|
26712
|
+
该地址需配合腾讯云快直播播放SDK使用。
|
26713
|
+
注:该地址仅做预览使用,不可分发。
|
26714
|
+
:type InputWebRTCPlayUrl: str
|
26715
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26716
|
+
:type RequestId: str
|
26717
|
+
"""
|
26718
|
+
self._InputPlayUrl = None
|
26719
|
+
self._InputWebRTCPlayUrl = None
|
26720
|
+
self._RequestId = None
|
26721
|
+
|
26722
|
+
@property
|
26723
|
+
def InputPlayUrl(self):
|
26724
|
+
"""修改输入源后的预览地址。
|
26725
|
+
注:该地址仅作为预览使用,不可分发。
|
26726
|
+
:rtype: str
|
26727
|
+
"""
|
26728
|
+
return self._InputPlayUrl
|
26729
|
+
|
26730
|
+
@InputPlayUrl.setter
|
26731
|
+
def InputPlayUrl(self, InputPlayUrl):
|
26732
|
+
self._InputPlayUrl = InputPlayUrl
|
26733
|
+
|
26734
|
+
@property
|
26735
|
+
def InputWebRTCPlayUrl(self):
|
26736
|
+
"""修改后的输入源webrtc预览地址。
|
26737
|
+
该地址需配合腾讯云快直播播放SDK使用。
|
26738
|
+
注:该地址仅做预览使用,不可分发。
|
26739
|
+
:rtype: str
|
26740
|
+
"""
|
26741
|
+
return self._InputWebRTCPlayUrl
|
26742
|
+
|
26743
|
+
@InputWebRTCPlayUrl.setter
|
26744
|
+
def InputWebRTCPlayUrl(self, InputWebRTCPlayUrl):
|
26745
|
+
self._InputWebRTCPlayUrl = InputWebRTCPlayUrl
|
26746
|
+
|
26747
|
+
@property
|
26748
|
+
def RequestId(self):
|
26749
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26750
|
+
:rtype: str
|
26751
|
+
"""
|
26752
|
+
return self._RequestId
|
26753
|
+
|
26754
|
+
@RequestId.setter
|
26755
|
+
def RequestId(self, RequestId):
|
26756
|
+
self._RequestId = RequestId
|
26757
|
+
|
26758
|
+
|
26759
|
+
def _deserialize(self, params):
|
26760
|
+
self._InputPlayUrl = params.get("InputPlayUrl")
|
26761
|
+
self._InputWebRTCPlayUrl = params.get("InputWebRTCPlayUrl")
|
26762
|
+
self._RequestId = params.get("RequestId")
|
26763
|
+
|
26764
|
+
|
26765
|
+
class ModifyCasterLayoutInfoRequest(AbstractModel):
|
26766
|
+
"""ModifyCasterLayoutInfo请求参数结构体
|
26767
|
+
|
26768
|
+
"""
|
26769
|
+
|
26770
|
+
def __init__(self):
|
26771
|
+
r"""
|
26772
|
+
:param _CasterId: 导播台ID。
|
26773
|
+
:type CasterId: int
|
26774
|
+
:param _LayoutInfo: 导播台布局参数信息。
|
26775
|
+
:type LayoutInfo: :class:`tencentcloud.live.v20180801.models.CasterLayoutInfo`
|
26776
|
+
"""
|
26777
|
+
self._CasterId = None
|
26778
|
+
self._LayoutInfo = None
|
26779
|
+
|
26780
|
+
@property
|
26781
|
+
def CasterId(self):
|
26782
|
+
"""导播台ID。
|
26783
|
+
:rtype: int
|
26784
|
+
"""
|
26785
|
+
return self._CasterId
|
26786
|
+
|
26787
|
+
@CasterId.setter
|
26788
|
+
def CasterId(self, CasterId):
|
26789
|
+
self._CasterId = CasterId
|
26790
|
+
|
26791
|
+
@property
|
26792
|
+
def LayoutInfo(self):
|
26793
|
+
"""导播台布局参数信息。
|
26794
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CasterLayoutInfo`
|
26795
|
+
"""
|
26796
|
+
return self._LayoutInfo
|
26797
|
+
|
26798
|
+
@LayoutInfo.setter
|
26799
|
+
def LayoutInfo(self, LayoutInfo):
|
26800
|
+
self._LayoutInfo = LayoutInfo
|
26801
|
+
|
26802
|
+
|
26803
|
+
def _deserialize(self, params):
|
26804
|
+
self._CasterId = params.get("CasterId")
|
26805
|
+
if params.get("LayoutInfo") is not None:
|
26806
|
+
self._LayoutInfo = CasterLayoutInfo()
|
26807
|
+
self._LayoutInfo._deserialize(params.get("LayoutInfo"))
|
26808
|
+
memeber_set = set(params.keys())
|
26809
|
+
for name, value in vars(self).items():
|
26810
|
+
property_name = name[1:]
|
26811
|
+
if property_name in memeber_set:
|
26812
|
+
memeber_set.remove(property_name)
|
26813
|
+
if len(memeber_set) > 0:
|
26814
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26815
|
+
|
26816
|
+
|
26817
|
+
|
26818
|
+
class ModifyCasterLayoutInfoResponse(AbstractModel):
|
26819
|
+
"""ModifyCasterLayoutInfo返回参数结构体
|
26820
|
+
|
26821
|
+
"""
|
26822
|
+
|
26823
|
+
def __init__(self):
|
26824
|
+
r"""
|
26825
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26826
|
+
:type RequestId: str
|
26827
|
+
"""
|
26828
|
+
self._RequestId = None
|
26829
|
+
|
26830
|
+
@property
|
26831
|
+
def RequestId(self):
|
26832
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26833
|
+
:rtype: str
|
26834
|
+
"""
|
26835
|
+
return self._RequestId
|
26836
|
+
|
26837
|
+
@RequestId.setter
|
26838
|
+
def RequestId(self, RequestId):
|
26839
|
+
self._RequestId = RequestId
|
26840
|
+
|
26841
|
+
|
26842
|
+
def _deserialize(self, params):
|
26843
|
+
self._RequestId = params.get("RequestId")
|
26844
|
+
|
26845
|
+
|
26846
|
+
class ModifyCasterOutputInfoRequest(AbstractModel):
|
26847
|
+
"""ModifyCasterOutputInfo请求参数结构体
|
26848
|
+
|
26849
|
+
"""
|
26850
|
+
|
26851
|
+
def __init__(self):
|
26852
|
+
r"""
|
26853
|
+
:param _CasterId: 导播台ID。
|
26854
|
+
:type CasterId: int
|
26855
|
+
:param _OutputInfo: 导播台推流参数信息。
|
26856
|
+
:type OutputInfo: :class:`tencentcloud.live.v20180801.models.CasterOutputInfo`
|
26857
|
+
"""
|
26858
|
+
self._CasterId = None
|
26859
|
+
self._OutputInfo = None
|
26860
|
+
|
26861
|
+
@property
|
26862
|
+
def CasterId(self):
|
26863
|
+
"""导播台ID。
|
26864
|
+
:rtype: int
|
26865
|
+
"""
|
26866
|
+
return self._CasterId
|
26867
|
+
|
26868
|
+
@CasterId.setter
|
26869
|
+
def CasterId(self, CasterId):
|
26870
|
+
self._CasterId = CasterId
|
26871
|
+
|
26872
|
+
@property
|
26873
|
+
def OutputInfo(self):
|
26874
|
+
"""导播台推流参数信息。
|
26875
|
+
:rtype: :class:`tencentcloud.live.v20180801.models.CasterOutputInfo`
|
26876
|
+
"""
|
26877
|
+
return self._OutputInfo
|
26878
|
+
|
26879
|
+
@OutputInfo.setter
|
26880
|
+
def OutputInfo(self, OutputInfo):
|
26881
|
+
self._OutputInfo = OutputInfo
|
26882
|
+
|
26883
|
+
|
26884
|
+
def _deserialize(self, params):
|
26885
|
+
self._CasterId = params.get("CasterId")
|
26886
|
+
if params.get("OutputInfo") is not None:
|
26887
|
+
self._OutputInfo = CasterOutputInfo()
|
26888
|
+
self._OutputInfo._deserialize(params.get("OutputInfo"))
|
26889
|
+
memeber_set = set(params.keys())
|
26890
|
+
for name, value in vars(self).items():
|
26891
|
+
property_name = name[1:]
|
26892
|
+
if property_name in memeber_set:
|
26893
|
+
memeber_set.remove(property_name)
|
26894
|
+
if len(memeber_set) > 0:
|
26895
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
26896
|
+
|
26897
|
+
|
26898
|
+
|
26899
|
+
class ModifyCasterOutputInfoResponse(AbstractModel):
|
26900
|
+
"""ModifyCasterOutputInfo返回参数结构体
|
26901
|
+
|
26902
|
+
"""
|
26903
|
+
|
26904
|
+
def __init__(self):
|
26905
|
+
r"""
|
26906
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26907
|
+
:type RequestId: str
|
26908
|
+
"""
|
26909
|
+
self._RequestId = None
|
26910
|
+
|
26911
|
+
@property
|
26912
|
+
def RequestId(self):
|
26913
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
26914
|
+
:rtype: str
|
26915
|
+
"""
|
26916
|
+
return self._RequestId
|
26917
|
+
|
26918
|
+
@RequestId.setter
|
26919
|
+
def RequestId(self, RequestId):
|
26920
|
+
self._RequestId = RequestId
|
26921
|
+
|
26922
|
+
|
26923
|
+
def _deserialize(self, params):
|
26924
|
+
self._RequestId = params.get("RequestId")
|
26925
|
+
|
26926
|
+
|
24667
26927
|
class ModifyCasterRequest(AbstractModel):
|
24668
26928
|
"""ModifyCaster请求参数结构体
|
24669
26929
|
|
@@ -31560,6 +33820,70 @@ class RefererAuthConfig(AbstractModel):
|
|
31560
33820
|
|
31561
33821
|
|
31562
33822
|
|
33823
|
+
class ReleaseCasterRequest(AbstractModel):
|
33824
|
+
"""ReleaseCaster请求参数结构体
|
33825
|
+
|
33826
|
+
"""
|
33827
|
+
|
33828
|
+
def __init__(self):
|
33829
|
+
r"""
|
33830
|
+
:param _CasterId: 导播台ID。
|
33831
|
+
:type CasterId: int
|
33832
|
+
"""
|
33833
|
+
self._CasterId = None
|
33834
|
+
|
33835
|
+
@property
|
33836
|
+
def CasterId(self):
|
33837
|
+
"""导播台ID。
|
33838
|
+
:rtype: int
|
33839
|
+
"""
|
33840
|
+
return self._CasterId
|
33841
|
+
|
33842
|
+
@CasterId.setter
|
33843
|
+
def CasterId(self, CasterId):
|
33844
|
+
self._CasterId = CasterId
|
33845
|
+
|
33846
|
+
|
33847
|
+
def _deserialize(self, params):
|
33848
|
+
self._CasterId = params.get("CasterId")
|
33849
|
+
memeber_set = set(params.keys())
|
33850
|
+
for name, value in vars(self).items():
|
33851
|
+
property_name = name[1:]
|
33852
|
+
if property_name in memeber_set:
|
33853
|
+
memeber_set.remove(property_name)
|
33854
|
+
if len(memeber_set) > 0:
|
33855
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
33856
|
+
|
33857
|
+
|
33858
|
+
|
33859
|
+
class ReleaseCasterResponse(AbstractModel):
|
33860
|
+
"""ReleaseCaster返回参数结构体
|
33861
|
+
|
33862
|
+
"""
|
33863
|
+
|
33864
|
+
def __init__(self):
|
33865
|
+
r"""
|
33866
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
33867
|
+
:type RequestId: str
|
33868
|
+
"""
|
33869
|
+
self._RequestId = None
|
33870
|
+
|
33871
|
+
@property
|
33872
|
+
def RequestId(self):
|
33873
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
33874
|
+
:rtype: str
|
33875
|
+
"""
|
33876
|
+
return self._RequestId
|
33877
|
+
|
33878
|
+
@RequestId.setter
|
33879
|
+
def RequestId(self, RequestId):
|
33880
|
+
self._RequestId = RequestId
|
33881
|
+
|
33882
|
+
|
33883
|
+
def _deserialize(self, params):
|
33884
|
+
self._RequestId = params.get("RequestId")
|
33885
|
+
|
33886
|
+
|
31563
33887
|
class RestartLivePullStreamTaskRequest(AbstractModel):
|
31564
33888
|
"""RestartLivePullStreamTask请求参数结构体
|
31565
33889
|
|
@@ -32375,6 +34699,134 @@ class StartLiveStreamMonitorResponse(AbstractModel):
|
|
32375
34699
|
self._RequestId = params.get("RequestId")
|
32376
34700
|
|
32377
34701
|
|
34702
|
+
class StopCasterPgmRequest(AbstractModel):
|
34703
|
+
"""StopCasterPgm请求参数结构体
|
34704
|
+
|
34705
|
+
"""
|
34706
|
+
|
34707
|
+
def __init__(self):
|
34708
|
+
r"""
|
34709
|
+
:param _CasterId: 导播台ID。
|
34710
|
+
:type CasterId: int
|
34711
|
+
"""
|
34712
|
+
self._CasterId = None
|
34713
|
+
|
34714
|
+
@property
|
34715
|
+
def CasterId(self):
|
34716
|
+
"""导播台ID。
|
34717
|
+
:rtype: int
|
34718
|
+
"""
|
34719
|
+
return self._CasterId
|
34720
|
+
|
34721
|
+
@CasterId.setter
|
34722
|
+
def CasterId(self, CasterId):
|
34723
|
+
self._CasterId = CasterId
|
34724
|
+
|
34725
|
+
|
34726
|
+
def _deserialize(self, params):
|
34727
|
+
self._CasterId = params.get("CasterId")
|
34728
|
+
memeber_set = set(params.keys())
|
34729
|
+
for name, value in vars(self).items():
|
34730
|
+
property_name = name[1:]
|
34731
|
+
if property_name in memeber_set:
|
34732
|
+
memeber_set.remove(property_name)
|
34733
|
+
if len(memeber_set) > 0:
|
34734
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
34735
|
+
|
34736
|
+
|
34737
|
+
|
34738
|
+
class StopCasterPgmResponse(AbstractModel):
|
34739
|
+
"""StopCasterPgm返回参数结构体
|
34740
|
+
|
34741
|
+
"""
|
34742
|
+
|
34743
|
+
def __init__(self):
|
34744
|
+
r"""
|
34745
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
34746
|
+
:type RequestId: str
|
34747
|
+
"""
|
34748
|
+
self._RequestId = None
|
34749
|
+
|
34750
|
+
@property
|
34751
|
+
def RequestId(self):
|
34752
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
34753
|
+
:rtype: str
|
34754
|
+
"""
|
34755
|
+
return self._RequestId
|
34756
|
+
|
34757
|
+
@RequestId.setter
|
34758
|
+
def RequestId(self, RequestId):
|
34759
|
+
self._RequestId = RequestId
|
34760
|
+
|
34761
|
+
|
34762
|
+
def _deserialize(self, params):
|
34763
|
+
self._RequestId = params.get("RequestId")
|
34764
|
+
|
34765
|
+
|
34766
|
+
class StopCasterPvwRequest(AbstractModel):
|
34767
|
+
"""StopCasterPvw请求参数结构体
|
34768
|
+
|
34769
|
+
"""
|
34770
|
+
|
34771
|
+
def __init__(self):
|
34772
|
+
r"""
|
34773
|
+
:param _CasterId: 导播台ID。
|
34774
|
+
:type CasterId: int
|
34775
|
+
"""
|
34776
|
+
self._CasterId = None
|
34777
|
+
|
34778
|
+
@property
|
34779
|
+
def CasterId(self):
|
34780
|
+
"""导播台ID。
|
34781
|
+
:rtype: int
|
34782
|
+
"""
|
34783
|
+
return self._CasterId
|
34784
|
+
|
34785
|
+
@CasterId.setter
|
34786
|
+
def CasterId(self, CasterId):
|
34787
|
+
self._CasterId = CasterId
|
34788
|
+
|
34789
|
+
|
34790
|
+
def _deserialize(self, params):
|
34791
|
+
self._CasterId = params.get("CasterId")
|
34792
|
+
memeber_set = set(params.keys())
|
34793
|
+
for name, value in vars(self).items():
|
34794
|
+
property_name = name[1:]
|
34795
|
+
if property_name in memeber_set:
|
34796
|
+
memeber_set.remove(property_name)
|
34797
|
+
if len(memeber_set) > 0:
|
34798
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
34799
|
+
|
34800
|
+
|
34801
|
+
|
34802
|
+
class StopCasterPvwResponse(AbstractModel):
|
34803
|
+
"""StopCasterPvw返回参数结构体
|
34804
|
+
|
34805
|
+
"""
|
34806
|
+
|
34807
|
+
def __init__(self):
|
34808
|
+
r"""
|
34809
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
34810
|
+
:type RequestId: str
|
34811
|
+
"""
|
34812
|
+
self._RequestId = None
|
34813
|
+
|
34814
|
+
@property
|
34815
|
+
def RequestId(self):
|
34816
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
34817
|
+
:rtype: str
|
34818
|
+
"""
|
34819
|
+
return self._RequestId
|
34820
|
+
|
34821
|
+
@RequestId.setter
|
34822
|
+
def RequestId(self, RequestId):
|
34823
|
+
self._RequestId = RequestId
|
34824
|
+
|
34825
|
+
|
34826
|
+
def _deserialize(self, params):
|
34827
|
+
self._RequestId = params.get("RequestId")
|
34828
|
+
|
34829
|
+
|
32378
34830
|
class StopLivePadProcessorRequest(AbstractModel):
|
32379
34831
|
"""StopLivePadProcessor请求参数结构体
|
32380
34832
|
|