mux-python 3.14.0__py3-none-any.whl → 3.15.0__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.
- mux_python/__init__.py +1 -1
- mux_python/api/assets_api.py +2 -2
- mux_python/api_client.py +1 -1
- mux_python/configuration.py +1 -1
- mux_python/models/asset.py +1 -1
- mux_python/models/asset_static_renditions_files.py +1 -1
- mux_python/models/create_asset_request.py +3 -3
- mux_python/models/update_asset_mp4_support_request.py +3 -3
- {mux_python-3.14.0.dist-info → mux_python-3.15.0.dist-info}/METADATA +1 -1
- {mux_python-3.14.0.dist-info → mux_python-3.15.0.dist-info}/RECORD +13 -13
- {mux_python-3.14.0.dist-info → mux_python-3.15.0.dist-info}/LICENSE +0 -0
- {mux_python-3.14.0.dist-info → mux_python-3.15.0.dist-info}/WHEEL +0 -0
- {mux_python-3.14.0.dist-info → mux_python-3.15.0.dist-info}/top_level.txt +0 -0
mux_python/__init__.py
CHANGED
mux_python/api/assets_api.py
CHANGED
|
@@ -1917,7 +1917,7 @@ class AssetsApi(object):
|
|
|
1917
1917
|
def update_asset_mp4_support(self, asset_id, update_asset_mp4_support_request, **kwargs): # noqa: E501
|
|
1918
1918
|
"""Update MP4 support # noqa: E501
|
|
1919
1919
|
|
|
1920
|
-
Allows you to add or remove mp4 support for assets that were created without it.
|
|
1920
|
+
Allows you to add or remove mp4 support for assets that were created without it. The values supported are `capped-1080p`, `audio-only`, `audio-only,capped-1080p`, `standard`(deprecated), and `none`. `none` means that an asset *does not* have mp4 support, so submitting a request with `mp4_support` set to `none` will delete the mp4 assets from the asset in question. # noqa: E501
|
|
1921
1921
|
This method makes a synchronous HTTP request by default. To make an
|
|
1922
1922
|
asynchronous HTTP request, please pass async_req=True
|
|
1923
1923
|
|
|
@@ -1949,7 +1949,7 @@ class AssetsApi(object):
|
|
|
1949
1949
|
def update_asset_mp4_support_with_http_info(self, asset_id, update_asset_mp4_support_request, **kwargs): # noqa: E501
|
|
1950
1950
|
"""Update MP4 support # noqa: E501
|
|
1951
1951
|
|
|
1952
|
-
Allows you to add or remove mp4 support for assets that were created without it.
|
|
1952
|
+
Allows you to add or remove mp4 support for assets that were created without it. The values supported are `capped-1080p`, `audio-only`, `audio-only,capped-1080p`, `standard`(deprecated), and `none`. `none` means that an asset *does not* have mp4 support, so submitting a request with `mp4_support` set to `none` will delete the mp4 assets from the asset in question. # noqa: E501
|
|
1953
1953
|
This method makes a synchronous HTTP request by default. To make an
|
|
1954
1954
|
asynchronous HTTP request, please pass async_req=True
|
|
1955
1955
|
|
mux_python/api_client.py
CHANGED
|
@@ -79,7 +79,7 @@ class ApiClient(object):
|
|
|
79
79
|
self.default_headers[header_name] = header_value
|
|
80
80
|
self.cookie = cookie
|
|
81
81
|
# Set default User-Agent.
|
|
82
|
-
self.user_agent = 'OpenAPI-Generator/3.
|
|
82
|
+
self.user_agent = 'OpenAPI-Generator/3.15.0/python'
|
|
83
83
|
self.client_side_validation = configuration.client_side_validation
|
|
84
84
|
|
|
85
85
|
def __enter__(self):
|
mux_python/configuration.py
CHANGED
|
@@ -406,7 +406,7 @@ conf = mux_python.Configuration(
|
|
|
406
406
|
"OS: {env}\n"\
|
|
407
407
|
"Python Version: {pyversion}\n"\
|
|
408
408
|
"Version of the API: v1\n"\
|
|
409
|
-
"SDK Package Version: 3.
|
|
409
|
+
"SDK Package Version: 3.15.0".\
|
|
410
410
|
format(env=sys.platform, pyversion=sys.version)
|
|
411
411
|
|
|
412
412
|
def get_host_settings(self):
|
mux_python/models/asset.py
CHANGED
|
@@ -697,7 +697,7 @@ class Asset(object):
|
|
|
697
697
|
:param mp4_support: The mp4_support of this Asset. # noqa: E501
|
|
698
698
|
:type mp4_support: str
|
|
699
699
|
"""
|
|
700
|
-
allowed_values = ["standard", "none"] # noqa: E501
|
|
700
|
+
allowed_values = ["standard", "none", "capped-1080p", "audio-only", "audio-only,capped-1080p"] # noqa: E501
|
|
701
701
|
if self.local_vars_configuration.client_side_validation and mp4_support not in allowed_values: # noqa: E501
|
|
702
702
|
raise ValueError(
|
|
703
703
|
"Invalid value for `mp4_support` ({0}), must be one of {1}" # noqa: E501
|
|
@@ -99,7 +99,7 @@ class AssetStaticRenditionsFiles(object):
|
|
|
99
99
|
:param name: The name of this AssetStaticRenditionsFiles. # noqa: E501
|
|
100
100
|
:type name: str
|
|
101
101
|
"""
|
|
102
|
-
allowed_values = ["low.mp4", "medium.mp4", "high.mp4", "audio.m4a"] # noqa: E501
|
|
102
|
+
allowed_values = ["low.mp4", "medium.mp4", "high.mp4", "audio.m4a", "capped-1080p.mp4"] # noqa: E501
|
|
103
103
|
if self.local_vars_configuration.client_side_validation and name not in allowed_values: # noqa: E501
|
|
104
104
|
raise ValueError(
|
|
105
105
|
"Invalid value for `name` ({0}), must be one of {1}" # noqa: E501
|
|
@@ -195,7 +195,7 @@ class CreateAssetRequest(object):
|
|
|
195
195
|
def mp4_support(self):
|
|
196
196
|
"""Gets the mp4_support of this CreateAssetRequest. # noqa: E501
|
|
197
197
|
|
|
198
|
-
Specify what level
|
|
198
|
+
Specify what level of support for mp4 playback. * The `capped-1080p` option produces a single MP4 file, called `capped-1080p.mp4`, with the video resolution capped at 1080p. This option produces an `audio.m4a` file for an audio-only asset. * The `audio-only` option produces a single M4A file, called `audio.m4a` for a video or an audio-only asset. MP4 generation will error when this option is specified for a video-only asset. * The `audio-only,capped-1080p` option produces both the `audio.m4a` and `capped-1080p.mp4` files. Only the `capped-1080p.mp4` file is produced for a video-only asset, while only the `audio.m4a` file is produced for an audio-only asset. The `standard`(deprecated) option produces up to three MP4 files with different levels of resolution (`high.mp4`, `medium.mp4`, `low.mp4`, or `audio.m4a` for an audio-only asset). MP4 files are not produced for `none` (default). In most cases you should use our default HLS-based streaming playback (`{playback_id}.m3u8`) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the [Download your videos guide](https://docs.mux.com/guides/enable-static-mp4-renditions) for more information. # noqa: E501
|
|
199
199
|
|
|
200
200
|
:return: The mp4_support of this CreateAssetRequest. # noqa: E501
|
|
201
201
|
:rtype: str
|
|
@@ -206,12 +206,12 @@ class CreateAssetRequest(object):
|
|
|
206
206
|
def mp4_support(self, mp4_support):
|
|
207
207
|
"""Sets the mp4_support of this CreateAssetRequest.
|
|
208
208
|
|
|
209
|
-
Specify what level
|
|
209
|
+
Specify what level of support for mp4 playback. * The `capped-1080p` option produces a single MP4 file, called `capped-1080p.mp4`, with the video resolution capped at 1080p. This option produces an `audio.m4a` file for an audio-only asset. * The `audio-only` option produces a single M4A file, called `audio.m4a` for a video or an audio-only asset. MP4 generation will error when this option is specified for a video-only asset. * The `audio-only,capped-1080p` option produces both the `audio.m4a` and `capped-1080p.mp4` files. Only the `capped-1080p.mp4` file is produced for a video-only asset, while only the `audio.m4a` file is produced for an audio-only asset. The `standard`(deprecated) option produces up to three MP4 files with different levels of resolution (`high.mp4`, `medium.mp4`, `low.mp4`, or `audio.m4a` for an audio-only asset). MP4 files are not produced for `none` (default). In most cases you should use our default HLS-based streaming playback (`{playback_id}.m3u8`) which can automatically adjust to viewers' connection speeds, but an mp4 can be useful for some legacy devices or downloading for offline playback. See the [Download your videos guide](https://docs.mux.com/guides/enable-static-mp4-renditions) for more information. # noqa: E501
|
|
210
210
|
|
|
211
211
|
:param mp4_support: The mp4_support of this CreateAssetRequest. # noqa: E501
|
|
212
212
|
:type mp4_support: str
|
|
213
213
|
"""
|
|
214
|
-
allowed_values = ["none", "standard"] # noqa: E501
|
|
214
|
+
allowed_values = ["none", "standard", "capped-1080p", "audio-only", "audio-only,capped-1080p"] # noqa: E501
|
|
215
215
|
if self.local_vars_configuration.client_side_validation and mp4_support not in allowed_values: # noqa: E501
|
|
216
216
|
raise ValueError(
|
|
217
217
|
"Invalid value for `mp4_support` ({0}), must be one of {1}" # noqa: E501
|
|
@@ -60,7 +60,7 @@ class UpdateAssetMP4SupportRequest(object):
|
|
|
60
60
|
def mp4_support(self):
|
|
61
61
|
"""Gets the mp4_support of this UpdateAssetMP4SupportRequest. # noqa: E501
|
|
62
62
|
|
|
63
|
-
|
|
63
|
+
Specify what level of support for mp4 playback. * The `capped-1080p` option produces a single MP4 file, called `capped-1080p.mp4`, with the video resolution capped at 1080p. This option produces an `audio.m4a` file for an audio-only asset. * The `audio-only` option produces a single M4A file, called `audio.m4a` for a video or an audio-only asset. MP4 generation will error when this option is specified for a video-only asset. * The `audio-only,capped-1080p` option produces both the `audio.m4a` and `capped-1080p.mp4` files. Only the `capped-1080p.mp4` file is produced for a video-only asset, while only the `audio.m4a` file is produced for an audio-only asset. The `standard`(deprecated) option produces up to three MP4 files with different levels of resolution (`high.mp4`, `medium.mp4`, `low.mp4`, or `audio.m4a` for an audio-only asset). `none` will delete the MP4s from the asset in question. # noqa: E501
|
|
64
64
|
|
|
65
65
|
:return: The mp4_support of this UpdateAssetMP4SupportRequest. # noqa: E501
|
|
66
66
|
:rtype: str
|
|
@@ -71,12 +71,12 @@ class UpdateAssetMP4SupportRequest(object):
|
|
|
71
71
|
def mp4_support(self, mp4_support):
|
|
72
72
|
"""Sets the mp4_support of this UpdateAssetMP4SupportRequest.
|
|
73
73
|
|
|
74
|
-
|
|
74
|
+
Specify what level of support for mp4 playback. * The `capped-1080p` option produces a single MP4 file, called `capped-1080p.mp4`, with the video resolution capped at 1080p. This option produces an `audio.m4a` file for an audio-only asset. * The `audio-only` option produces a single M4A file, called `audio.m4a` for a video or an audio-only asset. MP4 generation will error when this option is specified for a video-only asset. * The `audio-only,capped-1080p` option produces both the `audio.m4a` and `capped-1080p.mp4` files. Only the `capped-1080p.mp4` file is produced for a video-only asset, while only the `audio.m4a` file is produced for an audio-only asset. The `standard`(deprecated) option produces up to three MP4 files with different levels of resolution (`high.mp4`, `medium.mp4`, `low.mp4`, or `audio.m4a` for an audio-only asset). `none` will delete the MP4s from the asset in question. # noqa: E501
|
|
75
75
|
|
|
76
76
|
:param mp4_support: The mp4_support of this UpdateAssetMP4SupportRequest. # noqa: E501
|
|
77
77
|
:type mp4_support: str
|
|
78
78
|
"""
|
|
79
|
-
allowed_values = ["standard", "none"] # noqa: E501
|
|
79
|
+
allowed_values = ["standard", "none", "capped-1080p", "audio-only", "audio-only,capped-1080p"] # noqa: E501
|
|
80
80
|
if self.local_vars_configuration.client_side_validation and mp4_support not in allowed_values: # noqa: E501
|
|
81
81
|
raise ValueError(
|
|
82
82
|
"Invalid value for `mp4_support` ({0}), must be one of {1}" # noqa: E501
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
mux_python/__init__.py,sha256=
|
|
2
|
-
mux_python/api_client.py,sha256=
|
|
3
|
-
mux_python/configuration.py,sha256=
|
|
1
|
+
mux_python/__init__.py,sha256=pvCxKOIpdO6Xxc1eSZCIDodTvOG9lbUkx84etBStaAE,14625
|
|
2
|
+
mux_python/api_client.py,sha256=Ni9NCwEuqcdBVeaTIyvmI5Ca41IylPH3q-UEOpt7MQc,27526
|
|
3
|
+
mux_python/configuration.py,sha256=iFXrJNifca4tT_lTxrBj8zT3J67sktGTd5D4GMzxQu4,16924
|
|
4
4
|
mux_python/exceptions.py,sha256=lu9AENO-CBMVbWjBHO8vi1rdqlZXPGu9NrzyC1_RsjQ,5235
|
|
5
5
|
mux_python/rest.py,sha256=wV5uJQSjPCP6fs25NkiqjNt-OrPa9ueXy7pT0k0PRcM,12757
|
|
6
6
|
mux_python/api/__init__.py,sha256=2xLNqSxYBw8ilHIqGggmip4QN0SioBwaten4KQwhNkY,1243
|
|
7
|
-
mux_python/api/assets_api.py,sha256=
|
|
7
|
+
mux_python/api/assets_api.py,sha256=xiJBEniJbrGCMGijvoLlt6TPVMllvhTxIdqMXaIcKcA,97967
|
|
8
8
|
mux_python/api/delivery_usage_api.py,sha256=z40SrchQhxmdwtyUm9QtdZTke2GYEokz7MasY8iDwoY,9197
|
|
9
9
|
mux_python/api/dimensions_api.py,sha256=tMm8hQHyAAcB9V7t7N45UYZLNc9M1dpAw2D6p1I1sKI,16608
|
|
10
10
|
mux_python/api/direct_uploads_api.py,sha256=u1peIlXNTDFBO1pzn8rpxxbBhECmvczmEPqduV-HnAI,25573
|
|
@@ -26,7 +26,7 @@ mux_python/api/video_views_api.py,sha256=gXXEkMk6hl9xRouQLm8zXxJ7W4yww2SbRdwvM70
|
|
|
26
26
|
mux_python/api/web_inputs_api.py,sha256=lZXsyyscHWXgNUoME_3KGZ3AKm8wJfmnLT8cUQcUUng,50484
|
|
27
27
|
mux_python/models/__init__.py,sha256=FWUhXH0rUWmJSqxRxn9fOXnJE-VyidozaqTempEuv90,13008
|
|
28
28
|
mux_python/models/abridged_video_view.py,sha256=GytaYfRwpxBE2XbJrW0ojUo0kQsuTqKd_3ZTbMM7XVs,13266
|
|
29
|
-
mux_python/models/asset.py,sha256=
|
|
29
|
+
mux_python/models/asset.py,sha256=VteDmMlff0kuEYfJr2hmohPL_5iFn0eCEkmIfpV8BKI,34192
|
|
30
30
|
mux_python/models/asset_errors.py,sha256=UP6Awo6jXy0aOBifSKMTphOTjrk2LREP2RuZmtDfjPY,4638
|
|
31
31
|
mux_python/models/asset_generated_subtitle_settings.py,sha256=s5BZO-flEmvarlWQ5tj_RdrxhDYorCOIgysg09aAkoU,6392
|
|
32
32
|
mux_python/models/asset_master.py,sha256=_ayfkgozlG529VEBoQYV-IOx4vewOfvbQyWuvJtVWpg,4925
|
|
@@ -34,14 +34,14 @@ mux_python/models/asset_non_standard_input_reasons.py,sha256=eTptcFUWX4PckLKB_vk
|
|
|
34
34
|
mux_python/models/asset_recording_times.py,sha256=MmRAstj7mue0_lRfVvYKYvzzM2cdevvSxmA9h5zTiGM,6422
|
|
35
35
|
mux_python/models/asset_response.py,sha256=6-mqYBqWr2Oq0tBSv0BPXfx41LSUp4poizCIi-TGvrI,3728
|
|
36
36
|
mux_python/models/asset_static_renditions.py,sha256=Mu32OZQNJSXfT1L1qwz6H5a7KZzts7f-fyJjv4uJVIA,5198
|
|
37
|
-
mux_python/models/asset_static_renditions_files.py,sha256=
|
|
37
|
+
mux_python/models/asset_static_renditions_files.py,sha256=F-8jlPSo67l72Zw9fXaFJm7LJk9Gw1CW_njhTu43FjY,8544
|
|
38
38
|
mux_python/models/breakdown_value.py,sha256=tF04sNNaWAUxePKxMjO4rmOiO9PNqFzL2JbU6f49fWY,7400
|
|
39
39
|
mux_python/models/broadcast.py,sha256=Q_DJ6hZAAY-zMIAWE_puLSp-zbUbg8peCUkV1rTFTcI,9561
|
|
40
40
|
mux_python/models/broadcast_layout.py,sha256=hvASMNyKZjIAuIzHGJTUy-3PeNGvZmJdWPADrezj134,3335
|
|
41
41
|
mux_python/models/broadcast_resolution.py,sha256=78lSaCEnWdQbUrp5q89zsoiSkhUqkIV_ikSvWfv5_lg,3474
|
|
42
42
|
mux_python/models/broadcast_response.py,sha256=mmgLTTzsFiQDCdTnKsyAzjbDw3ZETrazXD1eePj2wMk,3926
|
|
43
43
|
mux_python/models/broadcast_status.py,sha256=2WpyT7kJRz4FyblKGTXWhX-qbdfYIlRrtbQW_Qsq83M,3278
|
|
44
|
-
mux_python/models/create_asset_request.py,sha256=
|
|
44
|
+
mux_python/models/create_asset_request.py,sha256=jWgEDkbOzmlceBr7nidlF8m_dv2-pUt4YPwn2-rhhps,19325
|
|
45
45
|
mux_python/models/create_broadcast_request.py,sha256=KnjNu2Tu_jI-VmR_xlapOs4ii4yrNl4MycC5jqtnRJQ,7905
|
|
46
46
|
mux_python/models/create_live_stream_request.py,sha256=G1k3tHxVhyG9X9e0O7SsUcpUta5KYBxYjT2kPT6E2_A,26618
|
|
47
47
|
mux_python/models/create_playback_id_request.py,sha256=59ldKCC6Dz1G1Hl0RACY4aiE8oKKYV590lwZWVA3BP8,3877
|
|
@@ -166,7 +166,7 @@ mux_python/models/track.py,sha256=fqvhwtBmn6FJKu4wezu-nGHJe3aCT1EzS4lvi-UGx1k,22
|
|
|
166
166
|
mux_python/models/transcription_vocabulary.py,sha256=y3FR0qjcC4LvFnWpbuDZxAsbC33tBqzHqmJvfzoz4-Y,9235
|
|
167
167
|
mux_python/models/transcription_vocabulary_response.py,sha256=rfND99sXXpKHXCeQI0q5RXtoic-ygPo4J-113zwWgxE,3926
|
|
168
168
|
mux_python/models/update_asset_master_access_request.py,sha256=kaRVch7uRY7zLPMdcMrfQeud_t79-9qb7pQBT4PuJis,4576
|
|
169
|
-
mux_python/models/update_asset_mp4_support_request.py,sha256=
|
|
169
|
+
mux_python/models/update_asset_mp4_support_request.py,sha256=uMNLwKbK-wMsfh7W7Tj9hfiea4rWzDohw_NyC5jx4FE,6266
|
|
170
170
|
mux_python/models/update_asset_request.py,sha256=04mSm89TGQ0p6UwhCoOcI3wTMhiZZcUdYMECGen4A4E,4243
|
|
171
171
|
mux_python/models/update_live_stream_embedded_subtitles_request.py,sha256=IZLtEWa59QiChleoTt9lCnK7M81-WjiPj-q_T7Kmj_Y,4537
|
|
172
172
|
mux_python/models/update_live_stream_generated_subtitles_request.py,sha256=dslbJIFHCuR7cVjuFkCsdnRr91tKpCnaOxEtSAOJyLc,4653
|
|
@@ -182,8 +182,8 @@ mux_python/models/video_view_event.py,sha256=DEIoAJQaflQiCe-LzZ1FpSVzfphd60gguRM
|
|
|
182
182
|
mux_python/models/video_view_response.py,sha256=WIZxYDoRy2bV_3pM9bh77yQl-u44v9tttqVcjkl7u9U,5286
|
|
183
183
|
mux_python/models/web_input.py,sha256=iiWvX2zHyUVaONykYD91OrAbtWibkEmxnZVybdk-Wpo,11494
|
|
184
184
|
mux_python/models/web_input_response.py,sha256=CK4fRkjFyybGkroi2p_IrJuYY-zrkOts43pb04KZJmA,3761
|
|
185
|
-
mux_python-3.
|
|
186
|
-
mux_python-3.
|
|
187
|
-
mux_python-3.
|
|
188
|
-
mux_python-3.
|
|
189
|
-
mux_python-3.
|
|
185
|
+
mux_python-3.15.0.dist-info/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
|
|
186
|
+
mux_python-3.15.0.dist-info/METADATA,sha256=ePTc9G9lmwHPYxuQqoLoqYaQtWZSrf8c4J0GEVPNn04,6505
|
|
187
|
+
mux_python-3.15.0.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
188
|
+
mux_python-3.15.0.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
|
|
189
|
+
mux_python-3.15.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|