VideoDecoderInit Class
The callbacks of a VideoDecoder (https://w3c.github.io/webcodecs/#dictdef-videodecoderinit).
public sealed class VideoDecoderInitConstructors
| Name | Description |
|---|---|
| VideoDecoderInit() |
VideoDecoderInit()
- 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 VideoDecoderInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Error | Gets the callback that receives the error that closes the decoder. |
| Output | Gets the callback that receives the decoded frames. |
Error
CodecConfigs.csGets the callback that receives the error that closes the decoder.
public required WebCodecsErrorCallback Error { get; init; }Property value
See also
Output
CodecConfigs.csGets the callback that receives the decoded frames.
public required VideoFrameOutputCallback Output { get; init; }