1. 05 Dec, 2018 5 commits
    • Clean up requesting non-media segments in downloader implementations · 22a8aa31
      - Enable GZIP for media playlist + encryption key chunk requests in
        HLS, as we do during playback
      - Pass around DataSpecs rather than Uris. This will be needed for if
        we add manifest cacheKey support (which seems like a good idea for
        completeness, if nothing else)
      
      PiperOrigin-RevId: 224057139
      olly committed
    • Fix race condition that could cause downloader not to be canceled · f8b85739
      PiperOrigin-RevId: 224048465
      olly committed
    • Cache data with unknown length by default · 5bbe3ae7
      We currently default to not caching data if the content length
      cannot be resolved once the DataSource has been open. The
      reason for this is to avoid caching progressive live streams.
      By doing this we were accidentally not caching in other places
      where caching is possible, such as DASH/SS/HLS segments during
      playback if the server doesn't include a Content-Length header.
      Also HLS encryption key chunks, which were very unlikely to be
      cached during playback because we explicitly set FLAG_ALLOW_GZIP
      (which normally stops content length from resolving) without
      setting FLAG_ALLOW_CACHING_UNKNOWN_LENGTH.
      
      It seems like a good idea to flip the default at this point,
      and explicitly disable caching in the one case where we want
      that to happen.
      
      PiperOrigin-RevId: 223994110
      olly committed
    • Add no-op defaults to Video(Audio)RendererEventListener. · 976a21f1
      This is in line with how Player.EventListener and AnalyticsListener methods are
      defined and helps to only implement the callbacks needed.
      
      PiperOrigin-RevId: 223991262
      tonihei committed
    • Converge DownloadHelper implementations. · 8a566fb3
      Moving most of the logic to the base DownloaderHelper helps to implement track
      selection for downloading in a single place instead of multiple places.
      
      PiperOrigin-RevId: 223964869
      tonihei committed
  2. 04 Dec, 2018 6 commits
  3. 01 Dec, 2018 7 commits
  4. 30 Nov, 2018 2 commits
  5. 29 Nov, 2018 4 commits
  6. 28 Nov, 2018 2 commits
  7. 27 Nov, 2018 6 commits
  8. 26 Nov, 2018 8 commits