Interface VideoDecoderConfig
interface VideoDecoderConfig {
codec: string;
codedHeight?: number;
codedWidth?: number;
colorSpace?: VideoColorSpaceInit;
description?: AllowSharedBufferSource;
displayAspectHeight?: number;
displayAspectWidth?: number;
hardwareAcceleration?: HardwareAcceleration;
optimizeForLatency?: boolean;
}
codec: string;
codedHeight?: number;
codedWidth?: number;
colorSpace?: VideoColorSpaceInit;
description?: AllowSharedBufferSource;
displayAspectHeight?: number;
displayAspectWidth?: number;
hardwareAcceleration?: HardwareAcceleration;
optimizeForLatency?: boolean;
}
Properties
codec
codec: string
Optional
codedHeight
codedHeight ?: number
Optional
codedWidth
codedWidth ?: number
Optional
colorSpace
Optional
description
Optional
displayAspectHeight
displayAspectHeight ?: number
Optional
displayAspectWidth
displayAspectWidth ?: number
Optional
hardwareAcceleration
Optional
optimizeForLatency
optimizeForLatency ?: boolean