Skip to content

Commit

Permalink
fix: add resolution_tier and max_resolution_tier (#314)
Browse files Browse the repository at this point in the history
Fixes #313: #313
  • Loading branch information
mmvsk authored Sep 25, 2023
1 parent 0bf2be2 commit ff1586b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/video/domain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export interface CreateAssetParams {
test?: boolean;
master_access?: AssetMasterAccess;
per_title_encode?: boolean;
max_resolution_tier?: '1080p' | '1440p' | '2160p';
}

export interface UpdateAssetParams {
Expand Down Expand Up @@ -149,6 +150,8 @@ export interface Asset {
created_at: string;
status: 'preparing' | 'ready' | 'errored';
duration?: number;
resolution_tier: 'audio-only' | '720p' | '1080p' | '1440p' | '2160p';
/** @deprecated Please use `resolution_tier` instead */
max_stored_resolution?: 'Audio only' | 'SD' | 'HD' | 'FHD' | 'UHD';
max_stored_frame_rate?: number;
aspect_ratio?: string;
Expand Down Expand Up @@ -237,6 +240,7 @@ export interface DeliveryReport {
asset_state: string;
asset_duration: number;
delivered_seconds: number;
asset_resolution_tier: 'audio-only' | '720p' | '1080p' | '1440p' | '2160p';
}

export interface SimulcastTargetParams {
Expand Down

0 comments on commit ff1586b

Please sign in to comment.