Skip to content

Commit 0f263d8

Browse files
committed
merged 'ed/sdk-ng' for 2.0.0-rc.1
1 parent f47c3ca commit 0f263d8

File tree

196 files changed

+16801
-4326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

196 files changed

+16801
-4326
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ coverage.xml
4545
*,cover
4646
.hypothesis/
4747
venv/
48+
.venv/
4849
.python-version
50+
.pytest_cache
4951

5052
# Translations
5153
*.mo

.gitlab-ci.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# ref: https://docs.gitlab.com/ee/ci/README.html
2+
3+
stages:
4+
- test
5+
6+
.nosetest:
7+
stage: test
8+
script:
9+
- pip install -r requirements.txt
10+
- pip install -r test-requirements.txt
11+
- pytest --cov=mux_python
12+
13+
nosetest-2.7:
14+
extends: .nosetest
15+
image: python:2.7-alpine
16+
nosetest-3.3:
17+
extends: .nosetest
18+
image: python:3.3-alpine
19+
nosetest-3.4:
20+
extends: .nosetest
21+
image: python:3.4-alpine
22+
nosetest-3.5:
23+
extends: .nosetest
24+
image: python:3.5-alpine
25+
nosetest-3.6:
26+
extends: .nosetest
27+
image: python:3.6-alpine
28+
nosetest-3.7:
29+
extends: .nosetest
30+
image: python:3.7-alpine
31+
nosetest-3.8:
32+
extends: .nosetest
33+
image: python:3.8-alpine

.openapi-generator-ignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# OpenAPI Generator Ignore
2+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
3+
4+
# Use this file to prevent files from being overwritten by the generator.
5+
# The patterns follow closely to .gitignore or .dockerignore.
6+
7+
# As an example, the C# client generator defines ApiClient.cs.
8+
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
9+
#ApiClient.cs
10+
11+
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
12+
#foo/*/qux
13+
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14+
15+
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16+
#foo/**/qux
17+
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18+
19+
# You can also negate patterns with an exclamation (!).
20+
# For example, you can ignore all files in a docs folder with the file extension .md:
21+
#docs/*.md
22+
# Then explicitly reverse the ignore rule for a single file:
23+
#!docs/README.md
24+
25+
26+
git_push.sh
27+
.travis.yml
28+
.github-ci.yml

.openapi-generator/FILES

