1. 07 Jun, 2022 7 commits
    • Rename `DefaultTrackSelector.ParametersBuilder` to `Parameters.Builder` · 247c2d84
      We generally nest the `Builder` for `Foo` inside `Foo`. In this case,
      there's already a `DefaultTrackSelector.Parameters.Builder` type visible
      to a developer, it just happens to be the 'common'
      `TrackSelectorParameters.Builder`, so using it is a bit weird. For
      example this code snippet doesn't compile because
      `DefaultTrackSelector.Parameters.Builder#build()` returns
      `TrackSelectionParameters`. This CL fixes that problem and the code
      snippet now compiles.
      
      ```java
      DefaultTrackSelector.Parameters params =
         new DefaultTrackSelector.Parameters.Builder(context).build()
      ```
      
      #minor-release
      
      PiperOrigin-RevId: 453215702
      ibaker committed
    • Ignore flaky test · 8d326312
      PiperOrigin-RevId: 453168843
      christosts committed
    • De-flake test in MediaSessionPermissionTest · 34ca3bc3
      This change makes MediaSessionPermissionTest.removeMediaItems()
      non-flaky. This is a quick fix though it'd be good to refactor this
      test file.
      
      PiperOrigin-RevId: 453162764
      christosts committed
    • Add interface for async texture processors. · 63436390
      Implementations of this interface will be able to drop or add frames,
      change timestamps, accept multiple input frames before producing
      output, and process frames on their own background thread.
      
      A default implementation of this interface will be added to SingleFrameGlTextureProcessor in a follow-up.
      
      PiperOrigin-RevId: 453159835
      hschlueter committed
    • Filter bogus AndroidX Media jar file when creating javadoc · bd9bc0f6
      #minor-release
      
      PiperOrigin-RevId: 452282128
      bachinger committed
    • Fix `HiddenTypedefConstant` Metalava error on `PlaybackException` · 39674bec
      This is done by removing the `@FieldNumber` IntDef completely. It's not
      really adding much value anyway, because it's `open` so there's no real
      enforcement to prevent passing 'incorrect' values.
      
      #minor-release
      
      PiperOrigin-RevId: 452108972
      ibaker committed
    • Add async error listener to transformer to avoid exception wrapping. · 35b5147e
      This internal listener avoids wrapping the TransformationExceptions
      in PlaybackExceptions that are handled via the Player.Listener and
      is also used for FrameProcessingExceptions which already avoided
      the PlaybackException layer previously.
      
      This listener will also be useful in follow-ups for encoder-related
      TransformationExceptions that are thrown in the SurfaceProvider that
      will be called on the GL thread.
      
      PiperOrigin-RevId: 452074575
      hschlueter committed
  2. 31 May, 2022 8 commits
  3. 30 May, 2022 25 commits