1. 11 Mar, 2020 7 commits
    • Add masking for playWhenReady. · 949bbcfb
      Masking is needed as soon as updates to a value can happen both in EPI
      and EPII. PlayWhenReady is currently not masked because all updates
      happen in EPI only. As soon as we allow pausing at certain times
      (e.g. end of a stream), playWhenReady changes may be triggered by EPII
      as well and that's why we need masking.
      
      To know when the value actually changed, we also need to update the
      internal state to include whether playback is supppressed.
      
      PiperOrigin-RevId: 300284613
      tonihei committed
    • Add show/hideScrubber to DefaultTimeBar · f82bc244
      PiperOrigin-RevId: 300249371
      olly committed
    • Ensure seek and prepare positions never exceed period duration. · c6e8e24a
      Exceeding the period duration may mean that that playback transitions
      to another item even if the player is currently paused.
      
      PiperOrigin-RevId: 300133655
      tonihei committed
    • Remove test-specific ActionSchedule tags · bb33d568
      There is no need for that, updating them is often forgotten and
      takes up too much line space. Replace by a single TAG per test class.
      
      PiperOrigin-RevId: 300113072
      tonihei committed
    • Miscellaneous cleanup related to recent changes · 0d230d51
      PiperOrigin-RevId: 300067561
      olly committed
    • Fix SubtitleView.ViewType IntDef · b83041a6
      PiperOrigin-RevId: 300067502
      olly committed
    • replace extension with mime type · a5f0eb1e
      This change uses mime types in a functionally equivalent way to how we used the extension hint so far.
      
      Using a mimeType instead of the extension has some advantages. Most importantly mimeTypes are used by the cast SDK with which we want to achieve interoperability in the cast extension.
      
      Using a mimeType instead of the extension hint further appears to be a bit more clear (which might be opinionated). Further mime types are a well known and widely used concept to identify file type on the internet and it provides asterix based generalizations (audio/*, */*) which could express the media type OTHER that ExoPlayer is using internally (no usage of asterix required so far though).
      
      PiperOrigin-RevId: 300058945
      bachinger committed
  2. 10 Mar, 2020 33 commits