mux-python 3.14.0__tar.gz → 3.16.0__tar.gz
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-3.14.0 → mux_python-3.16.0}/PKG-INFO +1 -1
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/__init__.py +5 -1
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/assets_api.py +2 -2
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/playback_restrictions_api.py +150 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api_client.py +1 -1
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/configuration.py +1 -1
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/__init__.py +4 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/abridged_video_view.py +29 -3
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/asset.py +1 -1
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/asset_static_renditions_files.py +1 -1
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_asset_request.py +3 -3
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_playback_restriction_request.py +29 -3
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/delivery_report.py +35 -1
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/generate_track_subtitles_response.py +3 -3
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/playback_restriction.py +29 -3
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_asset_mp4_support_request.py +3 -3
- mux_python-3.16.0/mux_python/models/update_live_stream_new_asset_settings.py +140 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_live_stream_request.py +29 -3
- mux_python-3.16.0/mux_python/models/update_user_agent_restriction_request.py +162 -0
- mux_python-3.16.0/mux_python/models/user_agent_restriction_request.py +162 -0
- mux_python-3.16.0/mux_python/models/user_agent_restriction_settings.py +162 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/video_view.py +157 -9
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python.egg-info/PKG-INFO +1 -1
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python.egg-info/SOURCES.txt +8 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/setup.py +1 -1
- mux_python-3.16.0/test/test_update_live_stream_new_asset_settings.py +52 -0
- mux_python-3.16.0/test/test_update_user_agent_restriction_request.py +53 -0
- mux_python-3.16.0/test/test_user_agent_restriction_request.py +53 -0
- mux_python-3.16.0/test/test_user_agent_restriction_settings.py +53 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/LICENSE +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/README.md +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/__init__.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/delivery_usage_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/dimensions_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/direct_uploads_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/errors_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/exports_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/filters_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/incidents_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/live_streams_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/metrics_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/monitoring_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/playback_id_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/real_time_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/signing_keys_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/spaces_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/transcription_vocabularies_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/url_signing_keys_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/video_views_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/api/web_inputs_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/exceptions.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/asset_errors.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/asset_generated_subtitle_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/asset_master.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/asset_non_standard_input_reasons.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/asset_recording_times.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/asset_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/asset_static_renditions.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/breakdown_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/broadcast.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/broadcast_layout.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/broadcast_resolution.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/broadcast_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/broadcast_status.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_broadcast_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_live_stream_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_playback_id_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_playback_id_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_simulcast_target_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_space_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_track_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_track_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_transcription_vocabulary_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_upload_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_web_input_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/delivery_report_delivered_seconds_by_resolution.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/dimension_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/disable_live_stream_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/enable_live_stream_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/error.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/export_date.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/export_file.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/filter_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/generate_track_subtitles_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_asset_input_info_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_asset_or_live_stream_id_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_asset_or_live_stream_id_response_data.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_asset_or_live_stream_id_response_data_object.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_asset_playback_id_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_live_stream_playback_id_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_metric_timeseries_data_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_monitoring_breakdown_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_monitoring_breakdown_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_monitoring_histogram_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_monitoring_histogram_timeseries_response_meta.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_monitoring_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_overall_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_real_time_breakdown_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_real_time_histogram_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_real_time_histogram_timeseries_response_meta.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/get_real_time_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/incident.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/incident_breakdown.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/incident_notification.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/incident_notification_rule.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/incident_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/input_file.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/input_info.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/input_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/input_settings_overlay_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/input_track.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/insight.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/launch_web_input_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_all_metric_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_assets_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_breakdown_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_breakdown_values_response_meta.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_delivery_usage_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_dimension_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_dimensions_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_errors_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_exports_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_filter_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_filters_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_filters_response_data.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_incidents_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_insights_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_live_streams_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_monitoring_dimensions_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_monitoring_dimensions_response_data.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_monitoring_metrics_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_playback_restrictions_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_real_time_dimensions_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_real_time_metrics_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_related_incidents_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_signing_keys_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_spaces_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_transcription_vocabularies_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_uploads_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_video_view_exports_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_video_views_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/list_web_inputs_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/live_stream.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/live_stream_embedded_subtitle_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/live_stream_generated_subtitle_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/live_stream_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/live_stream_status.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/metric.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/monitoring_breakdown_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/monitoring_breakdown_timeseries_values.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/monitoring_breakdown_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/monitoring_histogram_timeseries_bucket.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/monitoring_histogram_timeseries_bucket_values.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/monitoring_histogram_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/monitoring_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/notification_rule.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/overall_values.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/playback_id.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/playback_policy.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/playback_restriction_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/real_time_breakdown_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/real_time_histogram_timeseries_bucket.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/real_time_histogram_timeseries_bucket_values.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/real_time_histogram_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/real_time_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/referrer_domain_restriction.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/reload_web_input_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/score.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/shutdown_web_input_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/signal_live_stream_complete_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/signing_key.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/signing_key_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/simulcast_target.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/simulcast_target_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/space.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/space_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/space_status.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/space_type.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/start_space_broadcast_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/stop_space_broadcast_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/track.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/transcription_vocabulary.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/transcription_vocabulary_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_asset_master_access_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_asset_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_live_stream_embedded_subtitles_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_live_stream_generated_subtitles_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_referrer_domain_restriction_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_transcription_vocabulary_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_web_input_url_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/upload.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/upload_error.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/upload_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/video_view_event.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/video_view_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/web_input.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/web_input_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python/rest.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python.egg-info/dependency_links.txt +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python.egg-info/requires.txt +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/mux_python.egg-info/top_level.txt +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/setup.cfg +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_abridged_video_view.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_asset.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_asset_errors.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_asset_generated_subtitle_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_asset_master.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_asset_non_standard_input_reasons.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_asset_recording_times.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_asset_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_asset_static_renditions.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_asset_static_renditions_files.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_assets_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_breakdown_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_broadcast.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_broadcast_layout.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_broadcast_resolution.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_broadcast_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_broadcast_status.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_asset_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_broadcast_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_live_stream_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_playback_id_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_playback_id_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_playback_restriction_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_simulcast_target_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_space_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_track_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_track_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_transcription_vocabulary_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_upload_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_create_web_input_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_delivery_report.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_delivery_report_delivered_seconds_by_resolution.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_delivery_usage_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_dimension_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_dimensions_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_direct_uploads_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_disable_live_stream_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_enable_live_stream_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_error.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_errors_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_export_date.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_export_file.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_exports_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_filter_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_filters_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_generate_track_subtitles_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_generate_track_subtitles_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_asset_input_info_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_asset_or_live_stream_id_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_asset_or_live_stream_id_response_data.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_asset_or_live_stream_id_response_data_object.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_asset_playback_id_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_live_stream_playback_id_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_metric_timeseries_data_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_monitoring_breakdown_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_monitoring_breakdown_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_monitoring_histogram_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_monitoring_histogram_timeseries_response_meta.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_monitoring_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_overall_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_real_time_breakdown_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_real_time_histogram_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_real_time_histogram_timeseries_response_meta.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_get_real_time_timeseries_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_incident.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_incident_breakdown.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_incident_notification.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_incident_notification_rule.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_incident_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_incidents_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_input_file.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_input_info.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_input_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_input_settings_overlay_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_input_track.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_insight.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_launch_web_input_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_all_metric_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_assets_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_breakdown_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_breakdown_values_response_meta.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_delivery_usage_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_dimension_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_dimensions_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_errors_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_exports_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_filter_values_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_filters_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_filters_response_data.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_incidents_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_insights_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_live_streams_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_monitoring_dimensions_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_monitoring_dimensions_response_data.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_monitoring_metrics_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_playback_restrictions_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_real_time_dimensions_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_real_time_dimensions_response_data.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_real_time_metrics_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_related_incidents_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_signing_keys_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_spaces_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_transcription_vocabularies_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_uploads_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_video_view_exports_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_video_views_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_list_web_inputs_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_live_stream.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_live_stream_embedded_subtitle_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_live_stream_generated_subtitle_settings.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_live_stream_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_live_stream_status.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_live_streams_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_metric.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_metrics_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_monitoring_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_monitoring_breakdown_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_monitoring_breakdown_timeseries_values.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_monitoring_breakdown_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_monitoring_histogram_timeseries_bucket.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_monitoring_histogram_timeseries_bucket_values.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_monitoring_histogram_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_monitoring_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_notification_rule.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_overall_values.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_playback_id.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_playback_id_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_playback_policy.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_playback_restriction.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_playback_restriction_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_playback_restrictions_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_real_time_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_real_time_breakdown_value.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_real_time_histogram_timeseries_bucket.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_real_time_histogram_timeseries_bucket_values.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_real_time_histogram_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_real_time_timeseries_datapoint.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_referrer_domain_restriction.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_reload_web_input_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_score.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_shutdown_web_input_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_signal_live_stream_complete_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_signing_key.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_signing_key_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_signing_keys_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_simulcast_target.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_simulcast_target_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_space.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_space_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_space_status.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_space_type.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_spaces_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_start_space_broadcast_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_stop_space_broadcast_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_track.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_transcription_vocabularies_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_transcription_vocabulary.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_transcription_vocabulary_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_update_asset_master_access_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_update_asset_mp4_support_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_update_asset_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_update_live_stream_embedded_subtitles_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_update_live_stream_generated_subtitles_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_update_live_stream_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_update_referrer_domain_restriction_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_update_transcription_vocabulary_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_update_web_input_url_request.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_upload.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_upload_error.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_upload_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_url_signing_keys_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_video_view.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_video_view_event.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_video_view_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_video_views_api.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_web_input.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_web_input_response.py +0 -0
- {mux_python-3.14.0 → mux_python-3.16.0}/test/test_web_inputs_api.py +0 -0
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
from __future__ import absolute_import
|
|
17
17
|
|
|
18
|
-
__version__ = "3.
|
|
18
|
+
__version__ = "3.16.0"
|
|
19
19
|
|
|
20
20
|
# import apis into sdk package
|
|
21
21
|
from mux_python.api.assets_api import AssetsApi
|
|
@@ -194,13 +194,17 @@ from mux_python.models.update_asset_master_access_request import UpdateAssetMast
|
|
|
194
194
|
from mux_python.models.update_asset_request import UpdateAssetRequest
|
|
195
195
|
from mux_python.models.update_live_stream_embedded_subtitles_request import UpdateLiveStreamEmbeddedSubtitlesRequest
|
|
196
196
|
from mux_python.models.update_live_stream_generated_subtitles_request import UpdateLiveStreamGeneratedSubtitlesRequest
|
|
197
|
+
from mux_python.models.update_live_stream_new_asset_settings import UpdateLiveStreamNewAssetSettings
|
|
197
198
|
from mux_python.models.update_live_stream_request import UpdateLiveStreamRequest
|
|
198
199
|
from mux_python.models.update_referrer_domain_restriction_request import UpdateReferrerDomainRestrictionRequest
|
|
199
200
|
from mux_python.models.update_transcription_vocabulary_request import UpdateTranscriptionVocabularyRequest
|
|
201
|
+
from mux_python.models.update_user_agent_restriction_request import UpdateUserAgentRestrictionRequest
|
|
200
202
|
from mux_python.models.update_web_input_url_request import UpdateWebInputUrlRequest
|
|
201
203
|
from mux_python.models.upload import Upload
|
|
202
204
|
from mux_python.models.upload_error import UploadError
|
|
203
205
|
from mux_python.models.upload_response import UploadResponse
|
|
206
|
+
from mux_python.models.user_agent_restriction_request import UserAgentRestrictionRequest
|
|
207
|
+
from mux_python.models.user_agent_restriction_settings import UserAgentRestrictionSettings
|
|
204
208
|
from mux_python.models.video_view import VideoView
|
|
205
209
|
from mux_python.models.video_view_event import VideoViewEvent
|
|
206
210
|
from mux_python.models.video_view_response import VideoViewResponse
|
|
@@ -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
|
|
|
@@ -727,3 +727,153 @@ class PlaybackRestrictionsApi(object):
|
|
|
727
727
|
_request_timeout=local_var_params.get('_request_timeout'),
|
|
728
728
|
collection_formats=collection_formats,
|
|
729
729
|
_request_auth=local_var_params.get('_request_auth'))
|
|
730
|
+
|
|
731
|
+
def update_user_agent_restriction(self, playback_restriction_id, update_user_agent_restriction_request, **kwargs): # noqa: E501
|
|
732
|
+
"""Update the User Agent Restriction # noqa: E501
|
|
733
|
+
|
|
734
|
+
Allows you to modify how Mux validates playback requests with different user agents. Please see [Using User-Agent HTTP header for validation](https://docs.mux.com/guides/secure-video-playback#using-user-agent-http-header-for-validation) for more details on this feature. # noqa: E501
|
|
735
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
736
|
+
asynchronous HTTP request, please pass async_req=True
|
|
737
|
+
|
|
738
|
+
>>> thread = api.update_user_agent_restriction(playback_restriction_id, update_user_agent_restriction_request, async_req=True)
|
|
739
|
+
>>> result = thread.get()
|
|
740
|
+
|
|
741
|
+
:param playback_restriction_id: ID of the Playback Restriction. (required)
|
|
742
|
+
:type playback_restriction_id: str
|
|
743
|
+
:param update_user_agent_restriction_request: (required)
|
|
744
|
+
:type update_user_agent_restriction_request: UpdateUserAgentRestrictionRequest
|
|
745
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
746
|
+
:type async_req: bool, optional
|
|
747
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
748
|
+
be returned without reading/decoding response
|
|
749
|
+
data. Default is True.
|
|
750
|
+
:type _preload_content: bool, optional
|
|
751
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
752
|
+
number provided, it will be total request
|
|
753
|
+
timeout. It can also be a pair (tuple) of
|
|
754
|
+
(connection, read) timeouts.
|
|
755
|
+
:return: Returns the result object.
|
|
756
|
+
If the method is called asynchronously,
|
|
757
|
+
returns the request thread.
|
|
758
|
+
:rtype: PlaybackRestrictionResponse
|
|
759
|
+
"""
|
|
760
|
+
kwargs['_return_http_data_only'] = True
|
|
761
|
+
return self.update_user_agent_restriction_with_http_info(playback_restriction_id, update_user_agent_restriction_request, **kwargs) # noqa: E501
|
|
762
|
+
|
|
763
|
+
def update_user_agent_restriction_with_http_info(self, playback_restriction_id, update_user_agent_restriction_request, **kwargs): # noqa: E501
|
|
764
|
+
"""Update the User Agent Restriction # noqa: E501
|
|
765
|
+
|
|
766
|
+
Allows you to modify how Mux validates playback requests with different user agents. Please see [Using User-Agent HTTP header for validation](https://docs.mux.com/guides/secure-video-playback#using-user-agent-http-header-for-validation) for more details on this feature. # noqa: E501
|
|
767
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
768
|
+
asynchronous HTTP request, please pass async_req=True
|
|
769
|
+
|
|
770
|
+
>>> thread = api.update_user_agent_restriction_with_http_info(playback_restriction_id, update_user_agent_restriction_request, async_req=True)
|
|
771
|
+
>>> result = thread.get()
|
|
772
|
+
|
|
773
|
+
:param playback_restriction_id: ID of the Playback Restriction. (required)
|
|
774
|
+
:type playback_restriction_id: str
|
|
775
|
+
:param update_user_agent_restriction_request: (required)
|
|
776
|
+
:type update_user_agent_restriction_request: UpdateUserAgentRestrictionRequest
|
|
777
|
+
:param async_req: Whether to execute the request asynchronously.
|
|
778
|
+
:type async_req: bool, optional
|
|
779
|
+
:param _return_http_data_only: response data without head status code
|
|
780
|
+
and headers
|
|
781
|
+
:type _return_http_data_only: bool, optional
|
|
782
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
|
783
|
+
be returned without reading/decoding response
|
|
784
|
+
data. Default is True.
|
|
785
|
+
:type _preload_content: bool, optional
|
|
786
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
787
|
+
number provided, it will be total request
|
|
788
|
+
timeout. It can also be a pair (tuple) of
|
|
789
|
+
(connection, read) timeouts.
|
|
790
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
791
|
+
request; this effectively ignores the authentication
|
|
792
|
+
in the spec for a single request.
|
|
793
|
+
:type _request_auth: dict, optional
|
|
794
|
+
:return: Returns the result object.
|
|
795
|
+
If the method is called asynchronously,
|
|
796
|
+
returns the request thread.
|
|
797
|
+
:rtype: tuple(PlaybackRestrictionResponse, status_code(int), headers(HTTPHeaderDict))
|
|
798
|
+
"""
|
|
799
|
+
|
|
800
|
+
local_var_params = locals()
|
|
801
|
+
|
|
802
|
+
all_params = [
|
|
803
|
+
'playback_restriction_id',
|
|
804
|
+
'update_user_agent_restriction_request'
|
|
805
|
+
]
|
|
806
|
+
all_params.extend(
|
|
807
|
+
[
|
|
808
|
+
'async_req',
|
|
809
|
+
'_return_http_data_only',
|
|
810
|
+
'_preload_content',
|
|
811
|
+
'_request_timeout',
|
|
812
|
+
'_request_auth'
|
|
813
|
+
]
|
|
814
|
+
)
|
|
815
|
+
|
|
816
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
|
817
|
+
if key not in all_params:
|
|
818
|
+
raise ApiTypeError(
|
|
819
|
+
"Got an unexpected keyword argument '%s'"
|
|
820
|
+
" to method update_user_agent_restriction" % key
|
|
821
|
+
)
|
|
822
|
+
local_var_params[key] = val
|
|
823
|
+
del local_var_params['kwargs']
|
|
824
|
+
# verify the required parameter 'playback_restriction_id' is set
|
|
825
|
+
if self.api_client.client_side_validation and ('playback_restriction_id' not in local_var_params or # noqa: E501
|
|
826
|
+
local_var_params['playback_restriction_id'] is None): # noqa: E501
|
|
827
|
+
raise ApiValueError("Missing the required parameter `playback_restriction_id` when calling `update_user_agent_restriction`") # noqa: E501
|
|
828
|
+
# verify the required parameter 'update_user_agent_restriction_request' is set
|
|
829
|
+
if self.api_client.client_side_validation and ('update_user_agent_restriction_request' not in local_var_params or # noqa: E501
|
|
830
|
+
local_var_params['update_user_agent_restriction_request'] is None): # noqa: E501
|
|
831
|
+
raise ApiValueError("Missing the required parameter `update_user_agent_restriction_request` when calling `update_user_agent_restriction`") # noqa: E501
|
|
832
|
+
|
|
833
|
+
collection_formats = {}
|
|
834
|
+
|
|
835
|
+
path_params = {}
|
|
836
|
+
if 'playback_restriction_id' in local_var_params:
|
|
837
|
+
path_params['PLAYBACK_RESTRICTION_ID'] = local_var_params['playback_restriction_id'] # noqa: E501
|
|
838
|
+
|
|
839
|
+
query_params = []
|
|
840
|
+
|
|
841
|
+
header_params = {}
|
|
842
|
+
|
|
843
|
+
form_params = []
|
|
844
|
+
local_var_files = {}
|
|
845
|
+
|
|
846
|
+
body_params = None
|
|
847
|
+
if 'update_user_agent_restriction_request' in local_var_params:
|
|
848
|
+
body_params = local_var_params['update_user_agent_restriction_request']
|
|
849
|
+
# HTTP header `Accept`
|
|
850
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
851
|
+
['application/json']) # noqa: E501
|
|
852
|
+
|
|
853
|
+
# HTTP header `Content-Type`
|
|
854
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
855
|
+
['application/json']) # noqa: E501
|
|
856
|
+
|
|
857
|
+
# Authentication setting
|
|
858
|
+
auth_settings = ['accessToken'] # noqa: E501
|
|
859
|
+
|
|
860
|
+
response_types_map = {
|
|
861
|
+
200: "PlaybackRestrictionResponse",
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
return self.api_client.call_api(
|
|
865
|
+
'/video/v1/playback-restrictions/{PLAYBACK_RESTRICTION_ID}/user_agent', 'PUT',
|
|
866
|
+
path_params,
|
|
867
|
+
query_params,
|
|
868
|
+
header_params,
|
|
869
|
+
body=body_params,
|
|
870
|
+
post_params=form_params,
|
|
871
|
+
files=local_var_files,
|
|
872
|
+
response_types_map=response_types_map,
|
|
873
|
+
auth_settings=auth_settings,
|
|
874
|
+
async_req=local_var_params.get('async_req'),
|
|
875
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
|
876
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
|
877
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
|
878
|
+
collection_formats=collection_formats,
|
|
879
|
+
_request_auth=local_var_params.get('_request_auth'))
|
|
@@ -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.16.0/python'
|
|
83
83
|
self.client_side_validation = configuration.client_side_validation
|
|
84
84
|
|
|
85
85
|
def __enter__(self):
|
|
@@ -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.16.0".\
|
|
410
410
|
format(env=sys.platform, pyversion=sys.version)
|
|
411
411
|
|
|
412
412
|
def get_host_settings(self):
|
|
@@ -160,13 +160,17 @@ from mux_python.models.update_asset_master_access_request import UpdateAssetMast
|
|
|
160
160
|
from mux_python.models.update_asset_request import UpdateAssetRequest
|
|
161
161
|
from mux_python.models.update_live_stream_embedded_subtitles_request import UpdateLiveStreamEmbeddedSubtitlesRequest
|
|
162
162
|
from mux_python.models.update_live_stream_generated_subtitles_request import UpdateLiveStreamGeneratedSubtitlesRequest
|
|
163
|
+
from mux_python.models.update_live_stream_new_asset_settings import UpdateLiveStreamNewAssetSettings
|
|
163
164
|
from mux_python.models.update_live_stream_request import UpdateLiveStreamRequest
|
|
164
165
|
from mux_python.models.update_referrer_domain_restriction_request import UpdateReferrerDomainRestrictionRequest
|
|
165
166
|
from mux_python.models.update_transcription_vocabulary_request import UpdateTranscriptionVocabularyRequest
|
|
167
|
+
from mux_python.models.update_user_agent_restriction_request import UpdateUserAgentRestrictionRequest
|
|
166
168
|
from mux_python.models.update_web_input_url_request import UpdateWebInputUrlRequest
|
|
167
169
|
from mux_python.models.upload import Upload
|
|
168
170
|
from mux_python.models.upload_error import UploadError
|
|
169
171
|
from mux_python.models.upload_response import UploadResponse
|
|
172
|
+
from mux_python.models.user_agent_restriction_request import UserAgentRestrictionRequest
|
|
173
|
+
from mux_python.models.user_agent_restriction_settings import UserAgentRestrictionSettings
|
|
170
174
|
from mux_python.models.video_view import VideoView
|
|
171
175
|
from mux_python.models.video_view_event import VideoViewEvent
|
|
172
176
|
from mux_python.models.video_view_response import VideoViewResponse
|
|
@@ -49,7 +49,8 @@ class AbridgedVideoView(object):
|
|
|
49
49
|
'view_start': 'str',
|
|
50
50
|
'view_end': 'str',
|
|
51
51
|
'viewer_experience_score': 'float',
|
|
52
|
-
'watch_time': 'int'
|
|
52
|
+
'watch_time': 'int',
|
|
53
|
+
'playback_failure': 'bool'
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
attribute_map = {
|
|
@@ -65,10 +66,11 @@ class AbridgedVideoView(object):
|
|
|
65
66
|
'view_start': 'view_start',
|
|
66
67
|
'view_end': 'view_end',
|
|
67
68
|
'viewer_experience_score': 'viewer_experience_score',
|
|
68
|
-
'watch_time': 'watch_time'
|
|
69
|
+
'watch_time': 'watch_time',
|
|
70
|
+
'playback_failure': 'playback_failure'
|
|
69
71
|
}
|
|
70
72
|
|
|
71
|
-
def __init__(self, id=None, viewer_os_family=None, viewer_application_name=None, video_title=None, total_row_count=None, player_error_message=None, player_error_code=None, error_type_id=None, country_code=None, view_start=None, view_end=None, viewer_experience_score=None, watch_time=None, local_vars_configuration=None): # noqa: E501
|
|
73
|
+
def __init__(self, id=None, viewer_os_family=None, viewer_application_name=None, video_title=None, total_row_count=None, player_error_message=None, player_error_code=None, error_type_id=None, country_code=None, view_start=None, view_end=None, viewer_experience_score=None, watch_time=None, playback_failure=None, local_vars_configuration=None): # noqa: E501
|
|
72
74
|
"""AbridgedVideoView - a model defined in OpenAPI""" # noqa: E501
|
|
73
75
|
if local_vars_configuration is None:
|
|
74
76
|
local_vars_configuration = Configuration.get_default_copy()
|
|
@@ -87,6 +89,7 @@ class AbridgedVideoView(object):
|
|
|
87
89
|
self._view_end = None
|
|
88
90
|
self._viewer_experience_score = None
|
|
89
91
|
self._watch_time = None
|
|
92
|
+
self._playback_failure = None
|
|
90
93
|
self.discriminator = None
|
|
91
94
|
|
|
92
95
|
if id is not None:
|
|
@@ -106,6 +109,8 @@ class AbridgedVideoView(object):
|
|
|
106
109
|
self.view_end = view_end
|
|
107
110
|
self.viewer_experience_score = viewer_experience_score
|
|
108
111
|
self.watch_time = watch_time
|
|
112
|
+
if playback_failure is not None:
|
|
113
|
+
self.playback_failure = playback_failure
|
|
109
114
|
|
|
110
115
|
@property
|
|
111
116
|
def id(self):
|
|
@@ -380,6 +385,27 @@ class AbridgedVideoView(object):
|
|
|
380
385
|
|
|
381
386
|
self._watch_time = watch_time
|
|
382
387
|
|
|
388
|
+
@property
|
|
389
|
+
def playback_failure(self):
|
|
390
|
+
"""Gets the playback_failure of this AbridgedVideoView. # noqa: E501
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
:return: The playback_failure of this AbridgedVideoView. # noqa: E501
|
|
394
|
+
:rtype: bool
|
|
395
|
+
"""
|
|
396
|
+
return self._playback_failure
|
|
397
|
+
|
|
398
|
+
@playback_failure.setter
|
|
399
|
+
def playback_failure(self, playback_failure):
|
|
400
|
+
"""Sets the playback_failure of this AbridgedVideoView.
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
:param playback_failure: The playback_failure of this AbridgedVideoView. # noqa: E501
|
|
404
|
+
:type playback_failure: bool
|
|
405
|
+
"""
|
|
406
|
+
|
|
407
|
+
self._playback_failure = playback_failure
|
|
408
|
+
|
|
383
409
|
def to_dict(self, serialize=False):
|
|
384
410
|
"""Returns the model properties as a dict"""
|
|
385
411
|
result = {}
|
|
@@ -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
|
{mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/create_playback_restriction_request.py
RENAMED
|
@@ -37,24 +37,29 @@ class CreatePlaybackRestrictionRequest(object):
|
|
|
37
37
|
and the value is json key in definition.
|
|
38
38
|
"""
|
|
39
39
|
openapi_types = {
|
|
40
|
-
'referrer': 'ReferrerDomainRestriction'
|
|
40
|
+
'referrer': 'ReferrerDomainRestriction',
|
|
41
|
+
'user_agent': 'UserAgentRestrictionRequest'
|
|
41
42
|
}
|
|
42
43
|
|
|
43
44
|
attribute_map = {
|
|
44
|
-
'referrer': 'referrer'
|
|
45
|
+
'referrer': 'referrer',
|
|
46
|
+
'user_agent': 'user_agent'
|
|
45
47
|
}
|
|
46
48
|
|
|
47
|
-
def __init__(self, referrer=None, local_vars_configuration=None): # noqa: E501
|
|
49
|
+
def __init__(self, referrer=None, user_agent=None, local_vars_configuration=None): # noqa: E501
|
|
48
50
|
"""CreatePlaybackRestrictionRequest - a model defined in OpenAPI""" # noqa: E501
|
|
49
51
|
if local_vars_configuration is None:
|
|
50
52
|
local_vars_configuration = Configuration.get_default_copy()
|
|
51
53
|
self.local_vars_configuration = local_vars_configuration
|
|
52
54
|
|
|
53
55
|
self._referrer = None
|
|
56
|
+
self._user_agent = None
|
|
54
57
|
self.discriminator = None
|
|
55
58
|
|
|
56
59
|
if referrer is not None:
|
|
57
60
|
self.referrer = referrer
|
|
61
|
+
if user_agent is not None:
|
|
62
|
+
self.user_agent = user_agent
|
|
58
63
|
|
|
59
64
|
@property
|
|
60
65
|
def referrer(self):
|
|
@@ -77,6 +82,27 @@ class CreatePlaybackRestrictionRequest(object):
|
|
|
77
82
|
|
|
78
83
|
self._referrer = referrer
|
|
79
84
|
|
|
85
|
+
@property
|
|
86
|
+
def user_agent(self):
|
|
87
|
+
"""Gets the user_agent of this CreatePlaybackRestrictionRequest. # noqa: E501
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
:return: The user_agent of this CreatePlaybackRestrictionRequest. # noqa: E501
|
|
91
|
+
:rtype: UserAgentRestrictionRequest
|
|
92
|
+
"""
|
|
93
|
+
return self._user_agent
|
|
94
|
+
|
|
95
|
+
@user_agent.setter
|
|
96
|
+
def user_agent(self, user_agent):
|
|
97
|
+
"""Sets the user_agent of this CreatePlaybackRestrictionRequest.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
:param user_agent: The user_agent of this CreatePlaybackRestrictionRequest. # noqa: E501
|
|
101
|
+
:type user_agent: UserAgentRestrictionRequest
|
|
102
|
+
"""
|
|
103
|
+
|
|
104
|
+
self._user_agent = user_agent
|
|
105
|
+
|
|
80
106
|
def to_dict(self, serialize=False):
|
|
81
107
|
"""Returns the model properties as a dict"""
|
|
82
108
|
result = {}
|
|
@@ -45,6 +45,7 @@ class DeliveryReport(object):
|
|
|
45
45
|
'asset_state': 'str',
|
|
46
46
|
'asset_duration': 'float',
|
|
47
47
|
'asset_resolution_tier': 'str',
|
|
48
|
+
'asset_encoding_tier': 'str',
|
|
48
49
|
'delivered_seconds': 'float',
|
|
49
50
|
'delivered_seconds_by_resolution': 'DeliveryReportDeliveredSecondsByResolution'
|
|
50
51
|
}
|
|
@@ -58,11 +59,12 @@ class DeliveryReport(object):
|
|
|
58
59
|
'asset_state': 'asset_state',
|
|
59
60
|
'asset_duration': 'asset_duration',
|
|
60
61
|
'asset_resolution_tier': 'asset_resolution_tier',
|
|
62
|
+
'asset_encoding_tier': 'asset_encoding_tier',
|
|
61
63
|
'delivered_seconds': 'delivered_seconds',
|
|
62
64
|
'delivered_seconds_by_resolution': 'delivered_seconds_by_resolution'
|
|
63
65
|
}
|
|
64
66
|
|
|
65
|
-
def __init__(self, live_stream_id=None, asset_id=None, passthrough=None, created_at=None, deleted_at=None, asset_state=None, asset_duration=None, asset_resolution_tier=None, delivered_seconds=None, delivered_seconds_by_resolution=None, local_vars_configuration=None): # noqa: E501
|
|
67
|
+
def __init__(self, live_stream_id=None, asset_id=None, passthrough=None, created_at=None, deleted_at=None, asset_state=None, asset_duration=None, asset_resolution_tier=None, asset_encoding_tier=None, delivered_seconds=None, delivered_seconds_by_resolution=None, local_vars_configuration=None): # noqa: E501
|
|
66
68
|
"""DeliveryReport - a model defined in OpenAPI""" # noqa: E501
|
|
67
69
|
if local_vars_configuration is None:
|
|
68
70
|
local_vars_configuration = Configuration.get_default_copy()
|
|
@@ -76,6 +78,7 @@ class DeliveryReport(object):
|
|
|
76
78
|
self._asset_state = None
|
|
77
79
|
self._asset_duration = None
|
|
78
80
|
self._asset_resolution_tier = None
|
|
81
|
+
self._asset_encoding_tier = None
|
|
79
82
|
self._delivered_seconds = None
|
|
80
83
|
self._delivered_seconds_by_resolution = None
|
|
81
84
|
self.discriminator = None
|
|
@@ -96,6 +99,8 @@ class DeliveryReport(object):
|
|
|
96
99
|
self.asset_duration = asset_duration
|
|
97
100
|
if asset_resolution_tier is not None:
|
|
98
101
|
self.asset_resolution_tier = asset_resolution_tier
|
|
102
|
+
if asset_encoding_tier is not None:
|
|
103
|
+
self.asset_encoding_tier = asset_encoding_tier
|
|
99
104
|
if delivered_seconds is not None:
|
|
100
105
|
self.delivered_seconds = delivered_seconds
|
|
101
106
|
if delivered_seconds_by_resolution is not None:
|
|
@@ -297,6 +302,35 @@ class DeliveryReport(object):
|
|
|
297
302
|
|
|
298
303
|
self._asset_resolution_tier = asset_resolution_tier
|
|
299
304
|
|
|
305
|
+
@property
|
|
306
|
+
def asset_encoding_tier(self):
|
|
307
|
+
"""Gets the asset_encoding_tier of this DeliveryReport. # noqa: E501
|
|
308
|
+
|
|
309
|
+
The encoding tier that the asset was ingested at. [See the encoding tiers guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501
|
|
310
|
+
|
|
311
|
+
:return: The asset_encoding_tier of this DeliveryReport. # noqa: E501
|
|
312
|
+
:rtype: str
|
|
313
|
+
"""
|
|
314
|
+
return self._asset_encoding_tier
|
|
315
|
+
|
|
316
|
+
@asset_encoding_tier.setter
|
|
317
|
+
def asset_encoding_tier(self, asset_encoding_tier):
|
|
318
|
+
"""Sets the asset_encoding_tier of this DeliveryReport.
|
|
319
|
+
|
|
320
|
+
The encoding tier that the asset was ingested at. [See the encoding tiers guide for more details.](https://docs.mux.com/guides/use-encoding-tiers) # noqa: E501
|
|
321
|
+
|
|
322
|
+
:param asset_encoding_tier: The asset_encoding_tier of this DeliveryReport. # noqa: E501
|
|
323
|
+
:type asset_encoding_tier: str
|
|
324
|
+
"""
|
|
325
|
+
allowed_values = ["smart", "baseline"] # noqa: E501
|
|
326
|
+
if self.local_vars_configuration.client_side_validation and asset_encoding_tier not in allowed_values: # noqa: E501
|
|
327
|
+
raise ValueError(
|
|
328
|
+
"Invalid value for `asset_encoding_tier` ({0}), must be one of {1}" # noqa: E501
|
|
329
|
+
.format(asset_encoding_tier, allowed_values)
|
|
330
|
+
)
|
|
331
|
+
|
|
332
|
+
self._asset_encoding_tier = asset_encoding_tier
|
|
333
|
+
|
|
300
334
|
@property
|
|
301
335
|
def delivered_seconds(self):
|
|
302
336
|
"""Gets the delivered_seconds of this DeliveryReport. # noqa: E501
|
{mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/generate_track_subtitles_response.py
RENAMED
|
@@ -37,7 +37,7 @@ class GenerateTrackSubtitlesResponse(object):
|
|
|
37
37
|
and the value is json key in definition.
|
|
38
38
|
"""
|
|
39
39
|
openapi_types = {
|
|
40
|
-
'data': 'Track'
|
|
40
|
+
'data': 'list[Track]'
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
attribute_map = {
|
|
@@ -62,7 +62,7 @@ class GenerateTrackSubtitlesResponse(object):
|
|
|
62
62
|
|
|
63
63
|
|
|
64
64
|
:return: The data of this GenerateTrackSubtitlesResponse. # noqa: E501
|
|
65
|
-
:rtype: Track
|
|
65
|
+
:rtype: list[Track]
|
|
66
66
|
"""
|
|
67
67
|
return self._data
|
|
68
68
|
|
|
@@ -72,7 +72,7 @@ class GenerateTrackSubtitlesResponse(object):
|
|
|
72
72
|
|
|
73
73
|
|
|
74
74
|
:param data: The data of this GenerateTrackSubtitlesResponse. # noqa: E501
|
|
75
|
-
:type data: Track
|
|
75
|
+
:type data: list[Track]
|
|
76
76
|
"""
|
|
77
77
|
|
|
78
78
|
self._data = data
|
|
@@ -40,17 +40,19 @@ class PlaybackRestriction(object):
|
|
|
40
40
|
'id': 'str',
|
|
41
41
|
'created_at': 'str',
|
|
42
42
|
'updated_at': 'str',
|
|
43
|
-
'referrer': 'ReferrerDomainRestriction'
|
|
43
|
+
'referrer': 'ReferrerDomainRestriction',
|
|
44
|
+
'user_agent': 'UserAgentRestrictionSettings'
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
attribute_map = {
|
|
47
48
|
'id': 'id',
|
|
48
49
|
'created_at': 'created_at',
|
|
49
50
|
'updated_at': 'updated_at',
|
|
50
|
-
'referrer': 'referrer'
|
|
51
|
+
'referrer': 'referrer',
|
|
52
|
+
'user_agent': 'user_agent'
|
|
51
53
|
}
|
|
52
54
|
|
|
53
|
-
def __init__(self, id=None, created_at=None, updated_at=None, referrer=None, local_vars_configuration=None): # noqa: E501
|
|
55
|
+
def __init__(self, id=None, created_at=None, updated_at=None, referrer=None, user_agent=None, local_vars_configuration=None): # noqa: E501
|
|
54
56
|
"""PlaybackRestriction - a model defined in OpenAPI""" # noqa: E501
|
|
55
57
|
if local_vars_configuration is None:
|
|
56
58
|
local_vars_configuration = Configuration.get_default_copy()
|
|
@@ -60,6 +62,7 @@ class PlaybackRestriction(object):
|
|
|
60
62
|
self._created_at = None
|
|
61
63
|
self._updated_at = None
|
|
62
64
|
self._referrer = None
|
|
65
|
+
self._user_agent = None
|
|
63
66
|
self.discriminator = None
|
|
64
67
|
|
|
65
68
|
if id is not None:
|
|
@@ -70,6 +73,8 @@ class PlaybackRestriction(object):
|
|
|
70
73
|
self.updated_at = updated_at
|
|
71
74
|
if referrer is not None:
|
|
72
75
|
self.referrer = referrer
|
|
76
|
+
if user_agent is not None:
|
|
77
|
+
self.user_agent = user_agent
|
|
73
78
|
|
|
74
79
|
@property
|
|
75
80
|
def id(self):
|
|
@@ -161,6 +166,27 @@ class PlaybackRestriction(object):
|
|
|
161
166
|
|
|
162
167
|
self._referrer = referrer
|
|
163
168
|
|
|
169
|
+
@property
|
|
170
|
+
def user_agent(self):
|
|
171
|
+
"""Gets the user_agent of this PlaybackRestriction. # noqa: E501
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
:return: The user_agent of this PlaybackRestriction. # noqa: E501
|
|
175
|
+
:rtype: UserAgentRestrictionSettings
|
|
176
|
+
"""
|
|
177
|
+
return self._user_agent
|
|
178
|
+
|
|
179
|
+
@user_agent.setter
|
|
180
|
+
def user_agent(self, user_agent):
|
|
181
|
+
"""Sets the user_agent of this PlaybackRestriction.
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
:param user_agent: The user_agent of this PlaybackRestriction. # noqa: E501
|
|
185
|
+
:type user_agent: UserAgentRestrictionSettings
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
self._user_agent = user_agent
|
|
189
|
+
|
|
164
190
|
def to_dict(self, serialize=False):
|
|
165
191
|
"""Returns the model properties as a dict"""
|
|
166
192
|
result = {}
|
{mux_python-3.14.0 → mux_python-3.16.0}/mux_python/models/update_asset_mp4_support_request.py
RENAMED
|
@@ -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
|