mux_ruby 3.20.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 (85) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/README.md +4 -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/StaticRendition.md +40 -0
  12. data/docs/UpdateLiveStreamNewAssetSettings.md +4 -2
  13. data/docs/UpdateLiveStreamNewAssetSettingsStaticRenditionsRequest.md +18 -0
  14. data/docs/VideoView.md +33 -1
  15. data/gen/generator-config.json +1 -1
  16. data/lib/mux_ruby/api/assets_api.rb +140 -2
  17. data/lib/mux_ruby/api/live_streams_api.rb +132 -0
  18. data/lib/mux_ruby/api/metrics_api.rb +2 -2
  19. data/lib/mux_ruby/models/asset_static_renditions.rb +2 -2
  20. data/lib/mux_ruby/models/create_asset_request.rb +17 -5
  21. data/lib/mux_ruby/models/{create_broadcast_request.rb → create_static_rendition_request.rb} +49 -53
  22. data/lib/mux_ruby/models/{start_space_broadcast_response.rb → create_static_rendition_response.rb} +4 -4
  23. data/lib/mux_ruby/models/input_settings.rb +1 -1
  24. data/lib/mux_ruby/models/{asset_static_renditions_files.rb → static_rendition.rb} +118 -9
  25. data/lib/mux_ruby/models/update_live_stream_new_asset_settings.rb +28 -6
  26. data/lib/mux_ruby/models/{list_spaces_response.rb → update_live_stream_new_asset_settings_static_renditions_request.rb} +11 -16
  27. data/lib/mux_ruby/models/video_view.rb +161 -4
  28. data/lib/mux_ruby/version.rb +1 -1
  29. data/lib/mux_ruby.rb +4 -16
  30. data/spec/models/create_static_rendition_request_spec.rb +44 -0
  31. data/spec/models/create_static_rendition_response_spec.rb +34 -0
  32. data/spec/models/static_rendition_spec.rb +124 -0
  33. data/spec/models/update_live_stream_new_asset_settings_static_renditions_request_spec.rb +34 -0
  34. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/byebug/byebug.so +0 -0
  35. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/byebug-11.1.3/gem_make.out +8 -8
  36. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/ffi_c.so +0 -0
  37. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/gem_make.out +6 -6
  38. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/ffi-1.16.3/mkmf.log +19 -19
  39. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/jaro_winkler-1.5.6/gem_make.out +7 -7
  40. 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
  41. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-4.0.4/gem_make.out +6 -6
  42. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-4.0.4/mkmf.log +5 -5
  43. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/psych-4.0.4/psych.so +0 -0
  44. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.2/gem_make.out +6 -6
  45. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.2/mkmf.log +2 -2
  46. data/vendor/bundle/ruby/3.2.0/extensions/x86_64-linux/3.2.0/stringio-3.0.2/stringio.so +0 -0
  47. data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/ext/byebug/Makefile +3 -3
  48. data/vendor/bundle/ruby/3.2.0/gems/byebug-11.1.3/lib/byebug/byebug.so +0 -0
  49. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/ext/ffi_c/Makefile +3 -3
  50. data/vendor/bundle/ruby/3.2.0/gems/ffi-1.16.3/lib/ffi_c.so +0 -0
  51. data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler/Makefile +3 -3
  52. data/vendor/bundle/ruby/3.2.0/gems/jaro_winkler-1.5.6/lib/jaro_winkler/jaro_winkler_ext.so +0 -0
  53. data/vendor/bundle/ruby/3.2.0/gems/psych-4.0.4/ext/psych/Makefile +3 -3
  54. data/vendor/bundle/ruby/3.2.0/gems/psych-4.0.4/lib/psych.so +0 -0
  55. data/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/ext/stringio/Makefile +3 -3
  56. data/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.2/lib/stringio.so +0 -0
  57. metadata +172 -191
  58. data/docs/AssetStaticRenditionsFiles.md +0 -28
  59. data/docs/Broadcast.md +0 -30
  60. data/docs/BroadcastLayout.md +0 -15
  61. data/docs/BroadcastResolution.md +0 -15
  62. data/docs/BroadcastResponse.md +0 -18
  63. data/docs/BroadcastStatus.md +0 -15
  64. data/docs/CreateBroadcastRequest.md +0 -26
  65. data/docs/CreateSpaceRequest.md +0 -22
  66. data/docs/ListSpacesResponse.md +0 -18
  67. data/docs/Space.md +0 -30
  68. data/docs/SpaceResponse.md +0 -18
  69. data/docs/SpaceStatus.md +0 -15
  70. data/docs/SpaceType.md +0 -15
  71. data/docs/SpacesApi.md +0 -658
  72. data/docs/StartSpaceBroadcastResponse.md +0 -18
  73. data/docs/StopSpaceBroadcastResponse.md +0 -18
  74. data/lib/mux_ruby/api/spaces_api.rb +0 -619
  75. data/lib/mux_ruby/models/broadcast.rb +0 -305
  76. data/lib/mux_ruby/models/broadcast_layout.rb +0 -38
  77. data/lib/mux_ruby/models/broadcast_resolution.rb +0 -41
  78. data/lib/mux_ruby/models/broadcast_response.rb +0 -223
  79. data/lib/mux_ruby/models/broadcast_status.rb +0 -37
  80. data/lib/mux_ruby/models/create_space_request.rb +0 -242
  81. data/lib/mux_ruby/models/space.rb +0 -301
  82. data/lib/mux_ruby/models/space_response.rb +0 -223
  83. data/lib/mux_ruby/models/space_status.rb +0 -37
  84. data/lib/mux_ruby/models/space_type.rb +0 -36
  85. 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
-