VideoConfiguration Class
The video track of a configuration of MediaCapabilities (https://w3c.github.io/media-capabilities/#dictdef-videoconfiguration).
public sealed class VideoConfigurationConstructors
| Name | Description |
|---|---|
| VideoConfiguration() |
VideoConfiguration()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public VideoConfiguration()No documentation is available.
Properties
| Name | Description |
|---|---|
| Bitrate | Gets the bitrate in bits per second (the average of a constant bitrate, the maximum of a variable bitrate). |
| ColorGamut | Gets the color gamut of the track, or null. Only for the file and media-source decoding types. |
| ContentType | Gets the MIME type of the track: a container with the codecs parameter (e.g. video/webm; codecs="vp8"), or an RTP payload format for webrtc (e.g. video/VP8). |
| Framerate | Gets the number of frames per second: a finite positive number. |
| HasAlphaChannel | Gets whether the frames have an alpha channel, or null when it is not specified. |
| HdrMetadataType | Gets the type of the HDR metadata of the track, or null. Only for the file and media-source decoding types. |
| Height | Gets the height of the frames in pixels. |
| ScalabilityMode | Gets the scalability mode of WebRTC (e.g. L1T2), or null. Only for the webrtc encoding type. |
| SpatialScalability | Gets whether the decoder must decode the spatial scalability modes, or null. Only for the decoding types. |
| TransferFunction | Gets the transfer function of the track, or null. Only for the file and media-source decoding types. |
| Width | Gets the width of the frames in pixels. |
Gets the bitrate in bits per second (the average of a constant bitrate, the maximum of a variable bitrate).
public required ulong Bitrate { get; init; }ColorGamut
MediaCapabilitiesConfigurations.csGets the color gamut of the track, or null. Only for the file and media-source decoding types.
public ColorGamut? ColorGamut { get; init; }Property value
See also
ContentType
MediaCapabilitiesConfigurations.csGets the MIME type of the track: a container with the codecs parameter (e.g. video/webm; codecs="vp8"), or an RTP payload format for webrtc (e.g. video/VP8).
public required string ContentType { get; init; }Property value
See also
Framerate
MediaCapabilitiesConfigurations.csGets the number of frames per second: a finite positive number.
public required double Framerate { get; init; }Property value
See also
HasAlphaChannel
MediaCapabilitiesConfigurations.csGets whether the frames have an alpha channel, or null when it is not specified.
public bool? HasAlphaChannel { get; init; }Property value
See also
HdrMetadataType
MediaCapabilitiesConfigurations.csGets the type of the HDR metadata of the track, or null. Only for the file and media-source decoding types.
public HdrMetadataType? HdrMetadataType { get; init; }Gets the height of the frames in pixels.
public required uint Height { get; init; }ScalabilityMode
MediaCapabilitiesConfigurations.csGets the scalability mode of WebRTC (e.g. L1T2), or null. Only for the webrtc encoding type.
public string? ScalabilityMode { get; init; }Property value
See also
SpatialScalability
MediaCapabilitiesConfigurations.csGets whether the decoder must decode the spatial scalability modes, or null. Only for the decoding types.
public bool? SpatialScalability { get; init; }Property value
See also
TransferFunction
MediaCapabilitiesConfigurations.csGets the transfer function of the track, or null. Only for the file and media-source decoding types.
public TransferFunction? TransferFunction { get; init; }Gets the width of the frames in pixels.
public required uint Width { get; init; }