1. 01 Feb, 2018 39 commits
  2. 24 Jan, 2018 1 commit
    • Tell LoadControl whether playback can start · 23ff4efd
      - This gives LoadControl enough information in shouldContinueLoading
        to know whether returning false will result in a terminal non-playback
        state.
      - DefaultLoadControl will always return true when returning false will
        result in a terminal non-playback state, unless the target buffer size
        is exceeded. This can help to avoid getting stuck in the case that a
        MediaPeriod is providing samples from an unexpected starting time.
      - Make the terminal state actually terminal. Previously the player would
        end up in an indefinite buffering state. We now fail with an error.
      - Also remove the opportunity for LoadControl implementations to livelock
        playback. No sane LoadControl should simultaneously tell the player that
        it doesn't want to load anything and that it doesn't want to start
        playback. So this change removes the opportunity and starts playback in
        EPII instead in this case.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=183114797
      olly committed