mirror of
https://github.com/samsonjs/media.git
synced 2026-04-05 11:15:46 +00:00
Reinstate buffer discard for SmoothStreaming
Now we have a ChunkSampleStream.discardBuffer, we need to call it from SsMediaPeriod as well as for the DASH case. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175675427
This commit is contained in:
parent
b30b786350
commit
22b95032b3
1 changed files with 3 additions and 1 deletions
|
|
@ -139,7 +139,9 @@ import java.util.ArrayList;
|
|||
|
||||
@Override
|
||||
public void discardBuffer(long positionUs) {
|
||||
// Do nothing.
|
||||
for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) {
|
||||
sampleStream.discardBuffer(positionUs);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in a new issue