Skip to content

chore: replace encoding tiers with video quality levels #475

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
Aug 29, 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-603174c84ed6d06302f3843b95c5281fa79df1e7428eb8d475525fb27fa48b38.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/mux%2Fmux-b018de0ba821f7870683b15c853475a86435bd65d3eaf5bb024dff79f6b7027f.yml
12 changes: 6 additions & 6 deletions src/resources/video/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export interface Asset {
* @deprecated: This field is deprecated. Please use `video_quality` instead. The
* encoding tier informs the cost, quality, and available platform features for the
* asset. By default the `smart` encoding tier is used.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
encoding_tier: 'smart' | 'baseline';

Expand Down Expand Up @@ -390,7 +390,7 @@ export interface Asset {
* The video quality controls the cost, quality, and available platform features
* for the asset. By default the `plus` video quality is used. This field replaces
* the deprecated `encoding_tier` value.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
video_quality?: 'basic' | 'plus';
}
Expand Down Expand Up @@ -585,7 +585,7 @@ export interface AssetOptions {
* @deprecated: This field is deprecated. Please use `video_quality` instead. The
* encoding tier informs the cost, quality, and available platform features for the
* asset. By default the `smart` encoding tier is used.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
encoding_tier?: 'smart' | 'baseline';

Expand Down Expand Up @@ -682,7 +682,7 @@ export interface AssetOptions {
* The video quality controls the cost, quality, and available platform features
* for the asset. By default the `plus` video quality is used. This field replaces
* the deprecated `encoding_tier` value.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
video_quality?: 'basic' | 'plus';
}
Expand Down Expand Up @@ -1324,7 +1324,7 @@ export interface AssetCreateParams {
* This field is deprecated. Please use `video_quality` instead. The encoding tier
* informs the cost, quality, and available platform features for the asset. By
* default the `smart` encoding tier is used.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
encoding_tier?: 'smart' | 'baseline';

Expand Down Expand Up @@ -1411,7 +1411,7 @@ export interface AssetCreateParams {
* The video quality controls the cost, quality, and available platform features
* for the asset. By default the `plus` video quality is used. This field replaces
* the deprecated `encoding_tier` value.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
video_quality?: 'basic' | 'plus';
}
Expand Down
4 changes: 2 additions & 2 deletions src/resources/video/delivery-usage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface DeliveryReport {
/**
* @deprecated: This field is deprecated. Please use `asset_video_quality` instead.
* The encoding tier that the asset was ingested at.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
asset_encoding_tier: 'smart' | 'baseline';

Expand Down Expand Up @@ -80,7 +80,7 @@ export interface DeliveryReport {
/**
* The video quality that the asset was ingested at. This field replaces
* `asset_encoding_tier`.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
asset_video_quality?: 'basic' | 'plus';

Expand Down
4 changes: 2 additions & 2 deletions src/resources/webhooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export namespace VideoDeliveryHighTrafficWebhookEvent {
/**
* @deprecated: This field is deprecated. Please use `asset_video_quality` instead.
* The encoding tier that the asset was ingested at.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
asset_encoding_tier?: 'smart' | 'baseline';

Expand All @@ -412,7 +412,7 @@ export namespace VideoDeliveryHighTrafficWebhookEvent {
/**
* The video quality that the asset was ingested at. This field replaces
* `asset_encoding_tier`.
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-encoding-tiers)
* [See the video quality guide for more details.](https://docs.mux.com/guides/use-video-quality-levels)
*/
asset_video_quality?: 'basic' | 'plus';

Expand Down