1. 25 Jan, 2023 28 commits
  2. 05 Jan, 2023 1 commit
  3. 24 Nov, 2022 1 commit
  4. 23 Nov, 2022 2 commits
  5. 22 Nov, 2022 5 commits
  6. 17 Nov, 2022 3 commits
    • Rename getVideoSurfaceSize to getSurfaceSize · 6108c053
      This better matches the callback name (onSurfaceSizeChanged) and
      probably cause less confusion with getVideoSize.
      
      PiperOrigin-RevId: 488669786
      (cherry picked from commit 8438daca)
      tonihei committed
    • Set valid channel masks for 8 and 12 channels on all Android versions · db2ab52f
      Util.getAudioTrackChannelConfig() maps a channel count to a
      channel mask that is passed to AudioTrack. The method expected that
      playback of 8-channel audio is possible from Android 5.1 and playback of
      12-channel audio is only possible from Android 12L. However, there is no
      restriction on the upper number of channels that can be passed to the
      AudioTrack. google/ExoPlayer#10701 is an example where the audio decoder
      outputs 12 channels on an Android 10.
      
      This change removes the restrictions for 8 and 12 channels. Note, we still
      do not support playback of arbitrary number of channels as it would require
      further changes to DefaultAudioSink.
      
      #minor-release
      
      Issue: google/ExoPlayer#10701
      PiperOrigin-RevId: 488659831
      (cherry picked from commit 1b24e6fd)
      christosts committed
    • Mark iterationFinished when triggering release event. · 88804ddf
      When we currently trigger the iteration finished event during the
      release, we don't mark the event as triggered. This means that
      someone can trigger another release from within the callback,
      which then tries to resend the event.
      
      Issue: google/ExoPlayer#10758
      
      #minor-release
      
      PiperOrigin-RevId: 488645089
      (cherry picked from commit 3e5103a3)
      tonihei committed