1. 27 May, 2021 10 commits
  2. 26 May, 2021 14 commits
  3. 21 May, 2021 9 commits
  4. 20 May, 2021 7 commits
    • Don't allow spliced-in preload chunks. · 08259f89
      Preload chunks may still need to be discarded. However, we don't
      currently support discarding spliced-in chunks. Thus, we need to
      avoid loadng a preload chunk that needs to be spliced-in.
      
      Issue: #8937
      
      #minor-release
      
      PiperOrigin-RevId: 374851661
      tonihei committed
    • Gradle cleanup #2 · 20fcb428
      PiperOrigin-RevId: 374847609
      olly committed
    • Gradle cleanup #1 · 45fde20b
      Colocate lines that refer to the same module, to reduce probability of
      accidentally removing one line and not the other (which has happened
      more than once :)).
      
      PiperOrigin-RevId: 374847082
      olly committed
    • Add ServerSideInsertedAdsMediaSource. · d08303d0
      This media source wraps another source and publishes a Timeline with
      ads. The created MediaPeriods for ad and content are mapped back to
      the original stream to allow seamless playback.
      
      PiperOrigin-RevId: 374836091
      tonihei committed
    • Fix reading position at stream transition. · 1a6f36d4
      PiperOrigin-RevId: 374836046
      tonihei committed
    • Make SSAI player logic more targeted. · 8eb990e4
      There is a newly added condition to help advancing between SSAI ads
      and content in case the ad group position or ad duration changed. The
      condition currently doesn't check directly whether it's a SSAI
      transition but relies on indrect signals. Making this more direct
      helps to understand the purpose and avoid unintentional bugs where
      this condition would apply in other cases too.
      
      In addition, we need to exclude TextRenderer from the check because
      its read position doesn't correspond to the actual decode position
      since the decoding happens in the renderer itself (b/181312195).
      
      PiperOrigin-RevId: 374835985
      tonihei committed
    • Avoid recalculation of whether a MediaPeriod is part of a SSAI stream · 5ff4211c
      We can instead just save this information in MediaPeriodInfo, similar
      to how we store whether the MediaPeriod is last in the timeline etc.
      
      PiperOrigin-RevId: 374835918
      tonihei committed