1. 02 Oct, 2019 5 commits
  2. 21 Sep, 2019 5 commits
  3. 20 Sep, 2019 14 commits
  4. 18 Sep, 2019 5 commits
  5. 17 Sep, 2019 5 commits
  6. 16 Sep, 2019 6 commits
    • Add default implementations for ExoMediaDrm.Provider · 6ae3e098
      Issue:#4721
      PiperOrigin-RevId: 269378440
      aquilescanta committed
    • Add DummyExoMediaDrm · 56302731
      Allows streamlining the way we handle unsupported DRM. In general, either:
      
      * The device does not support the CDM. For example, phones don't support
        PlayReady.
      * The device does not support the protection scheme. For example, API < 25
        devices do not support AES-CBC.
      
      Currently we handle both cases differently. A dummy ExoMediaDrm will allow
      the existence of dummy DefaultDrmSessionManagers.
      
      PiperOrigin-RevId: 269315687
      aquilescanta committed
    • Add ExoMediaDrm.Provider · 9face093
      Allows shared ownership of ExoMediaDrms. Shared ownership will
      allow users to pre-create ExoMediaDrms in their apps, as opposed
      to having the DrmSessionManager create the ExoMediaDrm.
      
      Issue:#4721
      PiperOrigin-RevId: 269305850
      aquilescanta committed
    • Fix playback speed in MediaSessionConnector · c5ceefd6
      The playback speed set in MediaSession's PlaybackStateCompat needs to be the
      actual speed at which the playback position progresses and not the user-defined
      target speed.
      
      This fixed a bug where the position advances although the player lost audio
      focus.
      
      Issue:#6203
      PiperOrigin-RevId: 269295249
      tonihei committed
    • Minor cleanup to Loader documentation · 73654e27
      PiperOrigin-RevId: 269092322
      olly committed
    • Add Player.isPlaying and Player.getPlaybackSuppressionReason · e784d2c5
      The player may suppress playback when waiting for audio focus even if the
      state==Player.READY. There is currently no getter or callback to obtain this
      piece of information for UI updates or analytics.
      
      Also, it's a important derived state to know whether the playback position is
      advancing. Add isPlaying and the corresponding callback to allow retrieving
      this information more easily.
      
      Issue:#6203
      PiperOrigin-RevId: 268921721
      tonihei committed