Class DefaultMediaCodecAdapterFactory

    • Constructor Detail

      • DefaultMediaCodecAdapterFactory

        public DefaultMediaCodecAdapterFactory()
        Deprecated.
    • Method Detail

      • forceEnableAsynchronous

        @CanIgnoreReturnValue
        public DefaultMediaCodecAdapterFactory forceEnableAsynchronous()
        Deprecated.
        Forces this factory to always create AsynchronousMediaCodecAdapter instances, provided the device API level is >= 23. For devices with API level < 23, the factory will create SynchronousMediaCodecAdapters.
        Returns:
        This factory, for convenience.
      • experimentalSetSynchronizeCodecInteractionsWithQueueingEnabled

        public void experimentalSetSynchronizeCodecInteractionsWithQueueingEnabled​(boolean enabled)
        Deprecated.
        Enable synchronizing codec interactions with asynchronous buffer queueing.

        This method is experimental, and will be renamed or removed in a future release.

        Parameters:
        enabled - Whether codec interactions will be synchronized with asynchronous buffer queueing.