mux-python 3.8.0__py3.11.egg → 3.10.0__py3.11.egg
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.
- EGG-INFO/PKG-INFO +1 -1
- EGG-INFO/SOURCES.txt +4 -0
- mux_python/__init__.py +3 -1
- mux_python/__pycache__/__init__.cpython-311.pyc +0 -0
- mux_python/__pycache__/api_client.cpython-311.pyc +0 -0
- mux_python/__pycache__/configuration.cpython-311.pyc +0 -0
- mux_python/__pycache__/exceptions.cpython-311.pyc +0 -0
- mux_python/__pycache__/rest.cpython-311.pyc +0 -0
- mux_python/api/__init__.py +1 -0
- mux_python/api/__pycache__/__init__.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/assets_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/delivery_usage_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/dimensions_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/direct_uploads_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/errors_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/exports_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/filters_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/incidents_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/live_streams_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/metrics_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/monitoring_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/playback_id_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/playback_restrictions_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/real_time_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/signing_keys_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/spaces_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/transcription_vocabularies_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/url_signing_keys_api.cpython-311.pyc +0 -0
- mux_python/api/__pycache__/video_views_api.cpython-311.pyc +0 -0
- mux_python/api/direct_uploads_api.py +2 -2
- mux_python/api/monitoring_api.py +8 -1
- mux_python/api/real_time_api.py +8 -1
- mux_python/api/signing_keys_api.py +564 -0
- mux_python/api/url_signing_keys_api.py +8 -8
- mux_python/api_client.py +1 -1
- mux_python/configuration.py +1 -1
- mux_python/models/__init__.py +1 -0
- mux_python/models/__pycache__/__init__.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/abridged_video_view.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/asset.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/asset_errors.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/asset_master.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/asset_non_standard_input_reasons.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/asset_recording_times.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/asset_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/asset_static_renditions.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/asset_static_renditions_files.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/breakdown_value.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/broadcast.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/broadcast_layout.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/broadcast_resolution.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/broadcast_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/broadcast_status.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_asset_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_broadcast_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_live_stream_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_playback_id_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_playback_id_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_playback_restriction_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_simulcast_target_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_space_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_track_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_track_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_transcription_vocabulary_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/create_upload_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/delivery_report.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/delivery_report_delivered_seconds_by_resolution.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/dimension_value.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/disable_live_stream_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/enable_live_stream_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/error.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/export_date.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/export_file.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/filter_value.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_asset_input_info_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_asset_or_live_stream_id_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_asset_or_live_stream_id_response_data.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_asset_or_live_stream_id_response_data_object.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_asset_playback_id_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_live_stream_playback_id_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_metric_timeseries_data_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_monitoring_breakdown_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_monitoring_histogram_timeseries_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_monitoring_histogram_timeseries_response_meta.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_monitoring_timeseries_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_overall_values_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_real_time_breakdown_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_real_time_histogram_timeseries_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_real_time_histogram_timeseries_response_meta.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/get_real_time_timeseries_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/incident.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/incident_breakdown.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/incident_notification.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/incident_notification_rule.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/incident_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/input_file.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/input_info.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/input_settings.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/input_settings_overlay_settings.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/input_track.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/insight.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_all_metric_values_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_assets_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_breakdown_values_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_delivery_usage_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_dimension_values_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_dimensions_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_errors_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_exports_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_filter_values_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_filters_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_filters_response_data.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_incidents_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_insights_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_live_streams_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_monitoring_dimensions_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_monitoring_dimensions_response_data.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_monitoring_metrics_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_playback_restrictions_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_real_time_dimensions_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_real_time_metrics_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_related_incidents_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_signing_keys_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_spaces_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_transcription_vocabularies_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_uploads_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_video_view_exports_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/list_video_views_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/live_stream.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/live_stream_embedded_subtitle_settings.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/live_stream_generated_subtitle_settings.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/live_stream_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/live_stream_status.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/metric.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/monitoring_breakdown_value.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/monitoring_histogram_timeseries_bucket.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/monitoring_histogram_timeseries_bucket_values.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/monitoring_histogram_timeseries_datapoint.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/monitoring_timeseries_datapoint.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/notification_rule.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/overall_values.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/playback_id.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/playback_policy.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/playback_restriction.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/playback_restriction_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/real_time_breakdown_value.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/real_time_histogram_timeseries_bucket.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/real_time_histogram_timeseries_bucket_values.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/real_time_histogram_timeseries_datapoint.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/real_time_timeseries_datapoint.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/referrer_domain_restriction.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/score.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/signal_live_stream_complete_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/signing_key.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/signing_key_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/simulcast_target.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/simulcast_target_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/space.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/space_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/space_status.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/space_type.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/start_space_broadcast_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/stop_space_broadcast_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/track.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/transcription_vocabulary.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/transcription_vocabulary_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/update_asset_master_access_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/update_asset_mp4_support_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/update_asset_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/update_live_stream_embedded_subtitles_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/update_live_stream_generated_subtitles_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/update_live_stream_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/update_referrer_domain_restriction_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/update_transcription_vocabulary_request.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/upload.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/upload_error.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/upload_response.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/video_view.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/video_view_event.cpython-311.pyc +0 -0
- mux_python/models/__pycache__/video_view_response.cpython-311.pyc +0 -0
- mux_python/models/asset_non_standard_input_reasons.py +31 -3
- mux_python/models/broadcast_layout.py +2 -1
- mux_python/models/create_live_stream_request.py +2 -2
- mux_python/models/delivery_report.py +29 -3
- mux_python/models/delivery_report_delivered_seconds_by_resolution.py +246 -0
- mux_python/models/live_stream.py +4 -4
- mux_python/models/live_stream_embedded_subtitle_settings.py +1 -1
- mux_python/models/track.py +1 -1
- mux_python/models/update_live_stream_request.py +2 -2
- mux_python/models/video_view.py +380 -3
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Mux API
|
|
5
|
+
|
|
6
|
+
Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before. # noqa: E501
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v1
|
|
9
|
+
Contact: devex@mux.com
|
|
10
|
+
Generated by: https://openapi-generator.tech
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
from inspect import getfullargspec
|
|
16
|
+
except ImportError:
|
|
17
|
+
from inspect import getargspec as getfullargspec
|
|
18
|
+
import pprint
|
|
19
|
+
import re # noqa: F401
|
|
20
|
+
import six
|
|
21
|
+
|
|
22
|
+
from mux_python.configuration import Configuration
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
class DeliveryReportDeliveredSecondsByResolution(object):
|
|
26
|
+
"""NOTE: This class is auto generated by OpenAPI Generator.
|
|
27
|
+
Ref: https://openapi-generator.tech
|
|
28
|
+
|
|
29
|
+
Do not edit the class manually.
|
|
30
|
+
"""
|
|
31
|
+
|
|
32
|
+
"""
|
|
33
|
+
Attributes:
|
|
34
|
+
openapi_types (dict): The key is attribute name
|
|
35
|
+
and the value is attribute type.
|
|
36
|
+
attribute_map (dict): The key is attribute name
|
|
37
|
+
and the value is json key in definition.
|
|
38
|
+
"""
|
|
39
|
+
openapi_types = {
|
|
40
|
+
'tier_2160p': 'float',
|
|
41
|
+
'tier_1440p': 'float',
|
|
42
|
+
'tier_1080p': 'float',
|
|
43
|
+
'tier_720p': 'float',
|
|
44
|
+
'tier_audio_only': 'float'
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
attribute_map = {
|
|
48
|
+
'tier_2160p': 'tier_2160p',
|
|
49
|
+
'tier_1440p': 'tier_1440p',
|
|
50
|
+
'tier_1080p': 'tier_1080p',
|
|
51
|
+
'tier_720p': 'tier_720p',
|
|
52
|
+
'tier_audio_only': 'tier_audio_only'
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
def __init__(self, tier_2160p=None, tier_1440p=None, tier_1080p=None, tier_720p=None, tier_audio_only=None, local_vars_configuration=None): # noqa: E501
|
|
56
|
+
"""DeliveryReportDeliveredSecondsByResolution - a model defined in OpenAPI""" # noqa: E501
|
|
57
|
+
if local_vars_configuration is None:
|
|
58
|
+
local_vars_configuration = Configuration.get_default_copy()
|
|
59
|
+
self.local_vars_configuration = local_vars_configuration
|
|
60
|
+
|
|
61
|
+
self._tier_2160p = None
|
|
62
|
+
self._tier_1440p = None
|
|
63
|
+
self._tier_1080p = None
|
|
64
|
+
self._tier_720p = None
|
|
65
|
+
self._tier_audio_only = None
|
|
66
|
+
self.discriminator = None
|
|
67
|
+
|
|
68
|
+
if tier_2160p is not None:
|
|
69
|
+
self.tier_2160p = tier_2160p
|
|
70
|
+
if tier_1440p is not None:
|
|
71
|
+
self.tier_1440p = tier_1440p
|
|
72
|
+
if tier_1080p is not None:
|
|
73
|
+
self.tier_1080p = tier_1080p
|
|
74
|
+
if tier_720p is not None:
|
|
75
|
+
self.tier_720p = tier_720p
|
|
76
|
+
if tier_audio_only is not None:
|
|
77
|
+
self.tier_audio_only = tier_audio_only
|
|
78
|
+
|
|
79
|
+
@property
|
|
80
|
+
def tier_2160p(self):
|
|
81
|
+
"""Gets the tier_2160p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
82
|
+
|
|
83
|
+
Total number of delivered seconds during this time window that had a resolution larger than the 1440p tier (over 4,194,304 pixels total). # noqa: E501
|
|
84
|
+
|
|
85
|
+
:return: The tier_2160p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
86
|
+
:rtype: float
|
|
87
|
+
"""
|
|
88
|
+
return self._tier_2160p
|
|
89
|
+
|
|
90
|
+
@tier_2160p.setter
|
|
91
|
+
def tier_2160p(self, tier_2160p):
|
|
92
|
+
"""Sets the tier_2160p of this DeliveryReportDeliveredSecondsByResolution.
|
|
93
|
+
|
|
94
|
+
Total number of delivered seconds during this time window that had a resolution larger than the 1440p tier (over 4,194,304 pixels total). # noqa: E501
|
|
95
|
+
|
|
96
|
+
:param tier_2160p: The tier_2160p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
97
|
+
:type tier_2160p: float
|
|
98
|
+
"""
|
|
99
|
+
|
|
100
|
+
self._tier_2160p = tier_2160p
|
|
101
|
+
|
|
102
|
+
@property
|
|
103
|
+
def tier_1440p(self):
|
|
104
|
+
"""Gets the tier_1440p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
105
|
+
|
|
106
|
+
Total number of delivered seconds during this time window that had a resolution larger than the 1080p tier but less than or equal to the 2160p tier (over 2,073,600 and <= 4,194,304 pixels total). # noqa: E501
|
|
107
|
+
|
|
108
|
+
:return: The tier_1440p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
109
|
+
:rtype: float
|
|
110
|
+
"""
|
|
111
|
+
return self._tier_1440p
|
|
112
|
+
|
|
113
|
+
@tier_1440p.setter
|
|
114
|
+
def tier_1440p(self, tier_1440p):
|
|
115
|
+
"""Sets the tier_1440p of this DeliveryReportDeliveredSecondsByResolution.
|
|
116
|
+
|
|
117
|
+
Total number of delivered seconds during this time window that had a resolution larger than the 1080p tier but less than or equal to the 2160p tier (over 2,073,600 and <= 4,194,304 pixels total). # noqa: E501
|
|
118
|
+
|
|
119
|
+
:param tier_1440p: The tier_1440p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
120
|
+
:type tier_1440p: float
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
self._tier_1440p = tier_1440p
|
|
124
|
+
|
|
125
|
+
@property
|
|
126
|
+
def tier_1080p(self):
|
|
127
|
+
"""Gets the tier_1080p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
128
|
+
|
|
129
|
+
Total number of delivered seconds during this time window that had a resolution larger than the 720p tier but less than or equal to the 1440p tier (over 921,600 and <= 2,073,600 pixels total). # noqa: E501
|
|
130
|
+
|
|
131
|
+
:return: The tier_1080p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
132
|
+
:rtype: float
|
|
133
|
+
"""
|
|
134
|
+
return self._tier_1080p
|
|
135
|
+
|
|
136
|
+
@tier_1080p.setter
|
|
137
|
+
def tier_1080p(self, tier_1080p):
|
|
138
|
+
"""Sets the tier_1080p of this DeliveryReportDeliveredSecondsByResolution.
|
|
139
|
+
|
|
140
|
+
Total number of delivered seconds during this time window that had a resolution larger than the 720p tier but less than or equal to the 1440p tier (over 921,600 and <= 2,073,600 pixels total). # noqa: E501
|
|
141
|
+
|
|
142
|
+
:param tier_1080p: The tier_1080p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
143
|
+
:type tier_1080p: float
|
|
144
|
+
"""
|
|
145
|
+
|
|
146
|
+
self._tier_1080p = tier_1080p
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def tier_720p(self):
|
|
150
|
+
"""Gets the tier_720p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
151
|
+
|
|
152
|
+
Total number of delivered seconds during this time window that had a resolution within the 720p tier (up to 921,600 pixels total, based on typical 1280x720). # noqa: E501
|
|
153
|
+
|
|
154
|
+
:return: The tier_720p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
155
|
+
:rtype: float
|
|
156
|
+
"""
|
|
157
|
+
return self._tier_720p
|
|
158
|
+
|
|
159
|
+
@tier_720p.setter
|
|
160
|
+
def tier_720p(self, tier_720p):
|
|
161
|
+
"""Sets the tier_720p of this DeliveryReportDeliveredSecondsByResolution.
|
|
162
|
+
|
|
163
|
+
Total number of delivered seconds during this time window that had a resolution within the 720p tier (up to 921,600 pixels total, based on typical 1280x720). # noqa: E501
|
|
164
|
+
|
|
165
|
+
:param tier_720p: The tier_720p of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
166
|
+
:type tier_720p: float
|
|
167
|
+
"""
|
|
168
|
+
|
|
169
|
+
self._tier_720p = tier_720p
|
|
170
|
+
|
|
171
|
+
@property
|
|
172
|
+
def tier_audio_only(self):
|
|
173
|
+
"""Gets the tier_audio_only of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
174
|
+
|
|
175
|
+
Total number of delivered seconds during this time window that had a resolution of audio only. # noqa: E501
|
|
176
|
+
|
|
177
|
+
:return: The tier_audio_only of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
178
|
+
:rtype: float
|
|
179
|
+
"""
|
|
180
|
+
return self._tier_audio_only
|
|
181
|
+
|
|
182
|
+
@tier_audio_only.setter
|
|
183
|
+
def tier_audio_only(self, tier_audio_only):
|
|
184
|
+
"""Sets the tier_audio_only of this DeliveryReportDeliveredSecondsByResolution.
|
|
185
|
+
|
|
186
|
+
Total number of delivered seconds during this time window that had a resolution of audio only. # noqa: E501
|
|
187
|
+
|
|
188
|
+
:param tier_audio_only: The tier_audio_only of this DeliveryReportDeliveredSecondsByResolution. # noqa: E501
|
|
189
|
+
:type tier_audio_only: float
|
|
190
|
+
"""
|
|
191
|
+
|
|
192
|
+
self._tier_audio_only = tier_audio_only
|
|
193
|
+
|
|
194
|
+
def to_dict(self, serialize=False):
|
|
195
|
+
"""Returns the model properties as a dict"""
|
|
196
|
+
result = {}
|
|
197
|
+
|
|
198
|
+
def convert(x):
|
|
199
|
+
if hasattr(x, "to_dict"):
|
|
200
|
+
args = getfullargspec(x.to_dict).args
|
|
201
|
+
if len(args) == 1:
|
|
202
|
+
return x.to_dict()
|
|
203
|
+
else:
|
|
204
|
+
return x.to_dict(serialize)
|
|
205
|
+
else:
|
|
206
|
+
return x
|
|
207
|
+
|
|
208
|
+
for attr, _ in six.iteritems(self.openapi_types):
|
|
209
|
+
value = getattr(self, attr)
|
|
210
|
+
attr = self.attribute_map.get(attr, attr) if serialize else attr
|
|
211
|
+
if isinstance(value, list):
|
|
212
|
+
result[attr] = list(map(
|
|
213
|
+
lambda x: convert(x),
|
|
214
|
+
value
|
|
215
|
+
))
|
|
216
|
+
elif isinstance(value, dict):
|
|
217
|
+
result[attr] = dict(map(
|
|
218
|
+
lambda item: (item[0], convert(item[1])),
|
|
219
|
+
value.items()
|
|
220
|
+
))
|
|
221
|
+
else:
|
|
222
|
+
result[attr] = convert(value)
|
|
223
|
+
|
|
224
|
+
return result
|
|
225
|
+
|
|
226
|
+
def to_str(self):
|
|
227
|
+
"""Returns the string representation of the model"""
|
|
228
|
+
return pprint.pformat(self.to_dict())
|
|
229
|
+
|
|
230
|
+
def __repr__(self):
|
|
231
|
+
"""For `print` and `pprint`"""
|
|
232
|
+
return self.to_str()
|
|
233
|
+
|
|
234
|
+
def __eq__(self, other):
|
|
235
|
+
"""Returns true if both objects are equal"""
|
|
236
|
+
if not isinstance(other, DeliveryReportDeliveredSecondsByResolution):
|
|
237
|
+
return False
|
|
238
|
+
|
|
239
|
+
return self.to_dict() == other.to_dict()
|
|
240
|
+
|
|
241
|
+
def __ne__(self, other):
|
|
242
|
+
"""Returns true if both objects are not equal"""
|
|
243
|
+
if not isinstance(other, DeliveryReportDeliveredSecondsByResolution):
|
|
244
|
+
return True
|
|
245
|
+
|
|
246
|
+
return self.to_dict() != other.to_dict()
|
mux_python/models/live_stream.py
CHANGED
|
@@ -252,7 +252,7 @@ class LiveStream(object):
|
|
|
252
252
|
def recent_asset_ids(self):
|
|
253
253
|
"""Gets the recent_asset_ids of this LiveStream. # noqa: E501
|
|
254
254
|
|
|
255
|
-
An array of strings with the most recent
|
|
255
|
+
An array of strings with the most recent Asset IDs that were created from this Live Stream. The most recently generated Asset ID is the last entry in the list. # noqa: E501
|
|
256
256
|
|
|
257
257
|
:return: The recent_asset_ids of this LiveStream. # noqa: E501
|
|
258
258
|
:rtype: list[str]
|
|
@@ -263,7 +263,7 @@ class LiveStream(object):
|
|
|
263
263
|
def recent_asset_ids(self, recent_asset_ids):
|
|
264
264
|
"""Sets the recent_asset_ids of this LiveStream.
|
|
265
265
|
|
|
266
|
-
An array of strings with the most recent
|
|
266
|
+
An array of strings with the most recent Asset IDs that were created from this Live Stream. The most recently generated Asset ID is the last entry in the list. # noqa: E501
|
|
267
267
|
|
|
268
268
|
:param recent_asset_ids: The recent_asset_ids of this LiveStream. # noqa: E501
|
|
269
269
|
:type recent_asset_ids: list[str]
|
|
@@ -432,7 +432,7 @@ class LiveStream(object):
|
|
|
432
432
|
def reconnect_window(self):
|
|
433
433
|
"""Gets the reconnect_window of this LiveStream. # noqa: E501
|
|
434
434
|
|
|
435
|
-
When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. **Max**: 1800s (30 minutes). Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
|
|
435
|
+
When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. **Max**: 1800s (30 minutes). If not specified directly, Standard Latency streams have a Reconnect Window of 60 seconds; Reduced and Low Latency streams have a default of 0 seconds, or no Reconnect Window. For that reason, we suggest specifying a value other than zero for Reduced and Low Latency streams. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
|
|
436
436
|
|
|
437
437
|
:return: The reconnect_window of this LiveStream. # noqa: E501
|
|
438
438
|
:rtype: float
|
|
@@ -443,7 +443,7 @@ class LiveStream(object):
|
|
|
443
443
|
def reconnect_window(self, reconnect_window):
|
|
444
444
|
"""Sets the reconnect_window of this LiveStream.
|
|
445
445
|
|
|
446
|
-
When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. **Max**: 1800s (30 minutes). Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
|
|
446
|
+
When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. **Max**: 1800s (30 minutes). If not specified directly, Standard Latency streams have a Reconnect Window of 60 seconds; Reduced and Low Latency streams have a default of 0 seconds, or no Reconnect Window. For that reason, we suggest specifying a value other than zero for Reduced and Low Latency streams. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
|
|
447
447
|
|
|
448
448
|
:param reconnect_window: The reconnect_window of this LiveStream. # noqa: E501
|
|
449
449
|
:type reconnect_window: float
|
|
@@ -160,7 +160,7 @@ class LiveStreamEmbeddedSubtitleSettings(object):
|
|
|
160
160
|
:param language_channel: The language_channel of this LiveStreamEmbeddedSubtitleSettings. # noqa: E501
|
|
161
161
|
:type language_channel: str
|
|
162
162
|
"""
|
|
163
|
-
allowed_values = ["cc1"] # noqa: E501
|
|
163
|
+
allowed_values = ["cc1", "cc2", "cc3", "cc4"] # noqa: E501
|
|
164
164
|
if self.local_vars_configuration.client_side_validation and language_channel not in allowed_values: # noqa: E501
|
|
165
165
|
raise ValueError(
|
|
166
166
|
"Invalid value for `language_channel` ({0}), must be one of {1}" # noqa: E501
|
mux_python/models/track.py
CHANGED
|
@@ -486,7 +486,7 @@ class Track(object):
|
|
|
486
486
|
:param status: The status of this Track. # noqa: E501
|
|
487
487
|
:type status: str
|
|
488
488
|
"""
|
|
489
|
-
allowed_values = ["preparing", "ready", "errored"] # noqa: E501
|
|
489
|
+
allowed_values = ["preparing", "ready", "errored", "deleted"] # noqa: E501
|
|
490
490
|
if self.local_vars_configuration.client_side_validation and status not in allowed_values: # noqa: E501
|
|
491
491
|
raise ValueError(
|
|
492
492
|
"Invalid value for `status` ({0}), must be one of {1}" # noqa: E501
|
|
@@ -137,7 +137,7 @@ class UpdateLiveStreamRequest(object):
|
|
|
137
137
|
def reconnect_window(self):
|
|
138
138
|
"""Gets the reconnect_window of this UpdateLiveStreamRequest. # noqa: E501
|
|
139
139
|
|
|
140
|
-
When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
|
|
140
|
+
When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. If not specified directly, Standard Latency streams have a Reconnect Window of 60 seconds; Reduced and Low Latency streams have a default of 0 seconds, or no Reconnect Window. For that reason, we suggest specifying a value other than zero for Reduced and Low Latency streams. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
|
|
141
141
|
|
|
142
142
|
:return: The reconnect_window of this UpdateLiveStreamRequest. # noqa: E501
|
|
143
143
|
:rtype: float
|
|
@@ -148,7 +148,7 @@ class UpdateLiveStreamRequest(object):
|
|
|
148
148
|
def reconnect_window(self, reconnect_window):
|
|
149
149
|
"""Sets the reconnect_window of this UpdateLiveStreamRequest.
|
|
150
150
|
|
|
151
|
-
When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
|
|
151
|
+
When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. If not specified directly, Standard Latency streams have a Reconnect Window of 60 seconds; Reduced and Low Latency streams have a default of 0 seconds, or no Reconnect Window. For that reason, we suggest specifying a value other than zero for Reduced and Low Latency streams. Reduced and Low Latency streams with a Reconnect Window greater than zero will insert slate media into the recorded asset while waiting for the streaming software to reconnect or when there are brief interruptions in the live stream media. When using a Reconnect Window setting higher than 60 seconds with a Standard Latency stream, we highly recommend enabling slate with the `use_slate_for_standard_latency` option. # noqa: E501
|
|
152
152
|
|
|
153
153
|
:param reconnect_window: The reconnect_window of this UpdateLiveStreamRequest. # noqa: E501
|
|
154
154
|
:type reconnect_window: float
|