mirror of
https://github.com/samsonjs/media.git
synced 2026-04-10 12:05:47 +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.
|
||||
*/
|
||||
public Builder experimental_setReleaseTimeoutMs(long timeoutMs) {
|
||||
public Builder experimentalSetReleaseTimeoutMs(long timeoutMs) {
|
||||
releaseTimeoutMs = timeoutMs;
|
||||
return this;
|
||||
}
|
||||
|
|
@ -410,7 +410,7 @@ public interface ExoPlayer extends Player {
|
|||
looper);
|
||||
|
||||
if (releaseTimeoutMs > 0) {
|
||||
player.experimental_setReleaseTimeoutMs(releaseTimeoutMs);
|
||||
player.experimentalSetReleaseTimeoutMs(releaseTimeoutMs);
|
||||
}
|
||||
if (!throwWhenStuckBuffering) {
|
||||
player.experimentalDisableThrowWhenStuckBuffering();
|
||||
|
|
|
|||
|
|
@ -195,8 +195,8 @@ import java.util.concurrent.TimeoutException;
|
|||
*
|
||||
* @param timeoutMs The time limit in milliseconds, or 0 for no limit.
|
||||
*/
|
||||
public void experimental_setReleaseTimeoutMs(long timeoutMs) {
|
||||
internalPlayer.experimental_setReleaseTimeoutMs(timeoutMs);
|
||||
public void experimentalSetReleaseTimeoutMs(long timeoutMs) {
|
||||
internalPlayer.experimentalSetReleaseTimeoutMs(timeoutMs);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
|
|||
handler = clock.createHandler(internalPlaybackThread.getLooper(), this);
|
||||
}
|
||||
|
||||
public void experimental_setReleaseTimeoutMs(long releaseTimeoutMs) {
|
||||
public void experimentalSetReleaseTimeoutMs(long releaseTimeoutMs) {
|
||||
this.releaseTimeoutMs = releaseTimeoutMs;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue