AudioEncoderInit Class
The callbacks of an AudioEncoder (https://w3c.github.io/webcodecs/#dictdef-audioencoderinit).
public sealed class AudioEncoderInitConstructors
| Name | Description |
|---|---|
| AudioEncoderInit() |
AudioEncoderInit()
- 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 AudioEncoderInit()No documentation is available.
Properties
| Name | Description |
|---|---|
| Error | Gets the callback that receives the error that closes the encoder. |
| Output | Gets the callback that receives the encoded chunks. |
Error
CodecConfigs.csGets the callback that receives the error that closes the encoder.
public required WebCodecsErrorCallback Error { get; init; }Property value
See also
Output
CodecConfigs.csGets the callback that receives the encoded chunks.
public required EncodedAudioChunkOutputCallback Output { get; init; }