1. 19 Jul, 2017 5 commits
    • Make isReady of FakeRenderer more realistic. · 958f12e2
      Currently the renderer is only ready when the input stream has more data to
      read. Actual renderers, however, are also ready as long as their output buffer
      contains some audio/video samples to play, roughly corresponding to the fact
      that the playback time hasn't reached the timestamp of the last buffered
      sample. Added a isready flag to FakeRenderer to simulate this behaviour.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=162343074
      tonihei committed
    • Make MediaSessionConnector depend only on ExoPlayer · 4fd516e3
      This is possible to do without passing the player instance to
      custom action providers through their constructors, given we
      no longer have a MuteActionProvider. Passing the player through
      the constructors generalizes better to such cases, however, so
      feels like the right thing to do.
      
      It's also possible to use generics and keep passing the player
      instance via the CustomActionProvider methods, but this adds
      some unnecessary complexity.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=162333043
      olly committed
    • Fix chunk count bug in FakeAdaptiveDataSet. · 1d046d5d
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=162331762
      tonihei committed
    • Allow to extend FakeDataSource. · f77e96bc
      Extensions can perform additional actions whenever data is read (e.g. sleeping
      to simulate bandwidth restrictions).
      
      Additionally, the factory class can also be overwritten and allows to set the
      FakeDataSet later in case it is not available right away.
      
      Moreover, this class now also uses a transfer listener similar to all real data sources.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=162326000
      tonihei committed
    • Fix content position for postroll ads · c28a2a41
      The position returned by getContentPosition() could be C.TIME_END_OF_SOURCE.
      Fix the content position stored in MediaPeriodInfos for postroll ads to be the
      duration of the containing period.
      
      -------------
      Created by MOE: https://github.com/google/moe
      MOE_MIGRATED_REVID=162322339
      andrewlewis committed
  2. 17 Jul, 2017 11 commits
  3. 15 Jul, 2017 10 commits
  4. 12 Jul, 2017 14 commits