mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Change experimental method naming of setReleaseTimeoutMs.
PiperOrigin-RevId: 325795609
This commit is contained in:
parent
78424efc90
commit
63faf51c7e
3 changed files with 5 additions and 5 deletions
|
|
@ -227,7 +227,7 @@ public interface ExoPlayer extends Player {
|
||||||
*
|
*
|
||||||
* @param timeoutMs The time limit in milliseconds, or 0 for no limit.
|
* @param timeoutMs The time limit in milliseconds, or 0 for no limit.
|
||||||
*/
|
*/
|
||||||
public Builder experimental_setReleaseTimeoutMs(long timeoutMs) {
|
public Builder experimentalSetReleaseTimeoutMs(long timeoutMs) {
|
||||||
releaseTimeoutMs = timeoutMs;
|
releaseTimeoutMs = timeoutMs;
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
@ -410,7 +410,7 @@ public interface ExoPlayer extends Player {
|
||||||
looper);
|
looper);
|
||||||
|
|
||||||
if (releaseTimeoutMs > 0) {
|
if (releaseTimeoutMs > 0) {
|
||||||
player.experimental_setReleaseTimeoutMs(releaseTimeoutMs);
|
player.experimentalSetReleaseTimeoutMs(releaseTimeoutMs);
|
||||||
}
|
}
|
||||||
if (!throwWhenStuckBuffering) {
|
if (!throwWhenStuckBuffering) {
|
||||||
player.experimentalDisableThrowWhenStuckBuffering();
|
player.experimentalDisableThrowWhenStuckBuffering();
|
||||||
|
|
|
||||||
|
|
@ -195,8 +195,8 @@ import java.util.concurrent.TimeoutException;
|
||||||
*
|
*
|
||||||
* @param timeoutMs The time limit in milliseconds, or 0 for no limit.
|
* @param timeoutMs The time limit in milliseconds, or 0 for no limit.
|
||||||
*/
|
*/
|
||||||
public void experimental_setReleaseTimeoutMs(long timeoutMs) {
|
public void experimentalSetReleaseTimeoutMs(long timeoutMs) {
|
||||||
internalPlayer.experimental_setReleaseTimeoutMs(timeoutMs);
|
internalPlayer.experimentalSetReleaseTimeoutMs(timeoutMs);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -254,7 +254,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
||||||
handler = clock.createHandler(internalPlaybackThread.getLooper(), this);
|
handler = clock.createHandler(internalPlaybackThread.getLooper(), this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void experimental_setReleaseTimeoutMs(long releaseTimeoutMs) {
|
public void experimentalSetReleaseTimeoutMs(long releaseTimeoutMs) {
|
||||||
this.releaseTimeoutMs = releaseTimeoutMs;
|
this.releaseTimeoutMs = releaseTimeoutMs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue