1. 09 Apr, 2021 13 commits
  2. 25 Feb, 2021 4 commits
  3. 24 Feb, 2021 7 commits
  4. 23 Feb, 2021 2 commits
  5. 22 Feb, 2021 8 commits
  6. 13 Feb, 2021 1 commit
  7. 12 Feb, 2021 5 commits
    • Fix RequiresApi annotation · 5807d2e0
      #minor-release
      
      PiperOrigin-RevId: 357273184
      olly committed
    • Bump version to 2.13.1 · 26371ae4
      PiperOrigin-RevId: 357219132
      olly committed
    • Fix available end time calculation for multi-period DASH live streams · 01f57c3c
      The available end time was accidentally substracted by the start time
      of the last period.
      
      To avoid similar time reference confusion in the future, also renaming
      many variables and methods to clearly reflect the time reference point.
      And to avoid constant conversion, the processManifest method also
      attempts to converge to time relative to the start of the window as
      quickly as possible.
      
      Issue: #8537
      PiperOrigin-RevId: 357001624
      tonihei committed
    • Check if keepalive is enabled before releasing sessions in DDSM.release · 295e8bac
      If keepalive is disabled the existing code over-eagerly releases
      DrmSession instances. This is arguably OK since a (Default)DrmSession
      should be released before its (Default)Manager is released
      (since the underlying MediaDrm instance might be released when the
      manager is released). And if all sessions are released before the
      manager is released then `sessions` is empty, so the loop is a no-op.
      
      Issue: #8576
      PiperOrigin-RevId: 356955308
      ibaker committed
    • Propagate DRM config when creating ad media sources · d48d59bd
      The `DrmConfiguration.sessionForClearTypes` property is often used
      to ensure a secure decoder is used for clear ads played in encrypted
      content. This is because some devices show black frames when switching
      decoders.
      
      Before this change the DRM config isn't propagated down when
      constructing the ad media source, meaning
      `DrmSessionManager.DRM_UNSUPPORTED` is always used, which will
      cause playback to switch from secure to clear decoder when transitioning
      to an ad break (ignoring the MediaItem `sessionForClearTypes` option.
      
      Issue: #8568
      
      PiperOrigin-RevId: 356951124
      ibaker committed