mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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
|
@Override
|
||||||
public void continueBuffering(long positionUs) {
|
public void continueBuffering(long positionUs) {
|
||||||
downstreamPositionUs = positionUs;
|
downstreamPositionUs = positionUs;
|
||||||
chunkSource.continueBuffering(positionUs);
|
chunkSource.continueBuffering();
|
||||||
if (!loader.isLoading()) {
|
if (!loader.isLoading()) {
|
||||||
maybeStartLoading();
|
maybeStartLoading();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -84,10 +84,8 @@ public interface ChunkSource {
|
||||||
* Indicates to the source that it should still be checking for updates to the stream.
|
* Indicates to the source that it should still be checking for updates to the stream.
|
||||||
* <p>
|
* <p>
|
||||||
* This method should only be called when the source is enabled.
|
* 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.
|
* Evaluates whether {@link MediaChunk}s should be removed from the back of the queue.
|
||||||
|
|
|
||||||
|
|
@ -159,7 +159,7 @@ public class DashChunkSource implements ChunkSource {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void continueBuffering(long playbackPositionUs) {
|
public void continueBuffering() {
|
||||||
if (!currentManifest.dynamic || fatalError != null) {
|
if (!currentManifest.dynamic || fatalError != null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,7 @@ public class SmoothStreamingChunkSource implements ChunkSource {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void continueBuffering(long playbackPositionUs) {
|
public void continueBuffering() {
|
||||||
if (!currentManifest.isLive || fatalError != null) {
|
if (!currentManifest.isLive || fatalError != null) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue