1. 04 Feb, 2021 6 commits
    • Fall back to AVC/HEVC for Dolby Vision levels 10-13 · 045048f6
      Before, the level was set to null in this case.
      MediaCodecUtil.getCodecProfileAndLevel() was therefore returning null
      and the fallback to AVC/HEVC was not enabled in MediaCodecVideoRenderer.
      
      Issue:#8530
      PiperOrigin-RevId: 355574499
      kimvde committed
    • Suppress SwitchIntDef warning where it makes sense · 95d9060a
      In both cases it's deliberate that all excluded constants should use
      the default branch. Furthermore, there are quite a lot of excluded
      constants missing, so it's probably better to suppress the warning
      than to include them all.
      
      #minor-release
      
      PiperOrigin-RevId: 355426749
      olly committed
    • Fix gradle conflict resolution for Cronet tests · 6bcc6791
      This resolves the following constraint resolution issue when running our release script:
      
      > Cannot find a version of 'org.chromium.net:cronet-api' that satisfies the version constraints:
          Dependency path 'com.google.android.exoplayer:extension-cronet:unspecified' --> 'com.google.android.gms:play-services-cronet:17.0.0' --> 'org.chromium.net:cronet-api:72.3626.96'
          Constraint path 'com.google.android.exoplayer:extension-cronet:unspecified' --> 'org.chromium.net:cronet-api:{strictly 72.3626.96}' because of the following reason: debugRuntimeClasspath uses version 72.3626.96
          Dependency path 'com.google.android.exoplayer:extension-cronet:unspecified' --> 'org.chromium.net:cronet-embedded:76.3809.111' --> 'org.chromium.net:cronet-common:76.3809.111' --> 'org.chromium.net:cronet-api:76.3809.111'
      
      #minor-release
      
      PiperOrigin-RevId: 355414968
      olly committed
    • Add Transformer "Getting started" page · b879869a
      #minor-release
      
      PiperOrigin-RevId: 355381610
      kimvde committed
  2. 03 Feb, 2021 4 commits
  3. 02 Feb, 2021 1 commit
  4. 01 Feb, 2021 17 commits
  5. 26 Jan, 2021 1 commit
  6. 25 Jan, 2021 11 commits
    • Bump version to 2.13.0 · 724ded16
      PiperOrigin-RevId: 353655249
      ibaker committed
    • Use maximum supported channel count for Atmos from API 29 · e696a7c6
      #minor-release
      
      PiperOrigin-RevId: 353649545
      andrewlewis committed
    • OkHttp/Rtmp extensions: Remove dependency on core · 3fcc14b3
      They only require common. This allows their use for non-playback networking
      without requiring the user to depend on the whole of core. I will also make
      the same change for Cronet, although this needs a little more work.
      
      PiperOrigin-RevId: 353649388
      olly committed
    • Replace non-inclusively named constant · a1f06987
      Issue: #7565
      PiperOrigin-RevId: 353649187
      olly committed
    • Move Player in common · b0258e71
      This is the last CL to move Player in common.
      
      #player-to-common
      
      PiperOrigin-RevId: 353642347
      krocard committed
    • Split mutations method out of TrackSelection · ec437350
      `TrackSelection` had mutation methods which were to be called only
      internally by ExoPlayer components but were exposed in the
      public `Player` interface.
      
      The mutation methods have been moved out of `TrackSelection`
      to a new class `ExoTrackSelection`.
      
      Current track related read-only method have also been moved out,
      because they are actually something quite unclear.
      Even for a single item playlist, it's the track being buffered rather
      than the track being played, which is unclear.
      But when you have a playlist it starts to get really confusing,
      because if the next item is being buffered, then it's actually
      the last track to be buffered in the currently playing item.
      As a final aside, the implementations don't do proper thread synchronization
      to ensure visibility of updated state by the calling thread.
      
      Exposing those mutable methods in the public `Player` interface
      was problematic because they leaking internal concepts of `ExoPlayer`.
      This is also required to minimize the `Player` interface for long term
      stability.
      
      `ExoTrackSelection` is a subclass of `TrackSelection`.
      This is not ideal as an `TrackSelection` implementation could
      break the current immutability.
      This was done in order for this refactor to be simpler.
      A future patch will fully split the two classes.
      
      All `MediaPeriod` and `Sources` had to be updated to use the new
      `TrackSelection` dynamic aspect class name.
      An alternative would have been to break ExoPlayer's public API, keeping
      `TrackSelection` as the dynamic aspect name, and calling the public static
      aspect class `TrackSelectionState` or similar.
      Nevertheless, while it would have impacted less files, it would have
      many more small apps and casual users of ExoPlayer.
      
      #player-to-common
      
      PiperOrigin-RevId: 353637924
      krocard committed
    • Rename DUMMY_MEDIA_ID and related cleanup · b069a567
      Issue: #7565
      PiperOrigin-RevId: 353616594
      olly committed
    • Upgrade Robolectric to 4.5 (from 4.5-alpha-3) · 5433b83a
      PiperOrigin-RevId: 353615959
      ibaker committed
    • Fix bug in CronetDataSource · 3b08a792
      This change fixes a bug in CronetDataSource when it makes a Range
      request but the server does not support Range requests and returns the
      entire resource. Before the fix, the CronetDataSource would read more
      bytes than the intended range.
      
      PiperOrigin-RevId: 353614477
      christosts committed
    • Some more language fixes · dc7fde1f
      Issue: #7565
      PiperOrigin-RevId: 353613493
      olly committed
    • Migrate CronetDataSourceFactory to DefaultHttpDataSource.Factory · bfc73698
      We normally wouldn't do this kind of thing, given CronetDataSourceFactory is
      deprecated, but it's needed to change the cronet --> core dependency to a
      cronet --> common dependency.
      
      PiperOrigin-RevId: 353609198
      olly committed