MediaCodecImplementation Class
The base class of the codec implementations of a MediaCodecBackend. An operation that throws closes the codec: a DomException is given to the error callback as is, another exception as an EncodingError.
public abstract class MediaCodecImplementation : IDisposable- Implements
Constructors
| Name | Description |
|---|---|
| MediaCodecImplementation() |
MediaCodecImplementation()
protected MediaCodecImplementation()No documentation is available.
Methods
| Name | Description |
|---|---|
| Dispose() | Releases the codec. |
| Dispose(bool) | Releases the codec. |
| Reset() | Discards the pending outputs and the state of the previous inputs (reset(), or a key chunk is required after flush()). The default implementation does nothing. |
Dispose overloads
Dispose()
MediaCodecBackend.csReleases the codec.
public void Dispose()Dispose(bool)
MediaCodecBackend.csReleases the codec.
Parameters
disposingbool- Whether the method is called by
MediaCodecImplementation.Dispose.
Reset()
MediaCodecBackend.csDiscards the pending outputs and the state of the previous inputs (reset(), or a key chunk is required after flush()). The default implementation does nothing.
public virtual void Reset()