Class Codec


  • public final class Codec
    extends Object
    A wrapper around MediaCodec.

    Provides a layer of abstraction for callers that need to interact with MediaCodec. This is done by simplifying the calls needed to queue and dequeue buffers, removing the need to track buffer indices and codec events.