mux_ruby 2.0.0.pre.rc.1 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +6 -6
- data/README.md +5 -4
- data/docs/Asset.md +4 -2
- data/docs/AssetsApi.md +10 -4
- data/docs/CreateLiveStreamRequest.md +4 -0
- data/docs/CreateTrackRequest.md +1 -1
- data/docs/DeliveryUsageApi.md +3 -3
- data/docs/ErrorsApi.md +1 -1
- data/docs/ExportDate.md +20 -0
- data/docs/ExportFile.md +22 -0
- data/docs/ExportsApi.md +69 -1
- data/docs/IncidentsApi.md +3 -3
- data/docs/ListVideoViewExportsResponse.md +22 -0
- data/docs/LiveStream.md +4 -0
- data/docs/MetricsApi.md +13 -13
- data/docs/PlaybackIDApi.md +1 -1
- data/docs/RealTimeApi.md +5 -5
- data/docs/RealTimeBreakdownValue.md +2 -2
- data/docs/RealTimeTimeseriesDatapoint.md +2 -2
- data/docs/URLSigningKeysApi.md +3 -3
- data/docs/VideoView.md +17 -1
- data/docs/VideoViewsApi.md +2 -2
- data/gen/generator-config.json +2 -1
- data/gen/templates/gemspec.mustache +1 -0
- data/lib/mux_ruby/api/assets_api.rb +16 -8
- data/lib/mux_ruby/api/delivery_usage_api.rb +6 -6
- data/lib/mux_ruby/api/dimensions_api.rb +2 -2
- data/lib/mux_ruby/api/direct_uploads_api.rb +2 -2
- data/lib/mux_ruby/api/errors_api.rb +4 -4
- data/lib/mux_ruby/api/exports_api.rb +61 -4
- data/lib/mux_ruby/api/filters_api.rb +2 -2
- data/lib/mux_ruby/api/incidents_api.rb +8 -8
- data/lib/mux_ruby/api/live_streams_api.rb +2 -2
- data/lib/mux_ruby/api/metrics_api.rb +28 -28
- data/lib/mux_ruby/api/playback_id_api.rb +4 -4
- data/lib/mux_ruby/api/real_time_api.rb +12 -12
- data/lib/mux_ruby/api/url_signing_keys_api.rb +8 -8
- data/lib/mux_ruby/api/video_views_api.rb +6 -6
- data/lib/mux_ruby/api_client.rb +2 -2
- data/lib/mux_ruby/api_error.rb +2 -2
- data/lib/mux_ruby/configuration.rb +2 -2
- data/lib/mux_ruby/models/abridged_video_view.rb +2 -2
- data/lib/mux_ruby/models/asset.rb +15 -5
- data/lib/mux_ruby/models/asset_errors.rb +2 -2
- data/lib/mux_ruby/models/asset_master.rb +2 -2
- data/lib/mux_ruby/models/asset_non_standard_input_reasons.rb +2 -2
- data/lib/mux_ruby/models/asset_recording_times.rb +2 -2
- data/lib/mux_ruby/models/asset_response.rb +2 -2
- data/lib/mux_ruby/models/asset_static_renditions.rb +2 -2
- data/lib/mux_ruby/models/asset_static_renditions_files.rb +2 -2
- data/lib/mux_ruby/models/breakdown_value.rb +2 -2
- data/lib/mux_ruby/models/create_asset_request.rb +2 -2
- data/lib/mux_ruby/models/create_live_stream_request.rb +23 -3
- data/lib/mux_ruby/models/create_playback_id_request.rb +2 -2
- data/lib/mux_ruby/models/create_playback_id_response.rb +2 -2
- data/lib/mux_ruby/models/create_simulcast_target_request.rb +2 -2
- data/lib/mux_ruby/models/create_track_request.rb +3 -3
- data/lib/mux_ruby/models/create_track_response.rb +2 -2
- data/lib/mux_ruby/models/create_upload_request.rb +2 -2
- data/lib/mux_ruby/models/delivery_report.rb +2 -2
- data/lib/mux_ruby/models/dimension_value.rb +2 -2
- data/lib/mux_ruby/models/disable_live_stream_response.rb +2 -2
- data/lib/mux_ruby/models/enable_live_stream_response.rb +2 -2
- data/lib/mux_ruby/models/error.rb +2 -2
- data/lib/mux_ruby/models/export_date.rb +229 -0
- data/lib/mux_ruby/models/export_file.rb +236 -0
- data/lib/mux_ruby/models/filter_value.rb +2 -2
- data/lib/mux_ruby/models/get_asset_input_info_response.rb +2 -2
- data/lib/mux_ruby/models/get_asset_or_live_stream_id_response.rb +2 -2
- data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data.rb +2 -2
- data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data_object.rb +2 -2
- data/lib/mux_ruby/models/get_asset_playback_id_response.rb +2 -2
- data/lib/mux_ruby/models/get_metric_timeseries_data_response.rb +2 -2
- data/lib/mux_ruby/models/get_overall_values_response.rb +2 -2
- data/lib/mux_ruby/models/get_real_time_breakdown_response.rb +2 -2
- data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response.rb +2 -2
- data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response_meta.rb +2 -2
- data/lib/mux_ruby/models/get_real_time_timeseries_response.rb +2 -2
- data/lib/mux_ruby/models/incident.rb +2 -2
- data/lib/mux_ruby/models/incident_breakdown.rb +2 -2
- data/lib/mux_ruby/models/incident_notification.rb +2 -2
- data/lib/mux_ruby/models/incident_notification_rule.rb +2 -2
- data/lib/mux_ruby/models/incident_response.rb +2 -2
- data/lib/mux_ruby/models/input_file.rb +2 -2
- data/lib/mux_ruby/models/input_info.rb +2 -2
- data/lib/mux_ruby/models/input_settings.rb +2 -2
- data/lib/mux_ruby/models/input_settings_overlay_settings.rb +2 -2
- data/lib/mux_ruby/models/input_track.rb +2 -2
- data/lib/mux_ruby/models/insight.rb +2 -2
- data/lib/mux_ruby/models/list_all_metric_values_response.rb +2 -2
- data/lib/mux_ruby/models/list_assets_response.rb +2 -2
- data/lib/mux_ruby/models/list_breakdown_values_response.rb +2 -2
- data/lib/mux_ruby/models/list_delivery_usage_response.rb +2 -2
- data/lib/mux_ruby/models/list_dimension_values_response.rb +2 -2
- data/lib/mux_ruby/models/list_dimensions_response.rb +2 -2
- data/lib/mux_ruby/models/list_errors_response.rb +2 -2
- data/lib/mux_ruby/models/list_exports_response.rb +2 -2
- data/lib/mux_ruby/models/list_filter_values_response.rb +2 -2
- data/lib/mux_ruby/models/list_filters_response.rb +2 -2
- data/lib/mux_ruby/models/list_filters_response_data.rb +2 -2
- data/lib/mux_ruby/models/list_incidents_response.rb +2 -2
- data/lib/mux_ruby/models/list_insights_response.rb +2 -2
- data/lib/mux_ruby/models/list_live_streams_response.rb +2 -2
- data/lib/mux_ruby/models/list_real_time_dimensions_response.rb +2 -2
- data/lib/mux_ruby/models/list_real_time_dimensions_response_data.rb +2 -2
- data/lib/mux_ruby/models/list_real_time_metrics_response.rb +2 -2
- data/lib/mux_ruby/models/list_related_incidents_response.rb +2 -2
- data/lib/mux_ruby/models/list_signing_keys_response.rb +2 -2
- data/lib/mux_ruby/models/list_uploads_response.rb +2 -2
- data/lib/mux_ruby/models/list_video_view_exports_response.rb +240 -0
- data/lib/mux_ruby/models/list_video_views_response.rb +2 -2
- data/lib/mux_ruby/models/live_stream.rb +23 -3
- data/lib/mux_ruby/models/live_stream_response.rb +2 -2
- data/lib/mux_ruby/models/metric.rb +2 -2
- data/lib/mux_ruby/models/notification_rule.rb +2 -2
- data/lib/mux_ruby/models/overall_values.rb +2 -2
- data/lib/mux_ruby/models/playback_id.rb +2 -2
- data/lib/mux_ruby/models/playback_policy.rb +2 -2
- data/lib/mux_ruby/models/real_time_breakdown_value.rb +9 -9
- data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket.rb +2 -2
- data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket_values.rb +2 -2
- data/lib/mux_ruby/models/real_time_histogram_timeseries_datapoint.rb +2 -2
- data/lib/mux_ruby/models/real_time_timeseries_datapoint.rb +9 -9
- data/lib/mux_ruby/models/score.rb +2 -2
- data/lib/mux_ruby/models/signal_live_stream_complete_response.rb +2 -2
- data/lib/mux_ruby/models/signing_key.rb +2 -2
- data/lib/mux_ruby/models/signing_key_response.rb +2 -2
- data/lib/mux_ruby/models/simulcast_target.rb +2 -2
- data/lib/mux_ruby/models/simulcast_target_response.rb +2 -2
- data/lib/mux_ruby/models/track.rb +2 -2
- data/lib/mux_ruby/models/update_asset_master_access_request.rb +2 -2
- data/lib/mux_ruby/models/update_asset_mp4_support_request.rb +2 -2
- data/lib/mux_ruby/models/upload.rb +2 -2
- data/lib/mux_ruby/models/upload_error.rb +2 -2
- data/lib/mux_ruby/models/upload_response.rb +2 -2
- data/lib/mux_ruby/models/video_view.rb +78 -6
- data/lib/mux_ruby/models/video_view_event.rb +2 -2
- data/lib/mux_ruby/models/video_view_response.rb +2 -2
- data/lib/mux_ruby/version.rb +3 -3
- data/lib/mux_ruby.rb +5 -2
- data/mux_ruby.gemspec +3 -2
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/export_date_spec.rb +40 -0
- data/spec/models/export_file_spec.rb +46 -0
- data/spec/models/list_video_view_exports_response_spec.rb +46 -0
- data/spec/spec_helper.rb +2 -2
- metadata +109 -96
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -20,7 +20,7 @@ module MuxRuby
|
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
22
|
# Get a Video View
|
23
|
-
# Returns the details of a video view
|
23
|
+
# Returns the details of a video view.
|
24
24
|
# @param video_view_id [String] ID of the Video View
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
26
|
# @return [VideoViewResponse]
|
@@ -30,7 +30,7 @@ module MuxRuby
|
|
30
30
|
end
|
31
31
|
|
32
32
|
# Get a Video View
|
33
|
-
# Returns the details of a video view
|
33
|
+
# Returns the details of a video view.
|
34
34
|
# @param video_view_id [String] ID of the Video View
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @return [Array<(VideoViewResponse, Integer, Hash)>] VideoViewResponse data, response status code and response headers
|
@@ -83,7 +83,7 @@ module MuxRuby
|
|
83
83
|
end
|
84
84
|
|
85
85
|
# List Video Views
|
86
|
-
# Returns a list of video views
|
86
|
+
# Returns a list of video views.
|
87
87
|
# @param [Hash] opts the optional parameters
|
88
88
|
# @option opts [Integer] :limit Number of items to include in the response (default to 25)
|
89
89
|
# @option opts [Integer] :page Offset by this many pages, of the size of `limit` (default to 1)
|
@@ -99,7 +99,7 @@ module MuxRuby
|
|
99
99
|
end
|
100
100
|
|
101
101
|
# List Video Views
|
102
|
-
# Returns a list of video views
|
102
|
+
# Returns a list of video views.
|
103
103
|
# @param [Hash] opts the optional parameters
|
104
104
|
# @option opts [Integer] :limit Number of items to include in the response
|
105
105
|
# @option opts [Integer] :page Offset by this many pages, of the size of `limit`
|
data/lib/mux_ruby/api_client.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
data/lib/mux_ruby/api_error.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -24,13 +24,13 @@ module MuxRuby
|
|
24
24
|
# The status of the asset.
|
25
25
|
attr_accessor :status
|
26
26
|
|
27
|
-
# The duration of the asset in seconds (max duration for a single asset is
|
27
|
+
# The duration of the asset in seconds (max duration for a single asset is 12 hours).
|
28
28
|
attr_accessor :duration
|
29
29
|
|
30
30
|
# The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored.
|
31
31
|
attr_accessor :max_stored_resolution
|
32
32
|
|
33
|
-
# The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.
|
33
|
+
# The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.
|
34
34
|
attr_accessor :max_stored_frame_rate
|
35
35
|
|
36
36
|
# The aspect ratio of the asset in the form of `width:height`, for example `16:9`.
|
@@ -46,6 +46,9 @@ module MuxRuby
|
|
46
46
|
|
47
47
|
attr_accessor :per_title_encode
|
48
48
|
|
49
|
+
# Unique identifier for the Direct Upload. This is an optional parameter added when the asset is created from a direct upload.
|
50
|
+
attr_accessor :upload_id
|
51
|
+
|
49
52
|
# Whether the asset is created from a live stream and the live stream is currently `active` and not in `idle` state.
|
50
53
|
attr_accessor :is_live
|
51
54
|
|
@@ -113,6 +116,7 @@ module MuxRuby
|
|
113
116
|
:'tracks' => :'tracks',
|
114
117
|
:'errors' => :'errors',
|
115
118
|
:'per_title_encode' => :'per_title_encode',
|
119
|
+
:'upload_id' => :'upload_id',
|
116
120
|
:'is_live' => :'is_live',
|
117
121
|
:'passthrough' => :'passthrough',
|
118
122
|
:'live_stream_id' => :'live_stream_id',
|
@@ -147,6 +151,7 @@ module MuxRuby
|
|
147
151
|
:'tracks' => :'Array<Track>',
|
148
152
|
:'errors' => :'AssetErrors',
|
149
153
|
:'per_title_encode' => :'Boolean',
|
154
|
+
:'upload_id' => :'String',
|
150
155
|
:'is_live' => :'Boolean',
|
151
156
|
:'passthrough' => :'String',
|
152
157
|
:'live_stream_id' => :'String',
|
@@ -231,6 +236,10 @@ module MuxRuby
|
|
231
236
|
self.per_title_encode = attributes[:'per_title_encode']
|
232
237
|
end
|
233
238
|
|
239
|
+
if attributes.key?(:'upload_id')
|
240
|
+
self.upload_id = attributes[:'upload_id']
|
241
|
+
end
|
242
|
+
|
234
243
|
if attributes.key?(:'is_live')
|
235
244
|
self.is_live = attributes[:'is_live']
|
236
245
|
end
|
@@ -365,6 +374,7 @@ module MuxRuby
|
|
365
374
|
tracks == o.tracks &&
|
366
375
|
errors == o.errors &&
|
367
376
|
per_title_encode == o.per_title_encode &&
|
377
|
+
upload_id == o.upload_id &&
|
368
378
|
is_live == o.is_live &&
|
369
379
|
passthrough == o.passthrough &&
|
370
380
|
live_stream_id == o.live_stream_id &&
|
@@ -388,7 +398,7 @@ module MuxRuby
|
|
388
398
|
# Calculates hash code according to all attributes.
|
389
399
|
# @return [Integer] Hash code
|
390
400
|
def hash
|
391
|
-
[id, created_at, status, duration, max_stored_resolution, max_stored_frame_rate, aspect_ratio, playback_ids, tracks, errors, per_title_encode, is_live, passthrough, live_stream_id, master, master_access, mp4_support, source_asset_id, normalize_audio, static_renditions, recording_times, non_standard_input_reasons, test].hash
|
401
|
+
[id, created_at, status, duration, max_stored_resolution, max_stored_frame_rate, aspect_ratio, playback_ids, tracks, errors, per_title_encode, upload_id, is_live, passthrough, live_stream_id, master, master_access, mp4_support, source_asset_id, normalize_audio, static_renditions, recording_times, non_standard_input_reasons, test].hash
|
392
402
|
end
|
393
403
|
|
394
404
|
# Builds the object from hash
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -24,9 +24,15 @@ module MuxRuby
|
|
24
24
|
|
25
25
|
attr_accessor :passthrough
|
26
26
|
|
27
|
+
# Force the live stream to only process the audio track when the value is set to true. Mux drops the video track if broadcasted.
|
28
|
+
attr_accessor :audio_only
|
29
|
+
|
27
30
|
# Latency is the time from when the streamer does something in real life to when you see it happen in the player. Set this if you want lower latency for your live stream. Note: Reconnect windows are incompatible with Reduced Latency and will always be set to zero (0) seconds. Read more here: https://mux.com/blog/reduced-latency-for-mux-live-streaming-now-available/
|
28
31
|
attr_accessor :reduced_latency
|
29
32
|
|
33
|
+
# Latency is the time from when the streamer does something in real life to when you see it happen in the player. Setting this option will enable compatibility with the LL-HLS specification for low-latency streaming. This typically has lower latency than Reduced Latency streams, and cannot be combined with Reduced Latency. Note: Reconnect windows are incompatible with Low Latency and will always be set to zero (0) seconds.
|
34
|
+
attr_accessor :low_latency
|
35
|
+
|
30
36
|
# Marks the live stream as a test live stream when the value is set to true. A test live stream can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test live streams created. Test live streams are watermarked with the Mux logo and limited to 5 minutes. The test live stream is disabled after the stream is active for 5 mins and the recorded asset also deleted after 24 hours.
|
31
37
|
attr_accessor :test
|
32
38
|
|
@@ -39,7 +45,9 @@ module MuxRuby
|
|
39
45
|
:'new_asset_settings' => :'new_asset_settings',
|
40
46
|
:'reconnect_window' => :'reconnect_window',
|
41
47
|
:'passthrough' => :'passthrough',
|
48
|
+
:'audio_only' => :'audio_only',
|
42
49
|
:'reduced_latency' => :'reduced_latency',
|
50
|
+
:'low_latency' => :'low_latency',
|
43
51
|
:'test' => :'test',
|
44
52
|
:'simulcast_targets' => :'simulcast_targets'
|
45
53
|
}
|
@@ -57,7 +65,9 @@ module MuxRuby
|
|
57
65
|
:'new_asset_settings' => :'CreateAssetRequest',
|
58
66
|
:'reconnect_window' => :'Float',
|
59
67
|
:'passthrough' => :'String',
|
68
|
+
:'audio_only' => :'Boolean',
|
60
69
|
:'reduced_latency' => :'Boolean',
|
70
|
+
:'low_latency' => :'Boolean',
|
61
71
|
:'test' => :'Boolean',
|
62
72
|
:'simulcast_targets' => :'Array<CreateSimulcastTargetRequest>'
|
63
73
|
}
|
@@ -102,10 +112,18 @@ module MuxRuby
|
|
102
112
|
self.passthrough = attributes[:'passthrough']
|
103
113
|
end
|
104
114
|
|
115
|
+
if attributes.key?(:'audio_only')
|
116
|
+
self.audio_only = attributes[:'audio_only']
|
117
|
+
end
|
118
|
+
|
105
119
|
if attributes.key?(:'reduced_latency')
|
106
120
|
self.reduced_latency = attributes[:'reduced_latency']
|
107
121
|
end
|
108
122
|
|
123
|
+
if attributes.key?(:'low_latency')
|
124
|
+
self.low_latency = attributes[:'low_latency']
|
125
|
+
end
|
126
|
+
|
109
127
|
if attributes.key?(:'test')
|
110
128
|
self.test = attributes[:'test']
|
111
129
|
end
|
@@ -163,7 +181,9 @@ module MuxRuby
|
|
163
181
|
new_asset_settings == o.new_asset_settings &&
|
164
182
|
reconnect_window == o.reconnect_window &&
|
165
183
|
passthrough == o.passthrough &&
|
184
|
+
audio_only == o.audio_only &&
|
166
185
|
reduced_latency == o.reduced_latency &&
|
186
|
+
low_latency == o.low_latency &&
|
167
187
|
test == o.test &&
|
168
188
|
simulcast_targets == o.simulcast_targets
|
169
189
|
end
|
@@ -177,7 +197,7 @@ module MuxRuby
|
|
177
197
|
# Calculates hash code according to all attributes.
|
178
198
|
# @return [Integer] Hash code
|
179
199
|
def hash
|
180
|
-
[playback_policy, new_asset_settings, reconnect_window, passthrough, reduced_latency, test, simulcast_targets].hash
|
200
|
+
[playback_policy, new_asset_settings, reconnect_window, passthrough, audio_only, reduced_latency, low_latency, test, simulcast_targets].hash
|
181
201
|
end
|
182
202
|
|
183
203
|
# Builds the object from hash
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -1,10 +1,10 @@
|
|
1
1
|
=begin
|
2
2
|
#Mux API
|
3
3
|
|
4
|
-
#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.
|
4
|
+
#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.
|
5
5
|
|
6
6
|
The version of the OpenAPI document: v1
|
7
|
-
|
7
|
+
Contact: devex@mux.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.1
|
10
10
|
|
@@ -24,7 +24,7 @@ module MuxRuby
|
|
24
24
|
# The language code value must be a valid BCP 47 specification compliant value. For example, en for English or en-US for the US version of English.
|
25
25
|
attr_accessor :language_code
|
26
26
|
|
27
|
-
# The name of the track containing a human-readable description. This value must be
|
27
|
+
# The name of the track containing a human-readable description. This value must be unique across all the text type and subtitles text type tracks. HLS manifest will associate subtitle text track with this value. For example, set the value to \"English\" for subtitles text track with language_code as en-US. If this parameter is not included, Mux will auto-populate based on the language_code value.
|
28
28
|
attr_accessor :name
|
29
29
|
|
30
30
|
# Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH).
|