Skip to content

Commit

Permalink
feat(api): api update (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Dec 16, 2024
1 parent 17dc3e2 commit febeae5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 88
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-59cc6a0736ea7363f64111dcca8774fe5e7f353c547071c7064574456c178486.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-6dae389e0944aec58240cf18dd636302cff1e4d7f4eb60f4cb244f7eddc47060.yml
13 changes: 11 additions & 2 deletions src/resources/video/live-streams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,8 @@ export interface LiveStreamUpdateParams {

/**
* Updates the new asset settings to use to generate a new asset for this live
* stream. Only the `mp4_support` and `master_access` settings may be updated.
* stream. Only the `mp4_support`, `master_access`, and `video_quality` settings
* may be updated.
*/
new_asset_settings?: LiveStreamUpdateParams.NewAssetSettings;

Expand Down Expand Up @@ -855,7 +856,8 @@ export interface LiveStreamUpdateParams {
export namespace LiveStreamUpdateParams {
/**
* Updates the new asset settings to use to generate a new asset for this live
* stream. Only the `mp4_support` and `master_access` settings may be updated.
* stream. Only the `mp4_support`, `master_access`, and `video_quality` settings
* may be updated.
*/
export interface NewAssetSettings {
/**
Expand Down Expand Up @@ -884,6 +886,13 @@ export namespace LiveStreamUpdateParams {
* `audio.m4a` for an audio-only asset).
*/
mp4_support?: 'none' | 'standard' | 'capped-1080p' | 'audio-only' | 'audio-only,capped-1080p';

/**
* The video quality controls the cost, quality, and available platform features
* for the asset.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
video_quality?: 'plus' | 'premium';
}
}

Expand Down

0 comments on commit febeae5

Please sign in to comment.