Class DefaultVideoCodecAdapterFactory

java.lang.Object
com.castlabs.android.player.DefaultVideoCodecAdapterFactory
All Implemented Interfaces:
com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory

public final class DefaultVideoCodecAdapterFactory extends Object implements com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory
  • Field Summary

    Fields inherited from interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory

    DEFAULT
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.android.exoplayer2.mediacodec.MediaCodecAdapter
    createAdapter(com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration configuration)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DefaultVideoCodecAdapterFactory

      public DefaultVideoCodecAdapterFactory()
  • Method Details

    • createAdapter

      @NonNull public com.google.android.exoplayer2.mediacodec.MediaCodecAdapter createAdapter(@NonNull com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Configuration configuration) throws IOException
      Specified by:
      createAdapter in interface com.google.android.exoplayer2.mediacodec.MediaCodecAdapter.Factory
      Throws:
      IOException