Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r1.0.0-alpha03 #52

Merged
merged 20 commits into from
Mar 15, 2022
Merged

r1.0.0-alpha03 #52

merged 20 commits into from
Mar 15, 2022

Commits on Mar 8, 2022

  1. Update gradle wrapper to 7.4

    #minor-release
    
    PiperOrigin-RevId: 430454251
    (cherry picked from commit e8096f0)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    c5b0469 View commit details
    Browse the repository at this point in the history
  2. Update the gradle wrapper scripts

    Generated by running:
    ./gradlew wrapper --gradle-version 7.4 --distribution-type all
    
    #minor-release
    
    PiperOrigin-RevId: 430666317
    (cherry picked from commit 92af42b)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    7125a33 View commit details
    Browse the repository at this point in the history
  3. FMP4: Fix output of mixed v0 and v1 emsg samples

    Issue: google/ExoPlayer#9996
    #minor-release
    PiperOrigin-RevId: 430773329
    (cherry picked from commit 5a304fd)
    ojw28 authored and icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    d107004 View commit details
    Browse the repository at this point in the history
  4. Remove unecessary git checkout command from README

    The command is not needed, because the specified branch is already the
    default branch on GitHub so will be checked out by clone automatically.
    
    PiperOrigin-RevId: 430910549
    (cherry picked from commit d342215)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    16819ed View commit details
    Browse the repository at this point in the history
  5. Update media3 docs with details of new release branch

    PiperOrigin-RevId: 430911179
    (cherry picked from commit 7d38936)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    a8fd90e View commit details
    Browse the repository at this point in the history
  6. Remove duplicate media3 release note and fix formatting

    PiperOrigin-RevId: 430946606
    (cherry picked from commit 5d0c7b9)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    ca50bee View commit details
    Browse the repository at this point in the history
  7. Remove exoplayer-only release note from media3

    There's no media3 equivalent to the
    `com.google.android.exoplayer:exoplayer` dependency.
    
    PiperOrigin-RevId: 430955037
    (cherry picked from commit 8ae74ad)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    bc1bcab View commit details
    Browse the repository at this point in the history
  8. Drop ads for which we don't have metadata when joining a live stream

    When a live stream is joined while ads are already playing, the LOADED event is
    missed and we don't have ad information for those ads in the ad group that are
    before the ad index at which we joined. This way we can clip the duration when we
    receive the LOADED event for the last ad in the group. This fixes the problem of
    the playback controls being hidden when content resumes after the ad group.
    
    #minor-release
    
    PiperOrigin-RevId: 431269627
    (cherry picked from commit 8e8c590)
    marcbaechinger authored and icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    6f5206c View commit details
    Browse the repository at this point in the history
  9. Cross-reference the corresponding media3 and exoplayer releases

    PiperOrigin-RevId: 431376857
    (cherry picked from commit 3e9dfaa)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    405795c View commit details
    Browse the repository at this point in the history
  10. Accept page index 0 for getChildren() in MediaLibraryServiceLegacyStub

    This is consistent with the new MediaSessionStub that accepts page index 0
    and the JavaDoc of legacy and new service callbacks.
    
    Issue: #32
    PiperOrigin-RevId: 431390454
    (cherry picked from commit 9821dd2)
    marcbaechinger authored and icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    291c95d View commit details
    Browse the repository at this point in the history
  11. Merge pull request #10011 from tonykwok:dev-v2

    PiperOrigin-RevId: 431395359
    (cherry picked from commit c961ea1)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    49e6fa8 View commit details
    Browse the repository at this point in the history
  12. More 2.17.0 release note fixes

    #minor-release
    
    PiperOrigin-RevId: 432154626
    (cherry picked from commit 986928a)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    8e386ef View commit details
    Browse the repository at this point in the history
  13. Deprecate SingleSampleMediaSource.Factory#setTrackId

    This method is no longer needed since we added SubtitleConfiguration#id
    in 59d98b9.
    
    Issue: google/ExoPlayer#10016
    
    #minor-release
    
    PiperOrigin-RevId: 432169262
    (cherry picked from commit 232f2d8)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    d20160d View commit details
    Browse the repository at this point in the history
  14. Fix E-AC3 output capability check without sample rate

    #minor-release
    
    PiperOrigin-RevId: 432189509
    (cherry picked from commit a73a9e9)
    andrewlewis authored and icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    7afaf97 View commit details
    Browse the repository at this point in the history
  15. Remove CountDownLatch from MockPlayer

    The MockPlayer has a single CountDownLatch field and multiple boolean
    flags that track if a player method was called. Upon calling the methods
    the latch count. Tests set the latch count to match exactly with the
    number of expected player interactions then block the test thread until
    the latch reaches zero and assert the respective method flags are true.
    
    This is subject to false positives. If the underneath implementation
    changes and call more player method, then the test thread will unblock
    as soon as a certain number of interactions is performed, which may be
    less than what the test expected originally. However, the test may stil
    pass if the player thread had enough time to update the expected method
    flag.
    
    This change removes the single CountDownLatch and the boolean flags and
    instead it adds APIs to query the MockPlayer if a method has been called
    and await until a method is called. Internally, the MockPlayer has a
    ConditionVariable per method.
    
    PiperOrigin-RevId: 432399077
    (cherry picked from commit 45d5121)
    christosts authored and icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    25004f8 View commit details
    Browse the repository at this point in the history
  16. Remove media3 PlayerView javadoc references to overriding layouts

    These should have been removed as part of 1391b7c, since we no
    longer officially support overriding the layout file for this class.
    
    This class is known as StyledPlayerView in exoplayer2.
    
    #minor-release
    
    PiperOrigin-RevId: 432411322
    (cherry picked from commit a353b33)
    icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    50550ab View commit details
    Browse the repository at this point in the history
  17. Misc cleanup in session tests

    PiperOrigin-RevId: 432430345
    (cherry picked from commit 8e98187)
    christosts authored and icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    4456a86 View commit details
    Browse the repository at this point in the history
  18. Start playback from notification

    This change fixes two bugs where MediaSessionServe shows a notification
    with the Play icon but tapping it will not start playback:
    1. After playback ends: we need to seek to the beginning of the media
       item.
    2. After adding media items to the player but not starting playback:
       We need to call Player.prepare() too.
    
    PiperOrigin-RevId: 432469953
    (cherry picked from commit 1023b9d)
    christosts authored and icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    c56c6a2 View commit details
    Browse the repository at this point in the history
  19. Ignore MetadataRenderer when evaluating SSAI period transitions

    This makes the reading period advance early as expected at the end of an ad
    period. Before this change the reading position of the metadata renderer
    prevented advancing the period until metadata arrived after the start position of
    the following period. Only then the reading position of the metadata renderer
    is updated and beyond the start position of the following period which is a
    condition to advance the reading period.
    
    Because transitioning to the next period is a virtual transition and the
    SharedMediaPeriod keeps reading from the same underlying sample streams, the
    metadata renderer can safely be ignored for this check.
    
    #minor-release
    
    PiperOrigin-RevId: 432646037
    (cherry picked from commit c7c7517)
    marcbaechinger authored and icbaker committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    dc83fae View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2022

  1. Version bump to exoplayer:2.17.1 and media3:1.0.0-alpha03

    #minor-release
    
    PiperOrigin-RevId: 433467068
    (cherry picked from commit af6f6bb)
    icbaker committed Mar 9, 2022
    Configuration menu
    Copy the full SHA
    5832493 View commit details
    Browse the repository at this point in the history