Codec
Base class for asynchronous Android media encoding and decoding.
Inheritors
Types
Properties
The android.media.MediaCodec instance.
Specifies the input mime type.
Indicates whether the receiver is running.
The listener for codec buffer and format callbacks, or null.
The processing mode: MODE_ENCODE or MODE_DECODE. Set before starting the codec.
Additional media format options applied during configure.
Specifies the output mime type.
The surface for a video media codec.
Functions
Installs callbacks and configures the codec with its media format, options, surface, and processing mode.
Releases the Android codec, callback thread, and cached output format.
Tells the receiver to start running.
Tells the receiver to stop running.
Runs a short, nonblocking operation only while instance is the running codec. Use after waiting for input outside the codec's lifetime lock.