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.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +5 -4
  4. data/docs/Asset.md +4 -2
  5. data/docs/AssetsApi.md +10 -4
  6. data/docs/CreateLiveStreamRequest.md +4 -0
  7. data/docs/CreateTrackRequest.md +1 -1
  8. data/docs/DeliveryUsageApi.md +3 -3
  9. data/docs/ErrorsApi.md +1 -1
  10. data/docs/ExportDate.md +20 -0
  11. data/docs/ExportFile.md +22 -0
  12. data/docs/ExportsApi.md +69 -1
  13. data/docs/IncidentsApi.md +3 -3
  14. data/docs/ListVideoViewExportsResponse.md +22 -0
  15. data/docs/LiveStream.md +4 -0
  16. data/docs/MetricsApi.md +13 -13
  17. data/docs/PlaybackIDApi.md +1 -1
  18. data/docs/RealTimeApi.md +5 -5
  19. data/docs/RealTimeBreakdownValue.md +2 -2
  20. data/docs/RealTimeTimeseriesDatapoint.md +2 -2
  21. data/docs/URLSigningKeysApi.md +3 -3
  22. data/docs/VideoView.md +17 -1
  23. data/docs/VideoViewsApi.md +2 -2
  24. data/gen/generator-config.json +2 -1
  25. data/gen/templates/gemspec.mustache +1 -0
  26. data/lib/mux_ruby/api/assets_api.rb +16 -8
  27. data/lib/mux_ruby/api/delivery_usage_api.rb +6 -6
  28. data/lib/mux_ruby/api/dimensions_api.rb +2 -2
  29. data/lib/mux_ruby/api/direct_uploads_api.rb +2 -2
  30. data/lib/mux_ruby/api/errors_api.rb +4 -4
  31. data/lib/mux_ruby/api/exports_api.rb +61 -4
  32. data/lib/mux_ruby/api/filters_api.rb +2 -2
  33. data/lib/mux_ruby/api/incidents_api.rb +8 -8
  34. data/lib/mux_ruby/api/live_streams_api.rb +2 -2
  35. data/lib/mux_ruby/api/metrics_api.rb +28 -28
  36. data/lib/mux_ruby/api/playback_id_api.rb +4 -4
  37. data/lib/mux_ruby/api/real_time_api.rb +12 -12
  38. data/lib/mux_ruby/api/url_signing_keys_api.rb +8 -8
  39. data/lib/mux_ruby/api/video_views_api.rb +6 -6
  40. data/lib/mux_ruby/api_client.rb +2 -2
  41. data/lib/mux_ruby/api_error.rb +2 -2
  42. data/lib/mux_ruby/configuration.rb +2 -2
  43. data/lib/mux_ruby/models/abridged_video_view.rb +2 -2
  44. data/lib/mux_ruby/models/asset.rb +15 -5
  45. data/lib/mux_ruby/models/asset_errors.rb +2 -2
  46. data/lib/mux_ruby/models/asset_master.rb +2 -2
  47. data/lib/mux_ruby/models/asset_non_standard_input_reasons.rb +2 -2
  48. data/lib/mux_ruby/models/asset_recording_times.rb +2 -2
  49. data/lib/mux_ruby/models/asset_response.rb +2 -2
  50. data/lib/mux_ruby/models/asset_static_renditions.rb +2 -2
  51. data/lib/mux_ruby/models/asset_static_renditions_files.rb +2 -2
  52. data/lib/mux_ruby/models/breakdown_value.rb +2 -2
  53. data/lib/mux_ruby/models/create_asset_request.rb +2 -2
  54. data/lib/mux_ruby/models/create_live_stream_request.rb +23 -3
  55. data/lib/mux_ruby/models/create_playback_id_request.rb +2 -2
  56. data/lib/mux_ruby/models/create_playback_id_response.rb +2 -2
  57. data/lib/mux_ruby/models/create_simulcast_target_request.rb +2 -2
  58. data/lib/mux_ruby/models/create_track_request.rb +3 -3
  59. data/lib/mux_ruby/models/create_track_response.rb +2 -2
  60. data/lib/mux_ruby/models/create_upload_request.rb +2 -2
  61. data/lib/mux_ruby/models/delivery_report.rb +2 -2
  62. data/lib/mux_ruby/models/dimension_value.rb +2 -2
  63. data/lib/mux_ruby/models/disable_live_stream_response.rb +2 -2
  64. data/lib/mux_ruby/models/enable_live_stream_response.rb +2 -2
  65. data/lib/mux_ruby/models/error.rb +2 -2
  66. data/lib/mux_ruby/models/export_date.rb +229 -0
  67. data/lib/mux_ruby/models/export_file.rb +236 -0
  68. data/lib/mux_ruby/models/filter_value.rb +2 -2
  69. data/lib/mux_ruby/models/get_asset_input_info_response.rb +2 -2
  70. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response.rb +2 -2
  71. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data.rb +2 -2
  72. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data_object.rb +2 -2
  73. data/lib/mux_ruby/models/get_asset_playback_id_response.rb +2 -2
  74. data/lib/mux_ruby/models/get_metric_timeseries_data_response.rb +2 -2
  75. data/lib/mux_ruby/models/get_overall_values_response.rb +2 -2
  76. data/lib/mux_ruby/models/get_real_time_breakdown_response.rb +2 -2
  77. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response.rb +2 -2
  78. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response_meta.rb +2 -2
  79. data/lib/mux_ruby/models/get_real_time_timeseries_response.rb +2 -2
  80. data/lib/mux_ruby/models/incident.rb +2 -2
  81. data/lib/mux_ruby/models/incident_breakdown.rb +2 -2
  82. data/lib/mux_ruby/models/incident_notification.rb +2 -2
  83. data/lib/mux_ruby/models/incident_notification_rule.rb +2 -2
  84. data/lib/mux_ruby/models/incident_response.rb +2 -2
  85. data/lib/mux_ruby/models/input_file.rb +2 -2
  86. data/lib/mux_ruby/models/input_info.rb +2 -2
  87. data/lib/mux_ruby/models/input_settings.rb +2 -2
  88. data/lib/mux_ruby/models/input_settings_overlay_settings.rb +2 -2
  89. data/lib/mux_ruby/models/input_track.rb +2 -2
  90. data/lib/mux_ruby/models/insight.rb +2 -2
  91. data/lib/mux_ruby/models/list_all_metric_values_response.rb +2 -2
  92. data/lib/mux_ruby/models/list_assets_response.rb +2 -2
  93. data/lib/mux_ruby/models/list_breakdown_values_response.rb +2 -2
  94. data/lib/mux_ruby/models/list_delivery_usage_response.rb +2 -2
  95. data/lib/mux_ruby/models/list_dimension_values_response.rb +2 -2
  96. data/lib/mux_ruby/models/list_dimensions_response.rb +2 -2
  97. data/lib/mux_ruby/models/list_errors_response.rb +2 -2
  98. data/lib/mux_ruby/models/list_exports_response.rb +2 -2
  99. data/lib/mux_ruby/models/list_filter_values_response.rb +2 -2
  100. data/lib/mux_ruby/models/list_filters_response.rb +2 -2
  101. data/lib/mux_ruby/models/list_filters_response_data.rb +2 -2
  102. data/lib/mux_ruby/models/list_incidents_response.rb +2 -2
  103. data/lib/mux_ruby/models/list_insights_response.rb +2 -2
  104. data/lib/mux_ruby/models/list_live_streams_response.rb +2 -2
  105. data/lib/mux_ruby/models/list_real_time_dimensions_response.rb +2 -2
  106. data/lib/mux_ruby/models/list_real_time_dimensions_response_data.rb +2 -2
  107. data/lib/mux_ruby/models/list_real_time_metrics_response.rb +2 -2
  108. data/lib/mux_ruby/models/list_related_incidents_response.rb +2 -2
  109. data/lib/mux_ruby/models/list_signing_keys_response.rb +2 -2
  110. data/lib/mux_ruby/models/list_uploads_response.rb +2 -2
  111. data/lib/mux_ruby/models/list_video_view_exports_response.rb +240 -0
  112. data/lib/mux_ruby/models/list_video_views_response.rb +2 -2
  113. data/lib/mux_ruby/models/live_stream.rb +23 -3
  114. data/lib/mux_ruby/models/live_stream_response.rb +2 -2
  115. data/lib/mux_ruby/models/metric.rb +2 -2
  116. data/lib/mux_ruby/models/notification_rule.rb +2 -2
  117. data/lib/mux_ruby/models/overall_values.rb +2 -2
  118. data/lib/mux_ruby/models/playback_id.rb +2 -2
  119. data/lib/mux_ruby/models/playback_policy.rb +2 -2
  120. data/lib/mux_ruby/models/real_time_breakdown_value.rb +9 -9
  121. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket.rb +2 -2
  122. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket_values.rb +2 -2
  123. data/lib/mux_ruby/models/real_time_histogram_timeseries_datapoint.rb +2 -2
  124. data/lib/mux_ruby/models/real_time_timeseries_datapoint.rb +9 -9
  125. data/lib/mux_ruby/models/score.rb +2 -2
  126. data/lib/mux_ruby/models/signal_live_stream_complete_response.rb +2 -2
  127. data/lib/mux_ruby/models/signing_key.rb +2 -2
  128. data/lib/mux_ruby/models/signing_key_response.rb +2 -2
  129. data/lib/mux_ruby/models/simulcast_target.rb +2 -2
  130. data/lib/mux_ruby/models/simulcast_target_response.rb +2 -2
  131. data/lib/mux_ruby/models/track.rb +2 -2
  132. data/lib/mux_ruby/models/update_asset_master_access_request.rb +2 -2
  133. data/lib/mux_ruby/models/update_asset_mp4_support_request.rb +2 -2
  134. data/lib/mux_ruby/models/upload.rb +2 -2
  135. data/lib/mux_ruby/models/upload_error.rb +2 -2
  136. data/lib/mux_ruby/models/upload_response.rb +2 -2
  137. data/lib/mux_ruby/models/video_view.rb +78 -6
  138. data/lib/mux_ruby/models/video_view_event.rb +2 -2
  139. data/lib/mux_ruby/models/video_view_response.rb +2 -2
  140. data/lib/mux_ruby/version.rb +3 -3
  141. data/lib/mux_ruby.rb +5 -2
  142. data/mux_ruby.gemspec +3 -2
  143. data/spec/api_client_spec.rb +2 -2
  144. data/spec/configuration_spec.rb +2 -2
  145. data/spec/models/export_date_spec.rb +40 -0
  146. data/spec/models/export_file_spec.rb +46 -0
  147. data/spec/models/list_video_view_exports_response_spec.rb +46 -0
  148. data/spec/spec_helper.rb +2 -2
  149. 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 &#x60;limit&#x60; (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 &#x60;limit&#x60;
@@ -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,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 24 hours).
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 unqiue 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.
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).