Interface VideoInfo

interface VideoInfo {
    displayHeight: number;
    displayWidth: number;
    duration: number;
    height: number;
    rotation: number;
    shouldSwap: boolean;
    width: number;
}

Properties

displayHeight: number

display height, after apply rotation

displayWidth: number

display width, after apply rotation

duration: number

millseconds

height: number

raw height, before apply rotation

rotation: number

degress, 0-360, counterclockwise

shouldSwap: boolean

check if rotation = 90 | 270

width: number

raw width, before apply rotation