Skip to content

Commit 80b46e9

Browse files
feat(api): api update (#533)
1 parent 0459346 commit 80b46e9

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 88
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-59cc6a0736ea7363f64111dcca8774fe5e7f353c547071c7064574456c178486.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-6dae389e0944aec58240cf18dd636302cff1e4d7f4eb60f4cb244f7eddc47060.yml

src/resources/video/live-streams.ts

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,8 @@ export interface LiveStreamUpdateParams {
805805

806806
/**
807807
* Updates the new asset settings to use to generate a new asset for this live
808-
* stream. Only the `mp4_support` and `master_access` settings may be updated.
808+
* stream. Only the `mp4_support`, `master_access`, and `video_quality` settings
809+
* may be updated.
809810
*/
810811
new_asset_settings?: LiveStreamUpdateParams.NewAssetSettings;
811812

@@ -855,7 +856,8 @@ export interface LiveStreamUpdateParams {
855856
export namespace LiveStreamUpdateParams {
856857
/**
857858
* Updates the new asset settings to use to generate a new asset for this live
858-
* stream. Only the `mp4_support` and `master_access` settings may be updated.
859+
* stream. Only the `mp4_support`, `master_access`, and `video_quality` settings
860+
* may be updated.
859861
*/
860862
export interface NewAssetSettings {
861863
/**
@@ -884,6 +886,13 @@ export namespace LiveStreamUpdateParams {
884886
* `audio.m4a` for an audio-only asset).
885887
*/
886888
mp4_support?: 'none' | 'standard' | 'capped-1080p' | 'audio-only' | 'audio-only,capped-1080p';
889+
890+
/**
891+
* The video quality controls the cost, quality, and available platform features
892+
* for the asset.
893+
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
894+
*/
895+
video_quality?: 'plus' | 'premium';
887896
}
888897
}
889898

0 commit comments

Comments
 (0)