mirror of
https://github.com/samsonjs/media.git
synced 2026-03-25 09:25:53 +00:00
Some tests in ExoPlayerTest issue commands to the player from the test thread while the player is actively playing media (playWhenReady=true). Due to the indeterminate time taken to enqueue the commands on the playback thread, they may arrive when the player already proceeded to another window or finished playback. To ensure the tests are always deterministic, this change pauses playback in the tests where this may happen before issuing the commands. Also, for tests where we need to wait for a new window before issuing the next command, a new action is added which allows to play until a specified position. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=182535096 |
||
|---|---|---|
| .. | ||
| src/main | ||
| build.gradle | ||