1. 04 Feb, 2021 1 commit
    • Fix gradle conflict resolution for Cronet tests · e98f5f34
      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
  2. 03 Feb, 2021 7 commits
  3. 02 Feb, 2021 2 commits
    • Fix ProGuard configuration for 2.13 · b1920f3a
      Note: We only support pro-guard on a best effort basis,
      and developers should use R8 whenever possible.
      
      #minor-release
      
      PiperOrigin-RevId: 355129695
      olly committed
    • Modernize bandwidth profile simulator. · 05fddff8
      Main improvement is to switch away from ExoPlayerTestRunner and to
      split out the waiting component so that the same class can be used
      from Robolectric tests in the future.
      
      The only functional difference is that that BufferLengthLogAction
      is removed completely because the data isn't used downstream and the
      method of collecting this data is a bit arbitrary.
      
      PiperOrigin-RevId: 355117850
      tonihei committed
  4. 01 Feb, 2021 16 commits
  5. 26 Jan, 2021 13 commits
    • Add color decoding tests to SsaDecoderTest, remove SubStation Alpha colors" from… · 28a3921a
      Add color decoding tests to SsaDecoderTest, remove SubStation Alpha colors" from media.exolist.json.
      Arnold Szabo committed
    • Remove randomness from adaptive bitrate tests. · 9b3014dd
      - The order of sample stream (and thus the order in which loads are
        triggered) currently depends on a Set and thus on the hash codes
        of the objects that change with every run. Changing to a List solves
        this problem.
      - The FakeAdaptiveDataSet directly created a static Random (with random
        seed) to compute the variation of chunk sizes. Changing this to an
        injected Random object that can always be initialized with the same
        seed also removed this randomness from the tests.
      
      PiperOrigin-RevId: 353878661
      tonihei committed
    • Make FakeClock fully deterministic. · 2e52c0b8
      This is achieved by only triggering one message at a time. After
      triggering a message we send another to ourselves to know when the
      following message can be triggered.
      
      Other required changes:
       - The messages need to be sorted correctly (by time and creation order)
       - To prevent deadlocks when one thread is waiting for another,
         we need to add new method to Clock to indicate that the current
         thread is about to wait. This then allows us to trigger messages
         from other threads in FakeClock.
       - AnalyticsCollectorTest needed some adjustments:
         - onTimelineChanged now deterministically arrives after the initial
           timline is already known, so some of the period information changes
           from window only to full period info.
         - The playlistOperations test suffers from a bug that the first frame
           is rendered too early and that's why we now get additional events.
      
      PiperOrigin-RevId: 353877832
      tonihei committed
    • Fix FakeClock remove messages behaviour. · a318e56d
      We currently only remove messages that have already been sent
      to the actual Handler, not the pending ones that are only kept
      in the FakeClock. Fix this by also removing matching messages
      from the FakeClock list.
      
      PiperOrigin-RevId: 353877049
      tonihei committed
    • Handle all messages in FakeClock. · 89ea38d1
      Currently only delayed messages are handled. Change this to handling
      all messages so that we have more control over their execution order.
      
      This requires adding a new wrapper type for the Message to support
      the obtainMessage + sendToTarget use case.
      
      PiperOrigin-RevId: 353876557
      tonihei committed
    • Remove FakeClock.sleep. · 06fe0900
      This functionality isn't used and there is no point in supporting
      it.
      
      PiperOrigin-RevId: 353876038
      tonihei committed
    • Fix parsing of Vorbis codec private · 0d85958a
      - Fix comparison between a byte and 0xFF to avoid conversion of 0xFF to
        byte and to int again (due to numeric promotion).
      - Fix addition of int and byte with most significant bit set. The byte
        was incorrectly promoted to an int negative value.
      
      Issue:#8496
      #minor-release
      PiperOrigin-RevId: 353865751
      kimvde committed
    • Add toBundle/fromBundle to AudioAttributes and DeviceInfo · 3e8e3737
      PiperOrigin-RevId: 353864181
      gyumin committed
    • Add @RequiresApi(29) to RandomizedMp3Decoder · f69e4be4
      This is needed for the MediaFormat#getInteger calls in onConfigured().
      
      The end-to-end playback tests this is used for have to run on API 29
      anyway (because of ShadowMediaCodec and ShadowMediaCodecList
      functionality).
      
      #minor-release
      
      PiperOrigin-RevId: 353858622
      ibaker committed
    • BandwidthMeter minor javadoc fix · ccf031f9
      PiperOrigin-RevId: 353858581
      christosts committed
    • Elaborate method comments in transformer audio renderer · b1df2f4e
      #minor-release
      
      PiperOrigin-RevId: 353856211
      andrewlewis committed
    • Remove duplicate release notes · 3c17aeb7
      These changes are all in 2.12.3, they shouldn't be in the 2.13.0
      section.
      
      #minor-release
      
      PiperOrigin-RevId: 353855677
      ibaker committed
  6. 25 Jan, 2021 1 commit