mux_ruby 3.19.0 → 4.0.0

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.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +8 -4
  4. data/docs/AssetStaticRenditions.md +2 -2
  5. data/docs/AssetsApi.md +146 -1
  6. data/docs/CreateAssetRequest.md +4 -2
  7. data/docs/CreateStaticRenditionRequest.md +20 -0
  8. data/docs/CreateStaticRenditionResponse.md +18 -0
  9. data/docs/InputSettings.md +1 -1
  10. data/docs/LiveStreamsApi.md +143 -0
  11. data/docs/MetricsApi.md +8 -8
  12. data/docs/StaticRendition.md +40 -0
  13. data/docs/UpdateLiveStreamNewAssetSettings.md +4 -2
  14. data/docs/UpdateLiveStreamNewAssetSettingsStaticRenditionsRequest.md +18 -0
  15. data/docs/VideoView.md +33 -5
  16. data/gen/generator-config.json +1 -1
  17. data/gen/templates/README.mustache +4 -0
  18. data/lib/mux_ruby/api/assets_api.rb +140 -2
  19. data/lib/mux_ruby/api/live_streams_api.rb +132 -0
  20. data/lib/mux_ruby/api/metrics_api.rb +14 -14
  21. data/lib/mux_ruby/models/asset_static_renditions.rb +2 -2
  22. data/lib/mux_ruby/models/create_asset_request.rb +17 -5
  23. data/lib/mux_ruby/models/{create_broadcast_request.rb → create_static_rendition_request.rb} +49 -53
  24. data/lib/mux_ruby/models/{start_space_broadcast_response.rb → create_static_rendition_response.rb} +4 -4
  25. data/lib/mux_ruby/models/input_settings.rb +1 -1
  26. data/lib/mux_ruby/models/{asset_static_renditions_files.rb → static_rendition.rb} +118 -9
  27. data/lib/mux_ruby/models/update_live_stream_new_asset_settings.rb +28 -6
  28. data/lib/mux_ruby/models/{list_spaces_response.rb → update_live_stream_new_asset_settings_static_renditions_request.rb} +11 -16
  29. data/lib/mux_ruby/models/video_view.rb +158 -21
  30. data/lib/mux_ruby/version.rb +1 -1
  31. data/lib/mux_ruby.rb +4 -16
  32. data/spec/models/create_static_rendition_request_spec.rb +44 -0
  33. data/spec/models/create_static_rendition_response_spec.rb +34 -0
  34. data/spec/models/static_rendition_spec.rb +124 -0
  35. data/spec/models/update_live_stream_new_asset_settings_static_renditions_request_spec.rb +34 -0
  36. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/byebug/byebug.so +0 -0
  37. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +8 -8
  38. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/ffi_c.so +0 -0
  39. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/gem_make.out +6 -6
  40. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/mkmf.log +19 -19
  41. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +7 -7
  42. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/jaro_winkler/jaro_winkler_ext.so +0 -0
  43. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-4.0.4/gem_make.out +6 -6
  44. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-4.0.4/mkmf.log +5 -5
  45. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-4.0.4/psych.so +0 -0
  46. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.2/gem_make.out +6 -6
  47. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.2/mkmf.log +2 -2
  48. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.2/stringio.so +0 -0
  49. data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/Makefile +3 -3
  50. data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
  51. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +3 -3
  52. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/lib/ffi_c.so +0 -0
  53. data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +3 -3
  54. data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
  55. data/vendor/bundle/ruby/3.2.0/gems/psych-4.0.4/ext/psych/Makefile +3 -3
  56. data/vendor/bundle/ruby/3.2.0/gems/psych-4.0.4/lib/psych.so +0 -0
  57. data/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/ext/stringio/Makefile +3 -3
  58. data/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/lib/stringio.so +0 -0
  59. metadata +172 -191
  60. data/docs/AssetStaticRenditionsFiles.md +0 -28
  61. data/docs/Broadcast.md +0 -30
  62. data/docs/BroadcastLayout.md +0 -15
  63. data/docs/BroadcastResolution.md +0 -15
  64. data/docs/BroadcastResponse.md +0 -18
  65. data/docs/BroadcastStatus.md +0 -15
  66. data/docs/CreateBroadcastRequest.md +0 -26
  67. data/docs/CreateSpaceRequest.md +0 -22
  68. data/docs/ListSpacesResponse.md +0 -18
  69. data/docs/Space.md +0 -30
  70. data/docs/SpaceResponse.md +0 -18
  71. data/docs/SpaceStatus.md +0 -15
  72. data/docs/SpaceType.md +0 -15
  73. data/docs/SpacesApi.md +0 -658
  74. data/docs/StartSpaceBroadcastResponse.md +0 -18
  75. data/docs/StopSpaceBroadcastResponse.md +0 -18
  76. data/lib/mux_ruby/api/spaces_api.rb +0 -619
  77. data/lib/mux_ruby/models/broadcast.rb +0 -305
  78. data/lib/mux_ruby/models/broadcast_layout.rb +0 -38
  79. data/lib/mux_ruby/models/broadcast_resolution.rb +0 -41
  80. data/lib/mux_ruby/models/broadcast_response.rb +0 -223
  81. data/lib/mux_ruby/models/broadcast_status.rb +0 -37
  82. data/lib/mux_ruby/models/create_space_request.rb +0 -242
  83. data/lib/mux_ruby/models/space.rb +0 -301
  84. data/lib/mux_ruby/models/space_response.rb +0 -223
  85. data/lib/mux_ruby/models/space_status.rb +0 -37
  86. data/lib/mux_ruby/models/space_type.rb +0 -36
  87. data/lib/mux_ruby/models/stop_space_broadcast_response.rb +0 -218
