1. 12 May, 2023 2 commits
  2. 11 May, 2023 19 commits
  3. 08 May, 2023 12 commits
  4. 04 May, 2023 1 commit
    • Fix demo app UnsafeOptInUsageError lint errors · 5dbbff49
      This change:
      * Adds missing `@OptIn` annotation to demo app's `ErrorMessageProvider`
      * Switches from `Util.SDK_INT` to `Build.VERSION.SDK_INT` in
        `SampleChooserActivity` (`PlayerActivity` is already using this).
      
      This code hasn't changed recently, and it doesn't fail on the `release`
      branch, but it failed when I checked the `main` branch just now - so I
      assume lint has updated to detect more cases where unstable APIs are
      being used without opt-in. I suspect the difference is due to different
      Android Gradle Plugin versions between the branches.
      
      #minor-release
      
      PiperOrigin-RevId: 529111669
      ibaker committed
  5. 03 May, 2023 6 commits
    • Effect: Fix concurrent access null pointer exception · 073807ae
      A list was being accessed from one thread when it wasn't guaranteed to be empty.
      
      PiperOrigin-RevId: 529102141
      huangdarwin committed
    • Update translations · 6c294ac8
      PiperOrigin-RevId: 529069808
      tofunmi committed
    • Reselect track when renderer capabilities change · cdcc7012
      * Implement RendererCapabilities.Listener in DefaultTrackSelector.
      * Add new methods TrackSelector.invalidateForRendererCapabilitiesChange and TrackSelector.InvalidateListener.onRendererCapabilitiesChanged.
      * Add new field allowInvalidateSelectionsOnRendererCapabilitiesChange to DefaultTrackSelector.Parameter to allow opt-in of the renderer capabilities detection feature.
      * Add logics of triggering track reselection when renderer capabilities change.
      
      PiperOrigin-RevId: 529067433
      tianyifeng committed
    • Update InternetConnection check to skip check when uri scheme is null · 44843304
      When we created androidTests, in the past, they always had a URI pointing to a resource, therefore we always had a URI scheme. With texture input, this will not longer be the case (EditedMediaItems's may have URI.EMPTY, which have a null scheme) so we need to check for this so tests don't falsely fail.
      
      PiperOrigin-RevId: 528848411
      tofunmi committed
    • Skip writing 0 sized samples in Mp4Muxer · 497c51b9
      The existing logic to drop (actually fail on) 0 sized samples seems no op if
      if 2 out of 10 samples are of size 0.
      
      Checked same scenario with MediaMuxer where
      1. If input file has 300 samples.
      2. Make every 5th sample as an empty byte buffer.
      3. Output file is generated without error.
      4. Output file has 240 samples.
      5. Exoplayer is able to play output file (blurry).
      
      The new change is in line with MediaMuxer behaviour.
      
      PiperOrigin-RevId: 528798046
      sheenachhabra committed
    • Add `DataSource` contract test checking scheme case insensitivity · adb99da8
      Systems accepting URIs should treat schemes as case-insensitive
      ([RFC 3986 Section 3.1](https://www.rfc-editor.org/rfc/rfc3986#section-3.1)):
      >  An implementation should accept uppercase letters as equivalent to
      >  lowercase in scheme names (e.g., allow "HTTP" as well as "http") for
      >  the sake of robustness
      
      PiperOrigin-RevId: 528735287
      ibaker committed