mirror of
https://github.com/samsonjs/media.git
synced 2026-04-01 10:35:48 +00:00
Add test for seeking composition playback
PiperOrigin-RevId: 630184355
This commit is contained in:
parent
cb4b2ea55c
commit
d59f1cb6e3
1 changed files with 8 additions and 0 deletions
|
|
@ -118,6 +118,14 @@ public final class PlayerTestListener implements Player.Listener, AnalyticsListe
|
|||
this.decoderCounters = decoderCounters;
|
||||
}
|
||||
|
||||
public void resetStatus() {
|
||||
playerIdle.close();
|
||||
playerReady.close();
|
||||
playerEnded.close();
|
||||
firstFrameRendered.close();
|
||||
playbackException.set(null);
|
||||
}
|
||||
|
||||
// Internal methods
|
||||
|
||||
private void waitOrThrow(ConditionVariable conditionVariable)
|
||||
|
|
|
|||
Loading…
Reference in a new issue