@@ -1,26 +0,0 @@
1
- # MuxRuby::CreateBroadcastRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **passthrough** | **String** | Arbitrary user-supplied metadata that will be included in the broadcast details and related webhooks. Max: 255 characters. | [optional] |
8
- | **live_stream_id** | **String** | The ID of the live stream that you want to broadcast to. | |
9
- | **layout** | [**BroadcastLayout**](BroadcastLayout.md) | | [optional][default to 'gallery'] |
10
- | **background** | **String** | URL of an image to display as the background of the broadcast. Its dimensions should match the provided resolution. | [optional] |
11
- | **resolution** | [**BroadcastResolution**](BroadcastResolution.md) | | [optional][default to '1920x1080'] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'mux_ruby'
17
-
18
- instance = MuxRuby::CreateBroadcastRequest.new(
19
- passthrough: null,
20
- live_stream_id: null,
21
- layout: null,
22
- background: null,
23
- resolution: null
24
- )
25
- ```
26
-
@@ -1,22 +0,0 @@
1
- # MuxRuby::CreateSpaceRequest
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **type** | [**SpaceType**](SpaceType.md) | | [optional][default to 'server'] |
8
- | **passthrough** | **String** | Arbitrary user-supplied metadata that will be included in the space details and related webhooks. Max: 255 characters. | [optional] |
9
- | **broadcasts** | [**Array<CreateBroadcastRequest>**](CreateBroadcastRequest.md) | An array of broadcast destinations you want to stream the space to. **Note:** By default only a single broadcast destination can be specified. Contact Mux support if you need more. | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'mux_ruby'
15
-
16
- instance = MuxRuby::CreateSpaceRequest.new(
17
- type: null,
18
- passthrough: null,
19
- broadcasts: null
20
- )
21
- ```
22
-
@@ -1,18 +0,0 @@
1
- # MuxRuby::ListSpacesResponse
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Array<Space>**](Space.md) | | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'mux_ruby'
13
-
14
- instance = MuxRuby::ListSpacesResponse.new(
15
- data: null
16
- )
17
- ```
18
-
data/docs/Space.md DELETED
@@ -1,30 +0,0 @@
1
- # MuxRuby::Space
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **id** | **String** | Unique identifier for the space. Max 255 characters. | |
8
- | **created_at** | **String** | Time the space was created, defined as a Unix timestamp (seconds since epoch). | |
9
- | **type** | [**SpaceType**](SpaceType.md) | | [default to 'server'] |
10
- | **status** | [**SpaceStatus**](SpaceStatus.md) | | |
11
- | **passthrough** | **String** | Arbitrary user-supplied metadata that will be included in the space details and related webhooks. Max: 255 characters. | [optional] |
12
- | **broadcasts** | [**Array<Broadcast>**](Broadcast.md) | An array of broadcast destinations. | [optional] |
13
- | **active_session_id** | **String** | Unique identifier for the current lifecycle of the space. Only set when the space is `active` and is set to a new value each time the space transitions from `idle` to `active`. This value is useful for logging and debugging issues. Max 255 characters. | [optional] |
14
-
15
- ## Example
16
-
17
- ```ruby
18
- require 'mux_ruby'
19
-
20
- instance = MuxRuby::Space.new(
21
- id: null,
22
- created_at: null,
23
- type: null,
24
- status: null,
25
- passthrough: null,
26
- broadcasts: null,
27
- active_session_id: null
28
- )
29
- ```
30
-
@@ -1,18 +0,0 @@
1
- # MuxRuby::SpaceResponse
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **data** | [**Space**](Space.md) | | |
8
-
9
- ## Example
10
-
11
- ```ruby
12
- require 'mux_ruby'
13
-
14
- instance = MuxRuby::SpaceResponse.new(
15
- data: null
16
- )
17
- ```
18
-
data/docs/SpaceStatus.md DELETED
@@ -1,15 +0,0 @@
1
- # MuxRuby::SpaceStatus
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'mux_ruby'
12
-
13
- instance = MuxRuby::SpaceStatus.new()
14
- ```
15
-
data/docs/SpaceType.md DELETED
@@ -1,15 +0,0 @@
1
- # MuxRuby::SpaceType
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'mux_ruby'
12
-
13
- instance = MuxRuby::SpaceType.new()
14
- ```
15
-