1. 16 Mar, 2022 2 commits
  2. 15 Mar, 2022 5 commits
  3. 14 Mar, 2022 3 commits
  4. 10 Mar, 2022 1 commit
  5. 24 Mar, 2022 5 commits
  6. 15 Mar, 2022 2 commits
  7. 09 Mar, 2022 19 commits
  8. 08 Mar, 2022 3 commits
    • Ignore MetadataRenderer when evaluating SSAI period transitions · dc83fae1
      This makes the reading period advance early as expected at the end of an ad
      period. Before this change the reading position of the metadata renderer
      prevented advancing the period until metadata arrived after the start position of
      the following period. Only then the reading position of the metadata renderer
      is updated and beyond the start position of the following period which is a
      condition to advance the reading period.
      
      Because transitioning to the next period is a virtual transition and the
      SharedMediaPeriod keeps reading from the same underlying sample streams, the
      metadata renderer can safely be ignored for this check.
      
      #minor-release
      
      PiperOrigin-RevId: 432646037
      (cherry picked from commit c7c75173)
      bachinger committed
    • Start playback from notification · c56c6a2e
      This change fixes two bugs where MediaSessionServe shows a notification
      with the Play icon but tapping it will not start playback:
      1. After playback ends: we need to seek to the beginning of the media
         item.
      2. After adding media items to the player but not starting playback:
         We need to call Player.prepare() too.
      
      PiperOrigin-RevId: 432469953
      (cherry picked from commit 1023b9d5)
      christosts committed
    • Misc cleanup in session tests · 4456a865
      PiperOrigin-RevId: 432430345
      (cherry picked from commit 8e98187a)
      christosts committed