mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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;
|
this.decoderCounters = decoderCounters;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void resetStatus() {
|
||||||
|
playerIdle.close();
|
||||||
|
playerReady.close();
|
||||||
|
playerEnded.close();
|
||||||
|
firstFrameRendered.close();
|
||||||
|
playbackException.set(null);
|
||||||
|
}
|
||||||
|
|
||||||
// Internal methods
|
// Internal methods
|
||||||
|
|
||||||
private void waitOrThrow(ConditionVariable conditionVariable)
|
private void waitOrThrow(ConditionVariable conditionVariable)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue