1. 25 Jan, 2023 26 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 5 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
    • Calculate SSAI window duration for live periods with unset duration. · 5def6e49
      We currently skip this calculation entirely, but it can be added by
      calculating the window duration using the wrapped window's duration
      and the provided AdPlaybackState.
      
      Issue: google/ExoPlayer#10764
      PiperOrigin-RevId: 488614767
      (cherry picked from commit 20151b99)
      tonihei committed
    • Reformat demo build.gradle file · 54d3dbf0
      PiperOrigin-RevId: 488376715
      (cherry picked from commit 30b73c85)
      ibaker committed