+232
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
.gitignore
2+
.gitlab-ci.yml
3+
README.md
4+
docs/AbridgedVideoView.md
5+
docs/Asset.md
6+
docs/AssetErrors.md
7+
docs/AssetMaster.md
8+
docs/AssetNonStandardInputReasons.md
9+
docs/AssetRecordingTimes.md
10+
docs/AssetResponse.md
11+
docs/AssetStaticRenditions.md
12+
docs/AssetStaticRenditionsFiles.md
13+
docs/AssetsApi.md
14+
docs/BreakdownValue.md
15+
docs/CreateAssetRequest.md
16+
docs/CreateLiveStreamRequest.md
17+
docs/CreatePlaybackIDRequest.md
18+
docs/CreatePlaybackIDResponse.md
19+
docs/CreateSimulcastTargetRequest.md
20+
docs/CreateTrackRequest.md
21+
docs/CreateTrackResponse.md
22+
docs/CreateUploadRequest.md
23+
docs/DeliveryReport.md
24+
docs/DeliveryUsageApi.md
25+
docs/DimensionValue.md
26+
docs/DimensionsApi.md
27+
docs/DirectUploadsApi.md
28+
docs/DisableLiveStreamResponse.md
29+
docs/EnableLiveStreamResponse.md
30+
docs/Error.md
31+
docs/ErrorsApi.md
32+
docs/ExportsApi.md
33+
docs/FilterValue.md
34+
docs/FiltersApi.md
35+
docs/GetAssetInputInfoResponse.md
36+
docs/GetAssetOrLiveStreamIdResponse.md
37+
docs/GetAssetOrLiveStreamIdResponseData.md
38+
docs/GetAssetOrLiveStreamIdResponseDataObject.md
39+
docs/GetAssetPlaybackIDResponse.md
40+
docs/GetMetricTimeseriesDataResponse.md
41+
docs/GetOverallValuesResponse.md
42+
docs/GetRealTimeBreakdownResponse.md
43+
docs/GetRealTimeHistogramTimeseriesResponse.md
44+
docs/GetRealTimeHistogramTimeseriesResponseMeta.md
45+
docs/GetRealTimeTimeseriesResponse.md
46+
docs/Incident.md
47+
docs/IncidentBreakdown.md
48+
docs/IncidentNotification.md
49+
docs/IncidentNotificationRule.md
50+
docs/IncidentResponse.md
51+
docs/IncidentsApi.md
52+
docs/InputFile.md
53+
docs/InputInfo.md
54+
docs/InputSettings.md
55+
docs/InputSettingsOverlaySettings.md
56+
docs/InputTrack.md
57+
docs/Insight.md
58+
docs/ListAllMetricValuesResponse.md
59+
docs/ListAssetsResponse.md
60+
docs/ListBreakdownValuesResponse.md
61+
docs/ListDeliveryUsageResponse.md
62+
docs/ListDimensionValuesResponse.md
63+
docs/ListDimensionsResponse.md
64+
docs/ListErrorsResponse.md
65+
docs/ListExportsResponse.md
66+
docs/ListFilterValuesResponse.md
67+
docs/ListFiltersResponse.md
68+
docs/ListFiltersResponseData.md
69+
docs/ListIncidentsResponse.md
70+
docs/ListInsightsResponse.md
71+
docs/ListLiveStreamsResponse.md
72+
docs/ListRealTimeDimensionsResponse.md
73+
docs/ListRealTimeDimensionsResponseData.md
74+
docs/ListRealTimeMetricsResponse.md
75+
docs/ListRelatedIncidentsResponse.md
76+
docs/ListSigningKeysResponse.md
77+
docs/ListUploadsResponse.md
78+
docs/ListVideoViewsResponse.md
79+
docs/LiveStream.md
80+
docs/LiveStreamResponse.md
81+
docs/LiveStreamsApi.md
82+
docs/Metric.md
83+
docs/MetricsApi.md
84+
docs/NotificationRule.md
85+
docs/OverallValues.md
86+
docs/PlaybackID.md
87+
docs/PlaybackIDApi.md
88+
docs/PlaybackPolicy.md
89+
docs/RealTimeApi.md
90+
docs/RealTimeBreakdownValue.md
91+
docs/RealTimeHistogramTimeseriesBucket.md
92+
docs/RealTimeHistogramTimeseriesBucketValues.md
93+
docs/RealTimeHistogramTimeseriesDatapoint.md
94+
docs/RealTimeTimeseriesDatapoint.md
95+
docs/Score.md
96+
docs/SignalLiveStreamCompleteResponse.md
97+
docs/SigningKey.md
98+
docs/SigningKeyResponse.md
99+
docs/SimulcastTarget.md
100+
docs/SimulcastTargetResponse.md
101+
docs/Track.md
102+
docs/URLSigningKeysApi.md
103+
docs/UpdateAssetMP4SupportRequest.md
104+
docs/UpdateAssetMasterAccessRequest.md
105+
docs/Upload.md
106+
docs/UploadError.md
107+
docs/UploadResponse.md
108+
docs/VideoView.md
109+
docs/VideoViewEvent.md
110+
docs/VideoViewResponse.md
111+
docs/VideoViewsApi.md
112+
mux_python/__init__.py
113+
mux_python/api/__init__.py
114+
mux_python/api/assets_api.py
115+
mux_python/api/delivery_usage_api.py
116+
mux_python/api/dimensions_api.py
117+
mux_python/api/direct_uploads_api.py
118+
mux_python/api/errors_api.py
119+
mux_python/api/exports_api.py
120+
mux_python/api/filters_api.py
121+
mux_python/api/incidents_api.py
122+
mux_python/api/live_streams_api.py
123+
mux_python/api/metrics_api.py
124+
mux_python/api/playback_id_api.py
125+
mux_python/api/real_time_api.py
126+
mux_python/api/url_signing_keys_api.py
127+
mux_python/api/video_views_api.py
128+
mux_python/api_client.py
129+
mux_python/configuration.py
130+
mux_python/exceptions.py
131+
mux_python/models/__init__.py
132+
mux_python/models/abridged_video_view.py
133+
mux_python/models/asset.py
134+
mux_python/models/asset_errors.py
135+
mux_python/models/asset_master.py
136+
mux_python/models/asset_non_standard_input_reasons.py
137+
mux_python/models/asset_recording_times.py
138+
mux_python/models/asset_response.py
139+
mux_python/models/asset_static_renditions.py
140+
mux_python/models/asset_static_renditions_files.py
141+
mux_python/models/breakdown_value.py
142+
mux_python/models/create_asset_request.py
143+
mux_python/models/create_live_stream_request.py
144+
mux_python/models/create_playback_id_request.py
145+
mux_python/models/create_playback_id_response.py
146+
mux_python/models/create_simulcast_target_request.py
147+
mux_python/models/create_track_request.py
148+
mux_python/models/create_track_response.py
149+
mux_python/models/create_upload_request.py
150+
mux_python/models/delivery_report.py
151+
mux_python/models/dimension_value.py
152+
mux_python/models/disable_live_stream_response.py
153+
mux_python/models/enable_live_stream_response.py
154+
mux_python/models/error.py
155+
mux_python/models/filter_value.py
156+
mux_python/models/get_asset_input_info_response.py
157+
mux_python/models/get_asset_or_live_stream_id_response.py
158+
mux_python/models/get_asset_or_live_stream_id_response_data.py
159+
mux_python/models/get_asset_or_live_stream_id_response_data_object.py
160+
mux_python/models/get_asset_playback_id_response.py
161+
mux_python/models/get_metric_timeseries_data_response.py
162+
mux_python/models/get_overall_values_response.py
163+
mux_python/models/get_real_time_breakdown_response.py
164+
mux_python/models/get_real_time_histogram_timeseries_response.py
165+
mux_python/models/get_real_time_histogram_timeseries_response_meta.py
166+
mux_python/models/get_real_time_timeseries_response.py
167+
mux_python/models/incident.py
168+
mux_python/models/incident_breakdown.py
169+
mux_python/models/incident_notification.py
170+
mux_python/models/incident_notification_rule.py
171+
mux_python/models/incident_response.py
172+
mux_python/models/input_file.py
173+
mux_python/models/input_info.py
174+
mux_python/models/input_settings.py
175+
mux_python/models/input_settings_overlay_settings.py
176+
mux_python/models/input_track.py
177+
mux_python/models/insight.py
178+
mux_python/models/list_all_metric_values_response.py
179+
mux_python/models/list_assets_response.py
180+
mux_python/models/list_breakdown_values_response.py
181+
mux_python/models/list_delivery_usage_response.py
182+
mux_python/models/list_dimension_values_response.py
183+
mux_python/models/list_dimensions_response.py
184+
mux_python/models/list_errors_response.py
185+
mux_python/models/list_exports_response.py
186+
mux_python/models/list_filter_values_response.py
187+
mux_python/models/list_filters_response.py
188+
mux_python/models/list_filters_response_data.py
189+
mux_python/models/list_incidents_response.py
190+
mux_python/models/list_insights_response.py
191+
mux_python/models/list_live_streams_response.py
192+
mux_python/models/list_real_time_dimensions_response.py
193+
mux_python/models/list_real_time_dimensions_response_data.py
194+
mux_python/models/list_real_time_metrics_response.py
195+
mux_python/models/list_related_incidents_response.py
196+
mux_python/models/list_signing_keys_response.py
197+
mux_python/models/list_uploads_response.py
198+
mux_python/models/list_video_views_response.py
199+
mux_python/models/live_stream.py
200+
mux_python/models/live_stream_response.py
201+
mux_python/models/metric.py
202+
mux_python/models/notification_rule.py
203+
mux_python/models/overall_values.py
204+
mux_python/models/playback_id.py
205+
mux_python/models/playback_policy.py
206+
mux_python/models/real_time_breakdown_value.py
207+
mux_python/models/real_time_histogram_timeseries_bucket.py
208+
mux_python/models/real_time_histogram_timeseries_bucket_values.py
209+
mux_python/models/real_time_histogram_timeseries_datapoint.py
210+
mux_python/models/real_time_timeseries_datapoint.py
211+
mux_python/models/score.py
212+
mux_python/models/signal_live_stream_complete_response.py
213+
mux_python/models/signing_key.py
214+
mux_python/models/signing_key_response.py
215+
mux_python/models/simulcast_target.py
216+
mux_python/models/simulcast_target_response.py
217+
mux_python/models/track.py
218+
mux_python/models/update_asset_master_access_request.py
219+
mux_python/models/update_asset_mp4_support_request.py
220+
mux_python/models/upload.py
221+
mux_python/models/upload_error.py
222+
mux_python/models/upload_response.py
223+
mux_python/models/video_view.py
224+
mux_python/models/video_view_event.py
225+
mux_python/models/video_view_response.py
226+
mux_python/rest.py
227+
requirements.txt
228+
setup.cfg
229+
setup.py
230+
test-requirements.txt
231+
test/__init__.py
232+
tox.ini

