1. 17 Jun, 2020 1 commit
    • Add configure() in MediaCodecAdapter · 41d4a132
      The correct order of initializing the MediaCodec should be (as per
      documentation
      https://developer.android.com/reference/android/media/MediaCodec#initialization)
      
      "create -> setCallback -> configure -> start"
      
      but the MediaCodecRenderer currently does
      
      "create -> configure -> setCallback -> start"
      
      MediaCodec implementations did not complain about this so far, but the
      wrong sequence does not work with the MediaCodec in block mode (new mode
      in Android R) and also the ShadowMediaCodec won't operate in
      asynchronous mode otherwise. To initialize the MediaCodec in the correct
      order, this commit adds configure() in the MediaCodecAdapter so the
      MediaCodecRenderer can do:
      
      adapter.configure(); // sets the callback and then configures the codec
      adapter.start();     // starts the codec
      
      PiperOrigin-RevId: 316127680
      christosts committed
  2. 12 Jun, 2020 5 commits
  3. 11 Jun, 2020 25 commits
  4. 09 Jun, 2020 6 commits
  5. 08 Jun, 2020 3 commits