1. 15 Aug, 2022 3 commits
  2. 12 Aug, 2022 4 commits
    • MediaNotificationManager: handle playback ended · 19cc87c0
      When the player finishes playback and reaches the STATE_ENDED,
      the notification remains visible with a pause button and the
      service is kept in the foreground. This is a bug.
      
      With this change, when the player reaches the STATE_ENDED, the
      service is stopped from the foreground and a notification is shown
      with a play button. If the play icon is tapped, the player will restart
      playback of the last played item. Playing the last played item again
      is the existing behavior when play/pause commands are received from
      the legacy MediaSession (e.g. BT headset buttons).
      
      #minor-release
      
      Issue: google/ExoPlayer#112
      PiperOrigin-RevId: 467231509
      (cherry picked from commit 7a7e1eb2)
      christosts committed
    • Refactor RgbaMatrix to RgbMatrix. · 1076f3f7
      * Rename all Rgba instances to Rgb.
      * Remove alpha value from the RGBA Matrices and apply the 4x4 matrix
      only to the R, G, B channels.
      * Restore the alpha from the input unchanged.
      
      PiperOrigin-RevId: 467208888
      (cherry picked from commit 8760ee48)
      leonwind committed
    • Avoid spinning while queueing input to ExternalTextureProcessor. · 19dfbeae
      This change adds ExternalTextureManager which implements
      InputListener to only queue input frames to the
      ExternalTextureProcessor when it is ready to accept an input
      frame. This replaces the old retry-logic in GlEffectsFrameProcessor.
      
      Before this change, the retrying in GlEffectFrameProcessor wasted
      CPU time if input becomes available faster than the
      ExternalTextureProcessor can process it.
      
      PiperOrigin-RevId: 467177659
      (cherry picked from commit d7bf1ed2)
      Googler committed
    • Add additional build flags for ffmpeg on "arm64-v8a" · 61c43780
      From NDK 23.1.7779620 and above, the arm64-v8a ABI needs additional
      build flags to correctly link the ffmpeg libraries.
      
      Issue: google/ExoPlayer#9933
      PiperOrigin-RevId: 467161973
      (cherry picked from commit 5874327e)
      tonihei committed
  3. 11 Aug, 2022 1 commit
    • Add timeout for ad to load. · b19d1835
      In some cases, the IMA SDK fails to call the expected loadAd
      event to load the next ad to play. This is (potentially) the
      only remaining case where playback can get stuck due to missing
      calls from IMA as the player doesn't even have a MediaSource at
      this stage and is only waiting for IMA to provide the ad URL.
      
      We can reuse the existing adPreloadTimeoutMs that was added for
      a similar purpose (when preloading the first ad in the group).
      The JavaDoc matches this purpose as well and the default timeout
      is appropriate since we expect to get the loadAd call immediately.
      
      Issue: google/ExoPlayer#10510
      PiperOrigin-RevId: 466953617
      (cherry picked from commit b125d45a)
      tonihei committed
  4. 10 Aug, 2022 3 commits
  5. 09 Aug, 2022 6 commits
  6. 08 Aug, 2022 4 commits
  7. 05 Aug, 2022 8 commits
  8. 04 Aug, 2022 5 commits
  9. 03 Aug, 2022 6 commits