mux_ruby 3.5.0 → 3.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +4 -4
- data/docs/CreateLiveStreamRequest.md +2 -0
- data/docs/CreateTranscriptionVocabularyRequest.md +22 -0
- data/docs/ListTranscriptionVocabulariesResponse.md +18 -0
- data/docs/LiveStream.md +3 -1
- data/docs/LiveStreamGeneratedSubtitleSettings.md +24 -0
- data/docs/LiveStreamsApi.md +73 -0
- data/docs/MetricsApi.md +1 -1
- data/docs/RealTimeApi.md +2 -2
- data/docs/SpacesApi.md +9 -9
- data/docs/Track.md +2 -0
- data/docs/TranscriptionVocabulariesApi.md +367 -0
- data/docs/TranscriptionVocabulary.md +28 -0
- data/docs/TranscriptionVocabularyResponse.md +18 -0
- data/docs/UpdateLiveStreamGeneratedSubtitlesRequest.md +18 -0
- data/docs/UpdateTranscriptionVocabularyRequest.md +22 -0
- data/docs/VideoView.md +11 -1
- data/gen/generator-config.json +1 -1
- data/gen/templates/partial_model_generic.mustache +2 -2
- data/lib/mux_ruby/api/live_streams_api.rb +71 -0
- data/lib/mux_ruby/api/metrics_api.rb +2 -2
- data/lib/mux_ruby/api/real_time_api.rb +2 -2
- data/lib/mux_ruby/api/spaces_api.rb +11 -11
- data/lib/mux_ruby/api/transcription_vocabularies_api.rb +349 -0
- data/lib/mux_ruby/models/create_live_stream_request.rb +18 -6
- data/lib/mux_ruby/models/create_transcription_vocabulary_request.rb +265 -0
- data/lib/mux_ruby/models/list_transcription_vocabularies_response.rb +220 -0
- data/lib/mux_ruby/models/live_stream.rb +14 -2
- data/lib/mux_ruby/models/live_stream_generated_subtitle_settings.rb +287 -0
- data/lib/mux_ruby/models/track.rb +23 -1
- data/lib/mux_ruby/models/transcription_vocabulary.rb +286 -0
- data/lib/mux_ruby/models/transcription_vocabulary_response.rb +218 -0
- data/lib/mux_ruby/models/update_live_stream_generated_subtitles_request.rb +221 -0
- data/lib/mux_ruby/models/update_live_stream_request.rb +5 -5
- data/lib/mux_ruby/models/update_transcription_vocabulary_request.rb +265 -0
- data/lib/mux_ruby/models/video_view.rb +55 -5
- data/lib/mux_ruby/version.rb +1 -1
- data/lib/mux_ruby.rb +8 -0
- data/spec/api/transcription_vocabularies_api_spec.rb +97 -0
- data/spec/models/create_transcription_vocabulary_request_spec.rb +46 -0
- data/spec/models/list_transcription_vocabularies_response_spec.rb +34 -0
- data/spec/models/live_stream_generated_subtitle_settings_spec.rb +56 -0
- data/spec/models/transcription_vocabulary_response_spec.rb +34 -0
- data/spec/models/transcription_vocabulary_spec.rb +64 -0
- data/spec/models/update_live_stream_generated_subtitles_request_spec.rb +34 -0
- data/spec/models/update_transcription_vocabulary_request_spec.rb +46 -0
- metadata +147 -115
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb2b29c567025de72eb9d0189c6e1fa2ec9ea8689ac93e55863bb12695b9af2c
|
4
|
+
data.tar.gz: b5526bace178c2d507bdf6749eb941c3f6112b3359bebe8f7cc916a4654e2625
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae1c009ff5fdbc689afe779a07f42761c39bb3f0d3ba026474bfe3aa8464fb5f44e61cd0403986a1d3cae6c9d6ec3ade7d3976e7e0a2b128a117f2486980b24a
|
7
|
+
data.tar.gz: ff95553d55ab84a4baa91bc0ccab2d9f8ea68092dcde483bd3befcd6c05c88e94cff82589c81f30a8824805945bd565f7f59021f184c55738f60d33e043756d2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mux_ruby (3.
|
4
|
+
mux_ruby (3.6.0)
|
5
5
|
typhoeus (~> 1.0, >= 1.0.1)
|
6
6
|
|
7
7
|
GEM
|
@@ -13,7 +13,7 @@ GEM
|
|
13
13
|
diff-lcs (1.3)
|
14
14
|
ethon (0.15.0)
|
15
15
|
ffi (>= 1.15.0)
|
16
|
-
ffi (1.15.
|
16
|
+
ffi (1.15.4)
|
17
17
|
jaro_winkler (1.5.4)
|
18
18
|
method_source (1.0.0)
|
19
19
|
parallel (1.20.1)
|
data/README.md
CHANGED
@@ -23,7 +23,7 @@ Not familiar with Mux? Check out https://mux.com/ for more information.
|
|
23
23
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
24
24
|
|
25
25
|
- API version: v1
|
26
|
-
- Package version: 3.
|
26
|
+
- Package version: 3.6.0
|
27
27
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
28
28
|
For more information, please visit [https://docs.mux.com](https://docs.mux.com)
|
29
29
|
|
@@ -40,16 +40,16 @@ gem build mux_ruby.gemspec
|
|
40
40
|
Then either install the gem locally:
|
41
41
|
|
42
42
|
```shell
|
43
|
-
gem install ./mux_ruby-3.
|
43
|
+
gem install ./mux_ruby-3.6.0.gem
|
44
44
|
```
|
45
45
|
|
46
|
-
(for development, run `gem install --dev ./mux_ruby-3.
|
46
|
+
(for development, run `gem install --dev ./mux_ruby-3.6.0.gem` to install the development dependencies)
|
47
47
|
|
48
48
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
49
49
|
|
50
50
|
Finally add this to the Gemfile:
|
51
51
|
|
52
|
-
gem 'mux_ruby', '~> 3.
|
52
|
+
gem 'mux_ruby', '~> 3.6.0'
|
53
53
|
|
54
54
|
### Install from Git
|
55
55
|
|
@@ -10,6 +10,7 @@
|
|
10
10
|
| **passthrough** | **String** | | [optional] |
|
11
11
|
| **audio_only** | **Boolean** | Force the live stream to only process the audio track when the value is set to true. Mux drops the video track if broadcasted. | [optional] |
|
12
12
|
| **embedded_subtitles** | [**Array<LiveStreamEmbeddedSubtitleSettings>**](LiveStreamEmbeddedSubtitleSettings.md) | Describe the embedded closed caption contents of the incoming live stream. | [optional] |
|
13
|
+
| **generated_subtitles** | [**Array<LiveStreamGeneratedSubtitleSettings>**](LiveStreamGeneratedSubtitleSettings.md) | Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with `generated_subtitles` configured will automatically receive two text tracks. The first of these will have a `text_source` value of `generated_live`, and will be available with `ready` status as soon as the stream is live. The second text track will have a `text_source` value of `generated_live_final` and will contain subtitles with improved accuracy, timing, and formatting. However, `generated_live_final` tracks will not be available in `ready` status until the live stream ends. If an Asset has both `generated_live` and `generated_live_final` tracks that are `ready`, then only the `generated_live_final` track will be included during playback. | [optional] |
|
13
14
|
| **reduced_latency** | **Boolean** | This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it 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/ | [optional] |
|
14
15
|
| **low_latency** | **Boolean** | This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it 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. | [optional] |
|
15
16
|
| **latency_mode** | **String** | Latency is the time from when the streamer transmits a frame of video to when you see it in the player. Set this as an alternative to setting low latency or reduced latency flags. The Low Latency value is a beta feature. Note: Reconnect windows are incompatible with Reduced Latency and Low Latency and will always be set to zero (0) seconds. Read more here: https://mux.com/blog/introducing-low-latency-live-streaming/ | [optional] |
|
@@ -29,6 +30,7 @@ instance = MuxRuby::CreateLiveStreamRequest.new(
|
|
29
30
|
passthrough: null,
|
30
31
|
audio_only: null,
|
31
32
|
embedded_subtitles: null,
|
33
|
+
generated_subtitles: null,
|
32
34
|
reduced_latency: null,
|
33
35
|
low_latency: null,
|
34
36
|
latency_mode: null,
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# MuxRuby::CreateTranscriptionVocabularyRequest
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | The user-supplied name of the Transcription Vocabulary. | [optional] |
|
8
|
+
| **phrases** | **Array<String>** | Phrases, individual words, or proper names to include in the Transcription Vocabulary. When the Transcription Vocabulary is attached to a live stream's `generated_subtitles`, the probability of successful speech recognition for these words or phrases is boosted. | |
|
9
|
+
| **passthrough** | **String** | Arbitrary user-supplied metadata set for the Transcription Vocabulary. Max 255 characters. | [optional] |
|
10
|
+
|
11
|
+
## Example
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'mux_ruby'
|
15
|
+
|
16
|
+
instance = MuxRuby::CreateTranscriptionVocabularyRequest.new(
|
17
|
+
name: null,
|
18
|
+
phrases: null,
|
19
|
+
passthrough: null
|
20
|
+
)
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# MuxRuby::ListTranscriptionVocabulariesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **data** | [**Array<TranscriptionVocabulary>**](TranscriptionVocabulary.md) | | [optional] |
|
8
|
+
|
9
|
+
## Example
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'mux_ruby'
|
13
|
+
|
14
|
+
instance = MuxRuby::ListTranscriptionVocabulariesResponse.new(
|
15
|
+
data: null
|
16
|
+
)
|
17
|
+
```
|
18
|
+
|
data/docs/LiveStream.md
CHANGED
@@ -15,7 +15,8 @@
|
|
15
15
|
| **passthrough** | **String** | Arbitrary user-supplied metadata set for the asset. Max 255 characters. | [optional] |
|
16
16
|
| **audio_only** | **Boolean** | The live stream only processes the audio track if the value is set to true. Mux drops the video track if broadcasted. | [optional] |
|
17
17
|
| **embedded_subtitles** | [**Array<LiveStreamEmbeddedSubtitleSettings>**](LiveStreamEmbeddedSubtitleSettings.md) | Describes the embedded closed caption configuration of the incoming live stream. | [optional] |
|
18
|
-
| **
|
18
|
+
| **generated_subtitles** | [**Array<LiveStreamGeneratedSubtitleSettings>**](LiveStreamGeneratedSubtitleSettings.md) | Configure the incoming live stream to include subtitles created with automatic speech recognition. Each Asset created from a live stream with `generated_subtitles` configured will automatically receive two text tracks. The first of these will have a `text_source` value of `generated_live`, and will be available with `ready` status as soon as the stream is live. The second text track will have a `text_source` value of `generated_live_final` and will contain subtitles with improved accuracy, timing, and formatting. However, `generated_live_final` tracks will not be available in `ready` status until the live stream ends. If an Asset has both `generated_live` and `generated_live_final` tracks that are `ready`, then only the `generated_live_final` track will be included during playback. | [optional] |
|
19
|
+
| **reconnect_window** | **Float** | When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. **Min**: 0.1s. **Max**: 1800s (30 minutes). | [optional][default to 60] |
|
19
20
|
| **reduced_latency** | **Boolean** | This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it 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. See the [Reduce live stream latency guide](https://docs.mux.com/guides/video/reduce-live-stream-latency) to understand the tradeoffs. | [optional] |
|
20
21
|
| **low_latency** | **Boolean** | This field is deprecated. Please use latency_mode instead. Latency is the time from when the streamer transmits a frame of video to when you see it 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. | [optional] |
|
21
22
|
| **simulcast_targets** | [**Array<SimulcastTarget>**](SimulcastTarget.md) | Each Simulcast Target contains configuration details to broadcast (or \"restream\") a live stream to a third-party streaming service. [See the Stream live to 3rd party platforms guide](https://docs.mux.com/guides/video/stream-live-to-3rd-party-platforms). | [optional] |
|
@@ -40,6 +41,7 @@ instance = MuxRuby::LiveStream.new(
|
|
40
41
|
passthrough: null,
|
41
42
|
audio_only: null,
|
42
43
|
embedded_subtitles: null,
|
44
|
+
generated_subtitles: null,
|
43
45
|
reconnect_window: null,
|
44
46
|
reduced_latency: null,
|
45
47
|
low_latency: null,
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# MuxRuby::LiveStreamGeneratedSubtitleSettings
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **name** | **String** | A name for this live stream subtitle track. | [optional] |
|
8
|
+
| **passthrough** | **String** | Arbitrary metadata set for the live stream subtitle track. Max 255 characters. | [optional] |
|
9
|
+
| **language_code** | **String** | The language to generate subtitles in. | [optional][default to 'en'] |
|
10
|
+
| **transcription_vocabulary_ids** | **Array<String>** | Unique identifiers for existing Transcription Vocabularies to use while generating subtitles for the live stream. If the Transcription Vocabularies provided collectively have more than 1000 phrases, only the first 1000 phrases will be included. | [optional] |
|
11
|
+
|
12
|
+
## Example
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'mux_ruby'
|
16
|
+
|
17
|
+
instance = MuxRuby::LiveStreamGeneratedSubtitleSettings.new(
|
18
|
+
name: null,
|
19
|
+
passthrough: null,
|
20
|
+
language_code: null,
|
21
|
+
transcription_vocabulary_ids: null
|
22
|
+
)
|
23
|
+
```
|
24
|
+
|
data/docs/LiveStreamsApi.md
CHANGED
@@ -20,6 +20,7 @@ All URIs are relative to *https://api.mux.com*
|
|
20
20
|
| [**signal_live_stream_complete**](LiveStreamsApi.md#signal_live_stream_complete) | **PUT** /video/v1/live-streams/{LIVE_STREAM_ID}/complete | Signal a live stream is finished |
|
21
21
|
| [**update_live_stream**](LiveStreamsApi.md#update_live_stream) | **PATCH** /video/v1/live-streams/{LIVE_STREAM_ID} | Update a live stream |
|
22
22
|
| [**update_live_stream_embedded_subtitles**](LiveStreamsApi.md#update_live_stream_embedded_subtitles) | **PUT** /video/v1/live-streams/{LIVE_STREAM_ID}/embedded-subtitles | Update a live stream's embedded subtitles |
|
23
|
+
| [**update_live_stream_generated_subtitles**](LiveStreamsApi.md#update_live_stream_generated_subtitles) | **PUT** /video/v1/live-streams/{LIVE_STREAM_ID}/generated-subtitles | Update a live stream's generated subtitles |
|
23
24
|
|
24
25
|
|
25
26
|
## create_live_stream
|
@@ -1162,3 +1163,75 @@ end
|
|
1162
1163
|
- **Content-Type**: application/json
|
1163
1164
|
- **Accept**: application/json
|
1164
1165
|
|
1166
|
+
|
1167
|
+
## update_live_stream_generated_subtitles
|
1168
|
+
|
1169
|
+
> <LiveStreamResponse> update_live_stream_generated_subtitles(live_stream_id, update_live_stream_generated_subtitles_request)
|
1170
|
+
|
1171
|
+
Update a live stream's generated subtitles
|
1172
|
+
|
1173
|
+
Updates a live stream's automatic-speech-recognition-generated subtitle configuration. Automatic speech recognition subtitles can be removed by sending an empty array in the request payload.
|
1174
|
+
|
1175
|
+
### Examples
|
1176
|
+
|
1177
|
+
```ruby
|
1178
|
+
require 'time'
|
1179
|
+
require 'mux_ruby'
|
1180
|
+
# setup authorization
|
1181
|
+
MuxRuby.configure do |config|
|
1182
|
+
# Configure HTTP basic authorization: accessToken
|
1183
|
+
config.username = 'YOUR USERNAME'
|
1184
|
+
config.password = 'YOUR PASSWORD'
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
api_instance = MuxRuby::LiveStreamsApi.new
|
1188
|
+
live_stream_id = 'live_stream_id_example' # String | The live stream ID
|
1189
|
+
update_live_stream_generated_subtitles_request = MuxRuby::UpdateLiveStreamGeneratedSubtitlesRequest.new # UpdateLiveStreamGeneratedSubtitlesRequest |
|
1190
|
+
|
1191
|
+
begin
|
1192
|
+
# Update a live stream's generated subtitles
|
1193
|
+
result = api_instance.update_live_stream_generated_subtitles(live_stream_id, update_live_stream_generated_subtitles_request)
|
1194
|
+
p result
|
1195
|
+
rescue MuxRuby::ApiError => e
|
1196
|
+
puts "Error when calling LiveStreamsApi->update_live_stream_generated_subtitles: #{e}"
|
1197
|
+
end
|
1198
|
+
```
|
1199
|
+
|
1200
|
+
#### Using the update_live_stream_generated_subtitles_with_http_info variant
|
1201
|
+
|
1202
|
+
This returns an Array which contains the response data, status code and headers.
|
1203
|
+
|
1204
|
+
> <Array(<LiveStreamResponse>, Integer, Hash)> update_live_stream_generated_subtitles_with_http_info(live_stream_id, update_live_stream_generated_subtitles_request)
|
1205
|
+
|
1206
|
+
```ruby
|
1207
|
+
begin
|
1208
|
+
# Update a live stream's generated subtitles
|
1209
|
+
data, status_code, headers = api_instance.update_live_stream_generated_subtitles_with_http_info(live_stream_id, update_live_stream_generated_subtitles_request)
|
1210
|
+
p status_code # => 2xx
|
1211
|
+
p headers # => { ... }
|
1212
|
+
p data # => <LiveStreamResponse>
|
1213
|
+
rescue MuxRuby::ApiError => e
|
1214
|
+
puts "Error when calling LiveStreamsApi->update_live_stream_generated_subtitles_with_http_info: #{e}"
|
1215
|
+
end
|
1216
|
+
```
|
1217
|
+
|
1218
|
+
### Parameters
|
1219
|
+
|
1220
|
+
| Name | Type | Description | Notes |
|
1221
|
+
| ---- | ---- | ----------- | ----- |
|
1222
|
+
| **live_stream_id** | **String** | The live stream ID | |
|
1223
|
+
| **update_live_stream_generated_subtitles_request** | [**UpdateLiveStreamGeneratedSubtitlesRequest**](UpdateLiveStreamGeneratedSubtitlesRequest.md) | | |
|
1224
|
+
|
1225
|
+
### Return type
|
1226
|
+
|
1227
|
+
[**LiveStreamResponse**](LiveStreamResponse.md)
|
1228
|
+
|
1229
|
+
### Authorization
|
1230
|
+
|
1231
|
+
[accessToken](../README.md#accessToken)
|
1232
|
+
|
1233
|
+
### HTTP request headers
|
1234
|
+
|
1235
|
+
- **Content-Type**: application/json
|
1236
|
+
- **Accept**: application/json
|
1237
|
+
|
data/docs/MetricsApi.md
CHANGED
@@ -17,7 +17,7 @@ All URIs are relative to *https://api.mux.com*
|
|
17
17
|
|
18
18
|
Get metric timeseries data
|
19
19
|
|
20
|
-
Returns timeseries data for a specific metric. Each interval represented in the data array contains an array with the following values: * the first element is the interval time * the second element is the calculated metric value
|
20
|
+
Returns timeseries data for a specific metric. Each interval represented in the data array contains an array with the following values: * the first element is the interval time * the second element is the calculated metric value * the third element is the number of views in the interval that have a valid metric value
|
21
21
|
|
22
22
|
### Examples
|
23
23
|
|
data/docs/RealTimeApi.md
CHANGED
@@ -35,7 +35,7 @@ api_instance = MuxRuby::RealTimeApi.new
|
|
35
35
|
realtime_metric_id = 'current-concurrent-viewers' # String | ID of the Realtime Metric
|
36
36
|
opts = {
|
37
37
|
dimension: 'asn', # String | Dimension the specified value belongs to
|
38
|
-
timestamp:
|
38
|
+
timestamp: 56, # Integer | Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
|
39
39
|
filters: ['inner_example'], # Array<String> | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
|
40
40
|
order_by: 'negative_impact', # String | Value to order the results by
|
41
41
|
order_direction: 'asc' # String | Sort order.
|
@@ -74,7 +74,7 @@ end
|
|
74
74
|
| ---- | ---- | ----------- | ----- |
|
75
75
|
| **realtime_metric_id** | **String** | ID of the Realtime Metric | |
|
76
76
|
| **dimension** | **String** | Dimension the specified value belongs to | [optional] |
|
77
|
-
| **timestamp** | **
|
77
|
+
| **timestamp** | **Integer** | Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. | [optional] |
|
78
78
|
| **filters** | [**Array<String>**](String.md) | Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US` | [optional] |
|
79
79
|
| **order_by** | **String** | Value to order the results by | [optional] |
|
80
80
|
| **order_direction** | **String** | Sort order. | [optional] |
|
data/docs/SpacesApi.md
CHANGED
@@ -5,14 +5,14 @@ All URIs are relative to *https://api.mux.com*
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
7
7
|
| [**create_space**](SpacesApi.md#create_space) | **POST** /video/v1/spaces | Create a space |
|
8
|
-
| [**create_space_broadcast**](SpacesApi.md#create_space_broadcast) | **POST** /video/v1/spaces
|
9
|
-
| [**delete_space**](SpacesApi.md#delete_space) | **DELETE** /video/v1/spaces
|
10
|
-
| [**delete_space_broadcast**](SpacesApi.md#delete_space_broadcast) | **DELETE** /video/v1/spaces
|
11
|
-
| [**get_space**](SpacesApi.md#get_space) | **GET** /video/v1/spaces
|
12
|
-
| [**get_space_broadcast**](SpacesApi.md#get_space_broadcast) | **GET** /video/v1/spaces
|
8
|
+
| [**create_space_broadcast**](SpacesApi.md#create_space_broadcast) | **POST** /video/v1/spaces/{SPACE_ID}/broadcasts | Create a space broadcast |
|
9
|
+
| [**delete_space**](SpacesApi.md#delete_space) | **DELETE** /video/v1/spaces/{SPACE_ID} | Delete a space |
|
10
|
+
| [**delete_space_broadcast**](SpacesApi.md#delete_space_broadcast) | **DELETE** /video/v1/spaces/{SPACE_ID}/broadcasts/{BROADCAST_ID} | Delete a space broadcast |
|
11
|
+
| [**get_space**](SpacesApi.md#get_space) | **GET** /video/v1/spaces/{SPACE_ID} | Retrieve a space |
|
12
|
+
| [**get_space_broadcast**](SpacesApi.md#get_space_broadcast) | **GET** /video/v1/spaces/{SPACE_ID}/broadcasts/{BROADCAST_ID} | Retrieve space broadcast |
|
13
13
|
| [**list_spaces**](SpacesApi.md#list_spaces) | **GET** /video/v1/spaces | List spaces |
|
14
|
-
| [**start_space_broadcast**](SpacesApi.md#start_space_broadcast) | **POST** /video/v1/spaces
|
15
|
-
| [**stop_space_broadcast**](SpacesApi.md#stop_space_broadcast) | **POST** /video/v1/spaces
|
14
|
+
| [**start_space_broadcast**](SpacesApi.md#start_space_broadcast) | **POST** /video/v1/spaces/{SPACE_ID}/broadcasts/{BROADCAST_ID}/start | Start a space broadcast |
|
15
|
+
| [**stop_space_broadcast**](SpacesApi.md#stop_space_broadcast) | **POST** /video/v1/spaces/{SPACE_ID}/broadcasts/{BROADCAST_ID}/stop | Stop a space broadcast |
|
16
16
|
|
17
17
|
|
18
18
|
## create_space
|
@@ -91,7 +91,7 @@ end
|
|
91
91
|
|
92
92
|
Create a space broadcast
|
93
93
|
|
94
|
-
Creates a new broadcast. Broadcasts are used to create composited versions of your space, which can be broadcast to live streams.
|
94
|
+
Creates a new broadcast. Broadcasts are used to create composited versions of your space, which can be broadcast to live streams. **Note:** By default only a single broadcast destination can be specified. Contact Mux support if you need more.
|
95
95
|
|
96
96
|
### Examples
|
97
97
|
|
@@ -519,7 +519,7 @@ end
|
|
519
519
|
|
520
520
|
Start a space broadcast
|
521
521
|
|
522
|
-
Starts broadcasting a space to the associated destination.
|
522
|
+
Starts broadcasting a space to the associated destination. Broadcasts can only be started when the space is `active` (when there are participants connected).
|
523
523
|
|
524
524
|
### Examples
|
525
525
|
|
data/docs/Track.md
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
| **max_channels** | **Integer** | The maximum number of audio channels the track supports. Only set for the `audio` type track. | [optional] |
|
14
14
|
| **max_channel_layout** | **String** | Only set for the `audio` type track. | [optional] |
|
15
15
|
| **text_type** | **String** | This parameter is only set for `text` type tracks. | [optional] |
|
16
|
+
| **text_source** | **String** | The source of the text contained in a Track of type `text`. Valid `text_source` values are listed below. * `uploaded`: Tracks uploaded to Mux as caption or subtitle files using the Create Asset Track API. * `embedded`: Tracks extracted from an embedded stream of CEA-608 closed captions. * `generated_live`: Tracks generated by automatic speech recognition on a live stream configured with `generated_subtitles`. If an Asset has both `generated_live` and `generated_live_final` tracks that are `ready`, then only the `generated_live_final` track will be included during playback. * `generated_live_final`: Tracks generated by automatic speech recognition on a live stream using `generated_subtitles`. The accuracy, timing, and formatting of these subtitles is improved compared to the corresponding `generated_live` tracks. However, `generated_live_final` tracks will not be available in `ready` status until the live stream ends. If an Asset has both `generated_live` and `generated_live_final` tracks that are `ready`, then only the `generated_live_final` track will be included during playback. | [optional] |
|
16
17
|
| **language_code** | **String** | The language code value represents [BCP 47](https://tools.ietf.org/html/bcp47) specification compliant value. For example, `en` for English or `en-US` for the US version of English. This parameter is only set for `text` type and `subtitles` text type tracks. | [optional] |
|
17
18
|
| **name** | **String** | The name of the track containing a human-readable description. The hls manifest will associate a subtitle text track with this value. For example, the value is \"English\" for subtitles text track for the `language_code` value of `en-US`. This parameter is only set for `text` type and `subtitles` text type tracks. | [optional] |
|
18
19
|
| **closed_captions** | **Boolean** | Indicates the track provides Subtitles for the Deaf or Hard-of-hearing (SDH). This parameter is only set for `text` type and `subtitles` text type tracks. | [optional] |
|
@@ -34,6 +35,7 @@ instance = MuxRuby::Track.new(
|
|
34
35
|
max_channels: null,
|
35
36
|
max_channel_layout: null,
|
36
37
|
text_type: null,
|
38
|
+
text_source: null,
|
37
39
|
language_code: null,
|
38
40
|
name: null,
|
39
41
|
closed_captions: null,
|