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

NameDescription
MediaCodecImplementation()

MediaCodecImplementation()

protected MediaCodecImplementation()

No documentation is available.

Methods

NameDescription
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

Releases the codec.

public void Dispose()

Releases the codec.

protected virtual void Dispose(bool disposing)
Parameters
disposing bool
Whether the method is called by MediaCodecImplementation.Dispose.

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.

public virtual void Reset()