Properties
contentType
contentType:string
The contentType member represents the MIME type of the video track.
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-contenttype
width
width:number
The width represents the visible horizontal encoded pixels in the encoded video frames.
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-width
height
height:number
The height represents the visible vertical encoded pixels in the encoded video frames.
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-height
bitrate
bitrate:number
The bitrate member represents the average bitrate of the video track given in units of bits per second.
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-bitrate
framerate
framerate:number
The framerate member represents the framerate of the video track. The framerate is the number of frames
used in one second (frames per second). It is represented as a double.
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-framerate
hasAlphaChannel
hasAlphaChannel:boolean
The hasAlphaChannel member represents whether the video track contains alpha channel information.
If true, the encoded video stream can produce per-pixel alpha channel information when decoded.
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-hasalphachannel
hdrMetadataType?
optional hdrMetadataType: HdrMetadataType
If present, the hdrMetadataType member represents that the video track includes the specified HDR metadata type.
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-hdrmetadatatype
colorGamut?
optional colorGamut: ColorGamut
If present, the colorGamut member represents that the video track is delivered in the specified color gamut,
which describes a set of colors in which the content is intended to be displayed
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-colorgamut
transferFunction?
optional transferFunction: TransferFunction
If present, the transferFunction member represents that the video track requires the specified transfer function
to be understood by the UA. Transfer function describes the electro-optical algorithm supported by the rendering
capabilities of a user agent, independent of the display, to map the source colors in the decoded media into
the colors to be displayed
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-transferfunction
scalabilityMode?
optional scalabilityMode: string
If present, the scalabilityMode member represents the scalability mode.
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-scalabilitymode
spatialScalability?
optional spatialScalability: boolean
If present, the spatialScalability member represents the ability to do spatial prediction,
that is, using frames of a resolution different than the current resolution as dependencies.
https://w3c.github.io/media-capabilities/#dom-videoconfiguration-spatialscalability

