Skip to content

Commit c8000c1

Browse files
committed
[release] 2.3.0 take two
1 parent 57c10a3 commit c8000c1

File tree

7 files changed

+47
-14
lines changed

7 files changed

+47
-14
lines changed

.openapi-generator/FILES

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,4 @@ setup.cfg
241241
setup.py
242242
test-requirements.txt
243243
test/__init__.py
244-
test/test_live_stream_embedded_subtitle_settings.py
245-
test/test_update_live_stream_embedded_subtitles_request.py
246244
tox.ini

docs/AssetNonStandardInputReasons.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
99
**video_gop_size** | **str** | The video key frame Interval (also called as Group of Picture or GOP) of the input file is `high`. This parameter is present when the gop is greater than 10 seconds. | [optional]
1010
**video_frame_rate** | **str** | The video frame rate of the input file. Video with average frames per second (fps) less than 10 or greater than 120 is non-standard. A `-1` frame rate value indicates Mux could not determine the frame rate of the video track. | [optional]
1111
**video_resolution** | **str** | The video resolution of the input file. Video resolution higher than 2048 pixels on any one dimension (height or width) is considered non-standard, The resolution value is presented as `width` x `height` in pixels. | [optional]
12+
**video_bitrate** | **str** | The video bitrate of the input file is `high`. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps. | [optional]
1213
**pixel_aspect_ratio** | **str** | The video pixel aspect ratio of the input file. | [optional]
1314
**video_edit_list** | **str** | Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List. | [optional]
1415
**audio_edit_list** | **str** | Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List. | [optional]

docs/LiveStreamEmbeddedSubtitleSettings.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**name** | **str** | A name for this live caption stream. | [optional]
7-
**passthrough** | **str** | Arbitrary metadata set for the live stream caption track. Max 255 characters. | [optional]
8-
**language_code** | **str** | The language of the caption stream. Value must be BCP 47 compliant. | [optional] [default to 'en']
6+
**name** | **str** | A name for this live stream subtitle track. | [optional]
7+
**passthrough** | **str** | Arbitrary metadata set for the live stream subtitle track. Max 255 characters. | [optional]
8+
**language_code** | **str** | The language of the subtitle stream. Value must be BCP 47 compliant. | [optional] [default to 'en']
99
**language_channel** | **str** | CEA-608 caption channel to read data from. | [optional] [default to 'cc1']
1010

1111
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

docs/LiveStreamsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -967,7 +967,7 @@ Name | Type | Description | Notes
967967
### HTTP response details
968968
| Status code | Description | Response headers |
969969
|-------------|-------------|------------------|
970-
**201** | Created | - |
970+
**200** | OK | - |
971971

972972
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
973973

mux_python/api/live_streams_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1830,7 +1830,7 @@ def reset_stream_key_with_http_info(self, live_stream_id, **kwargs): # noqa: E5
18301830
auth_settings = ['accessToken'] # noqa: E501
18311831

18321832
response_types_map = {
1833-
201: "LiveStreamResponse",
1833+
200: "LiveStreamResponse",
18341834
}
18351835

18361836
return self.api_client.call_api(

mux_python/models/asset_non_standard_input_reasons.py

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class AssetNonStandardInputReasons(object):
3939
'video_gop_size': 'str',
4040
'video_frame_rate': 'str',
4141
'video_resolution': 'str',
42+
'video_bitrate': 'str',
4243
'pixel_aspect_ratio': 'str',
4344
'video_edit_list': 'str',
4445
'audio_edit_list': 'str',
@@ -51,13 +52,14 @@ class AssetNonStandardInputReasons(object):
5152
'video_gop_size': 'video_gop_size',
5253
'video_frame_rate': 'video_frame_rate',
5354
'video_resolution': 'video_resolution',
55+
'video_bitrate': 'video_bitrate',
5456
'pixel_aspect_ratio': 'pixel_aspect_ratio',
5557
'video_edit_list': 'video_edit_list',
5658
'audio_edit_list': 'audio_edit_list',
5759
'unexpected_media_file_parameters': 'unexpected_media_file_parameters'
5860
}
5961