.openapi-generator/VERSION

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5.0.1

docs/Asset.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,15 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**id** | **str** | Unique identifier for the Asset. | [optional]
7-
**created_at** | **str** | Time at which the object was created. Measured in seconds since the Unix epoch. | [optional]
8-
**deleted_at** | **str** | | [optional]
6+
**id** | **str** | Unique identifier for the Asset. Max 255 characters. | [optional]
7+
**created_at** | **str** | Time the Asset was created, defined as a Unix timestamp (seconds since epoch). | [optional]
98
**status** | **str** | The status of the asset. | [optional]
109
**duration** | **float** | The duration of the asset in seconds (max duration for a single asset is 24 hours). | [optional]
1110
**max_stored_resolution** | **str** | The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. | [optional]
1211
**max_stored_frame_rate** | **float** | The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined. | [optional]
1312
**aspect_ratio** | **str** | The aspect ratio of the asset in the form of `width:height`, for example `16:9`. | [optional]
14-
**playback_ids** | [**list[PlaybackID]**](PlaybackID.md) | | [optional]
15-
**tracks** | [**list[Track]**](Track.md) | | [optional]
13+
**playback_ids** | [**list[PlaybackID]**](PlaybackID.md) | An array of Playback ID objects. Use these to create HLS playback URLs. See [Play your videos](https://docs.mux.com/guides/video/play-your-videos) for more details. | [optional]
14+
**tracks** | [**list[Track]**](Track.md) | The individual media tracks that make up an asset. | [optional]
1615
**errors** | [**AssetErrors**](AssetErrors.md) | | [optional]
1716
**per_title_encode** | **bool** | | [optional]
1817
**is_live** | **bool** | Whether the asset is created from a live stream and the live stream is currently `active` and not in `idle` state. | [optional]
@@ -26,7 +25,7 @@ Name | Type | Description | Notes
2625
**static_renditions** | [**AssetStaticRenditions**](AssetStaticRenditions.md) | | [optional]
2726
**recording_times** | [**list[AssetRecordingTimes]**](AssetRecordingTimes.md) | An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream | [optional]
2827
**non_standard_input_reasons** | [**AssetNonStandardInputReasons**](AssetNonStandardInputReasons.md) | | [optional]
29-
**test** | **bool** | Indicates this asset is a test asset if the value is `true`. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs. | [optional]
28+
**test** | **bool** | True means this live stream is a test asset. A test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test assets are watermarked with the Mux logo, limited to 10 seconds, and deleted after 24 hrs. | [optional]
3029

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

docs/AssetErrors.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# AssetErrors
22

3+
Object that describes any errors that happened when processing this asset.
34
## Properties
45
Name | Type | Description | Notes
56
------------ | ------------- | ------------- | -------------

docs/AssetMaster.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# AssetMaster
22

3+
An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if `master_acess` is set to `none` and when the temporary URL expires.
34
## Properties
45
Name | Type | Description | Notes
56
------------ | ------------- | ------------- | -------------
67
**status** | **str** | | [optional]
7-
**url** | **str** | | [optional]
8+
**url** | **str** | The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours. | [optional]
89

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

docs/AssetNonStandardInputReasons.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# AssetNonStandardInputReasons
22

3+
An object containing one or more reasons the input file is non-standard. See [the guide on minimizing processing time](https://docs.mux.com/guides/video/minimize-processing-time) for more information on what a standard input is defined as. This object only exists on on-demand assets that have non-standard inputs, so if missing you can assume the input qualifies as standard.
34
## Properties
45
Name | Type | Description | Notes
56
------------ | ------------- | ------------- | -------------
6-
**video_codec** | **str** | The video codec used on the input file. | [optional]
7-
**audio_codec** | **str** | The audio codec used on the input file. | [optional]
8-
**video_gop_size** | **str** | The video key frame Interval (also called as Group of Picture or GOP) of the input file. | [optional]
9-
**video_frame_rate** | **str** | The video frame rate of the input file. | [optional]
10-
**video_resolution** | **str** | The video resolution of the input file. | [optional]
7+
**video_codec** | **str** | The video codec used on the input file. For example, the input file encoded with `hevc` video codec is non-standard and the value of this parameter is `hevc`. | [optional]
8+
**audio_codec** | **str** | The audio codec used on the input file. Non-AAC audio codecs are non-standard. | [optional]
9+
**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]
10+
**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]
11+
**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]
1112
**pixel_aspect_ratio** | **str** | The video pixel aspect ratio of the input file. | [optional]
1213
**video_edit_list** | **str** | Video Edit List reason indicates that the input file's video track contains a complex Edit Decision List. | [optional]
1314
**audio_edit_list** | **str** | Audio Edit List reason indicates that the input file's audio track contains a complex Edit Decision List. | [optional]

docs/AssetStaticRenditions.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# AssetStaticRenditions
22

3+
An object containing the current status of any static renditions (mp4s). The object does not exist if no static renditions have been requested. See [Download your videos](https://docs.mux.com/guides/video/download-your-videos) for more information.
34
## Properties
45
Name | Type | Description | Notes
56
------------ | ------------- | ------------- | -------------
67
**status** | **str** | Indicates the status of downloadable MP4 versions of this asset. | [optional] [default to 'disabled']
7-
**files** | [**list[AssetStaticRenditionsFiles]**](AssetStaticRenditionsFiles.md) | | [optional]
8+
**files** | [**list[AssetStaticRenditionsFiles]**](AssetStaticRenditionsFiles.md) | Array of file objects. | [optional]
89

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

0 commit comments

Comments
 (0)