1. 09 Apr, 2021 21 commits
  2. 25 Feb, 2021 4 commits
  3. 24 Feb, 2021 7 commits
  4. 23 Feb, 2021 2 commits
  5. 22 Feb, 2021 6 commits
    • SilenceSampleStream.readData: Handle flags-only buffers · 18a94aa7
      The SampleStream.readData contract is that when reading a sample
      with a flags-only buffer, the buffer timestamp and flags should
      be set and the read position should not be advanced.
      
      #minor-release
      
      PiperOrigin-RevId: 357842130
      olly committed
    • Fix seeking to a non-zero position in a preloaded ad item · 625c830b
      `ImaAdsLoader` will preload the first ad of a subsequent media item, but the
      preloaded ad might not actually play because the user could seek to a non-zero
      position in that media item (which could trigger playback of a midroll, not the
      preroll). In this case, playback would get stuck because the midroll ad
      expected to play after the seek would never load, because the IMA SDK expected
      the preroll to play first.
      
      Fix this behavior by discarding the preloaded ad break. If there isn't a seek,
      the transition to the next media item is still seamless.
      
      #minor-release
      
      PiperOrigin-RevId: 357682510
      andrewlewis committed
    • Fix ad tag loader period index · 326ec967
      Previously it was safe to query the first period in the timeline, but
      now we support using the ads loader in concatenations we need to use
      the current period index instead.
      
      PiperOrigin-RevId: 357578003
      andrewlewis committed
    • Upgrade extensions NDK version · c6ed561d
      Issue:#8581
      PiperOrigin-RevId: 357563419
      kimvde committed
    • Don't clear audioSessionId when audio disabled · 5be7d4da
      Issue: #8585
      PiperOrigin-RevId: 357553237
      olly committed
    • Clarify/correct restrictions of AdsMediaSource. · 0ab9a219
      The source can be used in compositions (in fact, every source is
      automatically used in an internal composition when constructing the
      playlist), and there is not really a concept of top-level media source
      any more since the Player supports playlists.
      
      The actual restriction is that the content media source needs to have
      exactly one period to be able to create a SinglePeriodAdTimeline.
      
      #minor-release
      
      PiperOrigin-RevId: 357544191
      tonihei committed