@@ -96,6 +96,10 @@ def __init__(self):
96
96
:type VideoEnhanceEnabled: int
97
97
:param _VideoEnhanceSettings:
98
98
: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
99
103
"""
100
104
self ._Name = None
101
105
self ._NeedVideo = None
@@ -129,6 +133,8 @@ def __init__(self):
129
133
self ._AudioTracks = None
130
134
self ._VideoEnhanceEnabled = None
131
135
self ._VideoEnhanceSettings = None
136
+ self ._GopSize = None
137
+ self ._GopSizeUnits = None
132
138
133
139
@property
134
140
def Name (self ):
@@ -386,6 +392,22 @@ def VideoEnhanceSettings(self):
386
392
def VideoEnhanceSettings (self , VideoEnhanceSettings ):
387
393
self ._VideoEnhanceSettings = VideoEnhanceSettings
388
394
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
+
389
411
390
412
def _deserialize (self , params ):
391
413
self ._Name = params .get ("Name" )
@@ -438,6 +460,8 @@ def _deserialize(self, params):
438
460
obj = VideoEnhanceSetting ()
439
461
obj ._deserialize (item )
440
462
self ._VideoEnhanceSettings .append (obj )
463
+ self ._GopSize = params .get ("GopSize" )
464
+ self ._GopSizeUnits = params .get ("GopSizeUnits" )
441
465
memeber_set = set (params .keys ())
442
466
for name , value in vars (self ).items ():
443
467
property_name = name [1 :]
@@ -9001,10 +9025,13 @@ def __init__(self):
9001
9025
:param _Name: Output group name, which can contain 1-32 case-sensitive letters, digits, and underscores and must be unique at the channel level
9002
9026
:type Name: str
9003
9027
: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`.
9005
9032
:type Type: str
9006
9033
: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.
9008
9035
:type Outputs: list of OutputInfo
9009
9036
:param _Destinations: Relay destinations. Quantity: [1, 2]
9010
9037
:type Destinations: list of DestinationInfo
0 commit comments