mirror of
https://github.com/samsonjs/media.git
synced 2026-03-28 09:55:48 +00:00
Remove unused parameter from ChunkSource.continueBuffering.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120691990
This commit is contained in:
parent
ab615682b5
commit
c60470339b
4 changed files with 4 additions and 6 deletions
|
|
@ -207,7 +207,7 @@ public class ChunkSampleSource implements SampleSource, TrackStream, Loader.Call
|
|||
@Override
|
||||
public void continueBuffering(long positionUs) {
|
||||
downstreamPositionUs = positionUs;
|
||||
chunkSource.continueBuffering(positionUs);
|
||||
chunkSource.continueBuffering();
|
||||
if (!loader.isLoading()) {
|
||||
maybeStartLoading();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -84,10 +84,8 @@ public interface ChunkSource {
|
|||
* Indicates to the source that it should still be checking for updates to the stream.
|
||||
* <p>
|
||||
* This method should only be called when the source is enabled.
|
||||
*
|
||||
* @param playbackPositionUs The current playback position.
|
||||
*/
|
||||
void continueBuffering(long playbackPositionUs);
|
||||
void continueBuffering();
|
||||
|
||||
/**
|
||||
* Evaluates whether {@link MediaChunk}s should be removed from the back of the queue.
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ public class DashChunkSource implements ChunkSource {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void continueBuffering(long playbackPositionUs) {
|
||||
public void continueBuffering() {
|
||||
if (!currentManifest.dynamic || fatalError != null) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ public class SmoothStreamingChunkSource implements ChunkSource {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void continueBuffering(long playbackPositionUs) {
|
||||
public void continueBuffering() {
|
||||
if (!currentManifest.isLive || fatalError != null) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue