1. 25 Jul, 2024 1 commit
  2. 20 May, 2024 1 commit
  3. 04 Apr, 2024 3 commits
  4. 05 Mar, 2024 1 commit
  5. 04 Jan, 2024 1 commit
  6. 13 Dec, 2023 1 commit
    • Clean-up multi-line strings in YAML issue templates · 5d4b7066
      * If we don't want any newlines in the result, it's better to use `>`
      * If we want newlines (e.g. for markdown) then we should ensure the
        string **only** contains the newlines we want, because GitHub (unlike
        other markdown renderers) preserves single newlines in the output,
        leading to ugly newlines dictated by the source.
      
      Also remove a markdown-style link that isn't renderered as markdown.
      
      PiperOrigin-RevId: 590309749
      (cherry picked from commit e3bb79fe7a2cdd72bd24318ed182b2d8cf5dafb9)
      ibaker committed
  7. 12 Dec, 2023 2 commits
  8. 29 Sep, 2023 1 commit
  9. 21 Aug, 2023 2 commits
  10. 14 Aug, 2023 3 commits
  11. 09 Aug, 2023 3 commits
    • Fix Gradle Lint with @RequiresApi and SDK version · 863b443a
      Gradle Lint doesn't recognise `checkState` assertion and TargetApi should only ever be used for suppressing a bug in Android Lint. Hence, we keep @RequiresApi and add an if-statement explicitly. Also, fixes >26 to >=26 for the version check.
      
      PiperOrigin-RevId: 555144577
      (cherry picked from commit 5720b6197479f3cd54b82d2e1e3ec9b50397e267)
      jbibik committed
    • Bump IMA SDK version to 3.30.3 · 33ad3c23
      #minor-change
      
      PiperOrigin-RevId: 555130308
      (cherry picked from commit afccebb8fcdd0722ed183ac6ad80ae9786141efc)
      rohks committed
    • Verify source is not released before updating ad playback state · b8e1a0b4
      Updates to the ad playback state are posted on the main handler,
      so they may arrive after the source has already been released
      (=the internal MediaSource is null). This can cause NPEs.
      
      PiperOrigin-RevId: 555102426
      (cherry picked from commit eb0e7aced70d16aec0f6b67c0bb5c290ab87be54)
      tonihei committed
  12. 10 Aug, 2023 1 commit
  13. 08 Aug, 2023 1 commit
    • Add field object type (ot) · 7f5c6765
      Added this CMCD-Object field to Common Media Client Data (CMCD) logging.
      
      #minor-release
      
      PiperOrigin-RevId: 554843305
      (cherry picked from commit f11106cbfe806f02e3bdb162cb62af2672911960)
      rohks committed
  14. 07 Aug, 2023 3 commits
  15. 01 Aug, 2023 2 commits
  16. 28 Jul, 2023 1 commit
    • Fix parsing of H.265 sequence parameter sets · 5875d4fe
      Fix short term reference picture list parsing. Before this change, `deltaPocS0`
      was derived by adding one to the value of the syntax element
      `delta_poc_s0_minus1`, but (maybe surprising) the specification actually says
      that `DeltaPocS0[stRpsIdx][i]` should be assigned the negation
      `-(delta_poc_s0_minus1[i] + 1)` on the first iteration, then that value added
      to the previous value on previous iterations. See equations (7-67) to (7-70) in
      the 2021-08 version of the H.265/HEVC specification.
      
      Also read the number of long term reference pictures once rather than on every
      loop iteration (subsection 7.3.2.2.1).
      
      PiperOrigin-RevId: 551852999
      (cherry picked from commit 2fe67266a1d13c69e09c37b0aadf6015bb37e7b7)
      andrewlewis committed
  17. 26 Jul, 2023 1 commit
  18. 24 Jul, 2023 1 commit
  19. 20 Jul, 2023 1 commit
    • Tighten the demo app's handling of `DrmInitData` for downloads · 96083199
      This code is Widevine specific. `OfflineLicenseHelper.downloadLicense`
      requires the passed `Format` to have a `DrmInitData.SchemeData` with
      Widevine UUID and non-null `data` field. The demo app tries to check
      this in advance (to avoid an exception later), but its checks are
      looser than those made by `OfflineLicenseHelper`. This change tightens
      the checks to match.
      
      Issue: androidx/media#512
      PiperOrigin-RevId: 549587506
      (cherry picked from commit b7988e2c856ca05e28d862c8a7c7739402d4d40d)
      ibaker committed
  20. 19 Jul, 2023 1 commit
    • Add field measured throughput (mtp) · 6c6d50d3
      Updated `ExoTrackSelection` to provide the most recent bitrate estimate, enabling the inclusion of measured throughput (mtp) as a CMCD-Request field in Common Media Client Data (CMCD) logging.
      
      Additionally, made changes to the `checkArgument` methods in `CmcdLog` to prevent the use of default values in certain cases.
      
      #minor-release
      
      PiperOrigin-RevId: 549369529
      (cherry picked from commit 79696182226b10dce2ac2756f317d217a8bcf23c)
      rohks committed
  21. 18 Jul, 2023 1 commit
  22. 17 Jul, 2023 1 commit
    • Fix race condition in clipped sample streams · 7feb2089
      The streams return end-of-input if they read no samples, but know that
      they are fully buffered to at least the clipped end time. This helps to
      detect the end of stream even if there are no new buffers after the end
      of the clip (e.g. for sparse metadata tracks).
      
      The race condition occurs because the buffered position is evaluated
      after reading the sample. So between reading "no sample" and checking
      the buffered position, the source may have loaded arbitrary amounts
      of data. This may lead to a situation where the source has not read
      all samples, reads NOTHING_READ (because the queue is empty) and then
      immediately returns end-of-stream (because the buffered position
      jumped forward), causing all remaining samples in the stream to be
      skipped. This can fixed by moving the buffered position check to
      before reading the sample, so that it never exceeds the buffered
      position at the time of reading "no sample".
      
      #minor-release
      
      PiperOrigin-RevId: 548646464
      (cherry picked from commit b3a7ff91d6f4c3454085fe28903f42ede3d03ac1)
      tonihei committed
  23. 14 Jul, 2023 3 commits
  24. 13 Jul, 2023 1 commit
  25. 12 Jul, 2023 1 commit
  26. 10 Jul, 2023 1 commit
  27. 06 Jul, 2023 1 commit