1. 15 Jan, 2019 3 commits
    • Add buffer flag for last sample to improve buffered position calculation. · b97b35e2
      The buffered position is currently based on the mimimum queued timestamp of
      all AV tracks. If the tracks have unequal lengths, one track continues loading
      without bounds as the "buffered position" will always stay at the shorter
      track's duration.
      
      This change adds an optional buffer flag to mark the last sample of the
      stream. This is set in the Mp4Extractor only so far. ExtractorMediaSource
      uses this flag to ignore AV streams in the buffered duration calculation if
      they already finished loading.
      
      Issue:#3670
      PiperOrigin-RevId: 229359899
      tonihei committed
    • Remove messages on release of ConcatenatingMediaSource. · fcda01eb
      That was previously handled by the player. But since we switched to Handler
      messages instead of player messages, we should do that manually.
      
      PiperOrigin-RevId: 229341747
      tonihei committed
    • Do not select a track in AdaptiveTrackSelection constructor. · 1900e941
      This is not necessary as the track selection needs to be updated with
      updateSelectedTrack anyway. It's also error-prone as the selection code
      calls into a protected method of a not fully initialized class.
      
      PiperOrigin-RevId: 229331669
      tonihei committed
  2. 14 Jan, 2019 11 commits
  3. 08 Jan, 2019 26 commits