Skip to content

VideoDecoderConfig

[<Interface>]
type VideoDecoderConfig =
    abstract member codec: string with get, set
    abstract member codedHeight: float option with get, set
    abstract member codedWidth: float option with get, set
    abstract member colorSpace: VideoColorSpaceInit option with get, set
    abstract member description: AllowSharedBufferSource option with get, set
    abstract member displayAspectHeight: float option with get, set
    abstract member displayAspectWidth: float option with get, set
    abstract member hardwareAcceleration: HardwareAcceleration option with get, set
    abstract member optimizeForLatency: bool option with get, set
    static member Create (codec: string, ?codedHeight: float, ?codedWidth: float, ?colorSpace: VideoColorSpaceInit, ?description: AllowSharedBufferSource, ?displayAspectHeight: float, ?displayAspectWidth: float, ?hardwareAcceleration: HardwareAcceleration, ?optimizeForLatency: bool) : VideoDecoderConfig
AssemblyGlutinum.Web
Inheritsobj \| null
Attributes[<AllowNullLiteral>] [<Interface>]

Properties

abstract member codec: string with get, set
abstract member codedHeight: float option with get, set
abstract member codedWidth: float option with get, set
abstract member colorSpace: VideoColorSpaceInit option with get, set
abstract member description: AllowSharedBufferSource option with get, set
abstract member displayAspectHeight: float option with get, set
abstract member displayAspectWidth: float option with get, set
abstract member hardwareAcceleration: HardwareAcceleration option with get, set
abstract member optimizeForLatency: bool option with get, set

Methods

static member Create (codec: string, ?codedHeight: float, ?codedWidth: float, ?colorSpace: VideoColorSpaceInit, ?description: AllowSharedBufferSource, ?displayAspectHeight: float, ?displayAspectWidth: float, ?hardwareAcceleration: HardwareAcceleration, ?optimizeForLatency: bool) : VideoDecoderConfig