Class ShadowMediaCodec.CodecConfig

  • Enclosing class:
    ShadowMediaCodec

    public static final class ShadowMediaCodec.CodecConfig
    extends java.lang.Object
    Configuration that can be supplied to ShadowMediaCodec to simulate actual encoding/decoding.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CodecConfig

        public CodecConfig​(int inputBufferSize,
                           int outputBufferSize,
                           ShadowMediaCodec.CodecConfig.Codec codec)
        Parameters:
        inputBufferSize - the size of the buffers offered as input to the codec.
        outputBufferSize - the size of the buffers offered as output from the codec.
        codec - should be able to map from input size -> output size