VideoEncoderInit Class

The callbacks of a VideoEncoder (https://w3c.github.io/webcodecs/#dictdef-videoencoderinit).

public sealed class VideoEncoderInit

Constructors

NameDescription
VideoEncoderInit()

VideoEncoderInit()

  • 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 VideoEncoderInit()

No documentation is available.

Properties

NameDescription
ErrorGets the callback that receives the error that closes the encoder.
OutputGets the callback that receives the encoded chunks.

Gets the callback that receives the error that closes the encoder.

public required WebCodecsErrorCallback Error { get; init; }

Gets the callback that receives the encoded chunks.

public required EncodedVideoChunkOutputCallback Output { get; init; }