Disable the muxer watchdog if all tracks have ended.
PiperOrigin-RevId: 484512661
This commit is contained in:
parent
3069d8130b
commit
bcc2fe4007
@ -195,6 +195,9 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
|
||||
*/
|
||||
public void endTrack(@C.TrackType int trackType) {
|
||||
trackTypeToIndex.delete(trackType);
|
||||
if (trackTypeToIndex.size() == 0) {
|
||||
abortScheduledExecutorService.shutdownNow();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user