Skip to content

Commit 18e9fdb

Browse files
release 3.0.1066
1 parent ac1baa9 commit 18e9fdb

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

tencentcloud/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
__version__ = '3.0.1065'
16+
__version__ = '3.0.1066'

tencentcloud/mdl/v20200326/models.py

+29-2
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ def __init__(self):
9696
:type VideoEnhanceEnabled: int
9797
:param _VideoEnhanceSettings:
9898
:type VideoEnhanceSettings: list of VideoEnhanceSetting
99+
:param _GopSize: Key frame interval, 300-10000, optional.
100+
:type GopSize: int
101+
:param _GopSizeUnits: Keyframe units, only support MILLISECONDS (milliseconds).
102+
:type GopSizeUnits: str
99103
"""
100104
self._Name = None
101105
self._NeedVideo = None
@@ -129,6 +133,8 @@ def __init__(self):
129133
self._AudioTracks = None
130134
self._VideoEnhanceEnabled = None
131135
self._VideoEnhanceSettings = None
136+
self._GopSize = None
137+
self._GopSizeUnits = None
132138

133139
@property
134140
def Name(self):
@@ -386,6 +392,22 @@ def VideoEnhanceSettings(self):
386392
def VideoEnhanceSettings(self, VideoEnhanceSettings):
387393
self._VideoEnhanceSettings = VideoEnhanceSettings
388394

395+
@property
396+
def GopSize(self):
397+
return self._GopSize
398+
399+
@GopSize.setter
400+
def GopSize(self, GopSize):
401+
self._GopSize = GopSize
402+
403+
@property
404+
def GopSizeUnits(self):
405+
return self._GopSizeUnits
406+
407+
@GopSizeUnits.setter
408+
def GopSizeUnits(self, GopSizeUnits):
409+
self._GopSizeUnits = GopSizeUnits
410+
389411

390412
def _deserialize(self, params):
391413
self._Name = params.get("Name")
@@ -438,6 +460,8 @@ def _deserialize(self, params):
438460
obj = VideoEnhanceSetting()
439461
obj._deserialize(item)
440462
self._VideoEnhanceSettings.append(obj)
463+
self._GopSize = params.get("GopSize")
464+
self._GopSizeUnits = params.get("GopSizeUnits")
441465
memeber_set = set(params.keys())
442466
for name, value in vars(self).items():
443467
property_name = name[1:]
@@ -9001,10 +9025,13 @@ def __init__(self):
90019025
:param _Name: Output group name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the channel level
90029026
:type Name: str
90039027
:param _Type: Output protocol
9004-
Valid values: `HLS`, `DASH`, `HLS_ARCHIVE`, `DASH_ARCHIVE`,`HLS_STREAM_PACKAGE`, `DASH_STREAM_PACKAGE`, `FRAME_CAPTURE`,`RTP`,`RTMP`.
9028+
Valid values: `HLS`, `DASH`, `HLS_ARCHIVE`,
9029+
`DASH_ARCHIVE`, `HLS_STREAM_PACKAGE`,
9030+
`DASH_STREAM_PACKAGE`,
9031+
`FRAME_CAPTURE`, `RTP`, `RTMP`, `M2TS`.
90059032
:type Type: str
90069033
:param _Outputs: Output information
9007-
If the type is RTMP or RTP, only one output is allowed; if it is HLS or DASH, 1-10 outputs are allowed.
9034+
If the type is RTMP, RTP or FRAME_CAPTURE, only one output is allowed; if it is HLS or DASH, 1-10 outputs are allowed.
90089035
:type Outputs: list of OutputInfo
90099036
:param _Destinations: Relay destinations. Quantity: [1, 2]
90109037
:type Destinations: list of DestinationInfo

0 commit comments

Comments
 (0)