60-
def __init__(self, video_codec=None, audio_codec=None, video_gop_size=None, video_frame_rate=None, video_resolution=None, pixel_aspect_ratio=None, video_edit_list=None, audio_edit_list=None, unexpected_media_file_parameters=None, local_vars_configuration=None): # noqa: E501
62+
def __init__(self, video_codec=None, audio_codec=None, video_gop_size=None, video_frame_rate=None, video_resolution=None, video_bitrate=None, pixel_aspect_ratio=None, video_edit_list=None, audio_edit_list=None, unexpected_media_file_parameters=None, local_vars_configuration=None): # noqa: E501
6163
"""AssetNonStandardInputReasons - a model defined in OpenAPI""" # noqa: E501
6264
if local_vars_configuration is None:
6365
local_vars_configuration = Configuration.get_default_copy()
@@ -68,6 +70,7 @@ def __init__(self, video_codec=None, audio_codec=None, video_gop_size=None, vide
6870
self._video_gop_size = None
6971
self._video_frame_rate = None
7072
self._video_resolution = None
73+
self._video_bitrate = None
7174
self._pixel_aspect_ratio = None
7275
self._video_edit_list = None
7376
self._audio_edit_list = None
@@ -84,6 +87,8 @@ def __init__(self, video_codec=None, audio_codec=None, video_gop_size=None, vide
8487
self.video_frame_rate = video_frame_rate
8588
if video_resolution is not None:
8689
self.video_resolution = video_resolution
90+
if video_bitrate is not None:
91+
self.video_bitrate = video_bitrate
8792
if pixel_aspect_ratio is not None:
8893
self.pixel_aspect_ratio = pixel_aspect_ratio
8994
if video_edit_list is not None:
@@ -214,6 +219,35 @@ def video_resolution(self, video_resolution):
214219

215220
self._video_resolution = video_resolution
216221

222+
@property
223+
def video_bitrate(self):
224+
"""Gets the video_bitrate of this AssetNonStandardInputReasons. # noqa: E501
225+
226+
The video bitrate of the input file is `high`. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps. # noqa: E501
227+
228+
:return: The video_bitrate of this AssetNonStandardInputReasons. # noqa: E501
229+
:rtype: str
230+
"""
231+
return self._video_bitrate
232+
233+
@video_bitrate.setter
234+
def video_bitrate(self, video_bitrate):
235+
"""Sets the video_bitrate of this AssetNonStandardInputReasons.
236+
237+
The video bitrate of the input file is `high`. This parameter is present when the average bitrate of any key frame interval (also known as Group of Pictures or GOP) is higher than what's considered standard which typically is 16 Mbps. # noqa: E501
238+
239+
:param video_bitrate: The video_bitrate of this AssetNonStandardInputReasons. # noqa: E501
240+
:type video_bitrate: str
241+
"""
242+
allowed_values = ["high"] # noqa: E501
243+
if self.local_vars_configuration.client_side_validation and video_bitrate not in allowed_values: # noqa: E501
244+
raise ValueError(
245+
"Invalid value for `video_bitrate` ({0}), must be one of {1}" # noqa: E501
246+
.format(video_bitrate, allowed_values)
247+
)
248+
249+
self._video_bitrate = video_bitrate
250+
217251
@property
218252
def pixel_aspect_ratio(self):
219253
"""Gets the pixel_aspect_ratio of this AssetNonStandardInputReasons. # noqa: E501

mux_python/models/live_stream_embedded_subtitle_settings.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(self, name=None, passthrough=None, language_code='en', language_cha
7272
def name(self):
7373
"""Gets the name of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
7474
75-
A name for this live caption stream. # noqa: E501
75+
A name for this live stream subtitle track. # noqa: E501
7676
7777
:return: The name of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
7878
:rtype: str
@@ -83,7 +83,7 @@ def name(self):
8383
def name(self, name):
8484
"""Sets the name of this LiveStreamEmbeddedSubtitleSettings.
8585
86-
A name for this live caption stream. # noqa: E501
86+
A name for this live stream subtitle track. # noqa: E501
8787
8888
:param name: The name of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
8989
:type name: str
@@ -95,7 +95,7 @@ def name(self, name):
9595
def passthrough(self):
9696
"""Gets the passthrough of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
9797
98-
Arbitrary metadata set for the live stream caption track. Max 255 characters. # noqa: E501
98+
Arbitrary metadata set for the live stream subtitle track. Max 255 characters. # noqa: E501
9999
100100
:return: The passthrough of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
101101
:rtype: str
@@ -106,7 +106,7 @@ def passthrough(self):
106106
def passthrough(self, passthrough):
107107
"""Sets the passthrough of this LiveStreamEmbeddedSubtitleSettings.
108108
109-
Arbitrary metadata set for the live stream caption track. Max 255 characters. # noqa: E501
109+
Arbitrary metadata set for the live stream subtitle track. Max 255 characters. # noqa: E501
110110
111111
:param passthrough: The passthrough of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
112112
:type passthrough: str
@@ -118,7 +118,7 @@ def passthrough(self, passthrough):
118118
def language_code(self):
119119
"""Gets the language_code of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
120120
121-
The language of the caption stream. Value must be BCP 47 compliant. # noqa: E501
121+
The language of the subtitle stream. Value must be BCP 47 compliant. # noqa: E501
122122
123123
:return: The language_code of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
124124
:rtype: str
@@ -129,7 +129,7 @@ def language_code(self):
129129
def language_code(self, language_code):
130130
"""Sets the language_code of this LiveStreamEmbeddedSubtitleSettings.
131131
132-
The language of the caption stream. Value must be BCP 47 compliant. # noqa: E501
132+
The language of the subtitle stream. Value must be BCP 47 compliant. # noqa: E501
133133
134134
:param language_code: The language_code of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
135135
:type language_code: str

0 commit comments

Comments
 (0)