1. 23 Jun, 2020 5 commits
    • Merge pull request #7517 from google/dev-v2-r2.11.6 · 1a5b304b
      r2.11.6
      Oliver Woodman committed
    • Fix resuming postrolls · 67c99e1d
      Postrolls would be skipped because the period duration wasn't know at
      the moment of resuming playback after backgrounding, so the position
      wouldn't be resolved to resume the postroll ad.
      
      We have the period duration stored in the AdPlaybackState, so we can
      use that directly.
      
      Issue: #7518
      PiperOrigin-RevId: 317830418
      andrewlewis committed
    • Fix handling of postrolls preloading · df10fdf7
      The IMA SDK now preloads postrolls which is great as we no longer need
      to rely on detecting buffering at the end of the stream to trigger
      playing postrolls.
      
      Add in the required logic to detect the period transition to playing
      the postroll.
      
      Issue: #7518
      PiperOrigin-RevId: 317610682
      andrewlewis committed
    • Fix incorrect rounding of ad cue points · 0ffe7470
      We currently get float ad cue points from IMA, but store these as
      longs in microseconds. The cast from double to long would take the
      floor of the value, which could lead to stored ad cue points being
      off-by-one. Use Math.round to avoid this.
      
      ImaAdsLoader also has code to map a double AdPodInfo position (which
      should match a cue point) onto the corresponding ad group index by
      searching the long ad cue points. Match the calculation used where we
      map float cue points, including narrowing the position to a float
      first to avoid regressions if IMA SDK behavior changes to represent
      positions in more than float precision later, and also remove the
      requirement that the ad positions match exactly as a defensive
      measure.
      
      PiperOrigin-RevId: 317607017
      andrewlewis committed
    • Bump version to 2.11.6 · f39a65cb
      PiperOrigin-RevId: 316949571
      olly committed
  2. 17 Jun, 2020 14 commits
  3. 09 Jun, 2020 1 commit
  4. 05 Jun, 2020 4 commits
  5. 04 Jun, 2020 1 commit
  6. 03 Jun, 2020 3 commits
  7. 01 Jun, 2020 7 commits
  8. 29 May, 2020 5 commits