Skip to content

feat(api): api update #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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