@@ -192,6 +192,8 @@ export class Assets extends APIResource {
192
192
}
193
193
194
194
/**
195
+ * This method has been deprecated. Please see the
196
+ * [Static Rendition API](https://www.mux.com/docs/guides/enable-static-mp4-renditions#after-asset-creation).
195
197
* Allows you to add or remove mp4 support for assets that were created without it.
196
198
* The values supported are `capped-1080p`, `audio-only`,
197
199
* `audio-only,capped-1080p`, `standard`(deprecated), and `none`. `none` means that
@@ -240,8 +242,6 @@ export interface Asset {
240
242
*/
241
243
max_resolution_tier : '1080p' | '1440p' | '2160p' ;
242
244
243
- mp4_support : 'standard' | 'none' | 'capped-1080p' | 'audio-only' | 'audio-only,capped-1080p' ;
244
-
245
245
/**
246
246
* The status of the asset.
247
247
*/
@@ -304,6 +304,11 @@ export interface Asset {
304
304
*/
305
305
max_stored_resolution ?: 'Audio only' | 'SD' | 'HD' | 'FHD' | 'UHD' ;
306
306
307
+ /**
308
+ * @deprecated
309
+ */
310
+ mp4_support ?: 'standard' | 'none' | 'capped-1080p' | 'audio-only' | 'audio-only,capped-1080p' ;
311
+
307
312
/**
308
313
* An object containing one or more reasons the input file is non-standard. See
309
314
* [the guide on minimizing processing time](https://docs.mux.com/guides/minimize-processing-time)
@@ -683,6 +688,10 @@ export interface AssetOptions {
683
688
max_resolution_tier ?: '1080p' | '1440p' | '2160p' ;
684
689
685
690
/**
691
+ * @deprecated Deprecated. See the
692
+ * [Static Renditions API](https://www.mux.com/docs/guides/enable-static-mp4-renditions)
693
+ * for the updated API.
694
+ *
686
695
* Specify what level of support for mp4 playback. You may not enable both
687
696
* `mp4_support` and `static_renditions`.
688
697
*
@@ -745,7 +754,7 @@ export interface AssetOptions {
745
754
746
755
/**
747
756
* An array of static renditions to create for this asset. You may not enable both
748
- * `static_renditions` and `mp4_support`
757
+ * `static_renditions` and `mp4_support (the latter being deprecated) `
749
758
*/
750
759
static_renditions ?: Array < AssetOptions . StaticRendition > ;
751
760
@@ -1442,6 +1451,10 @@ export interface AssetCreateParams {
1442
1451
max_resolution_tier ?: '1080p' | '1440p' | '2160p' ;
1443
1452
1444
1453
/**
1454
+ * Deprecated. See the
1455
+ * [Static Renditions API](https://www.mux.com/docs/guides/enable-static-mp4-renditions)
1456
+ * for the updated API.
1457
+ *
1445
1458
* Specify what level of support for mp4 playback. You may not enable both
1446
1459
* `mp4_support` and `static_renditions`.
1447
1460
*
@@ -1501,7 +1514,7 @@ export interface AssetCreateParams {
1501
1514
1502
1515
/**
1503
1516
* An array of static renditions to create for this asset. You may not enable both
1504
- * `static_renditions` and `mp4_support`
1517
+ * `static_renditions` and `mp4_support (the latter being deprecated) `
1505
1518
*/
1506
1519
static_renditions ?: Array < AssetCreateParams . StaticRendition > ;
1507
1520
0 commit comments