| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_MIN_BUFFER_MS
The default minimum duration of data that must be buffered for playback to start or resume
following a user action such as a seek.
|
static int |
DEFAULT_MIN_REBUFFER_MS
The default minimum duration of data that must be buffered for playback to resume
after a player invoked rebuffer (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
static ExoPlayer |
newInstance(int rendererCount)
Obtains an
ExoPlayer instance. |
static ExoPlayer |
newInstance(int rendererCount,
int minBufferMs,
int minRebufferMs)
Obtains an
ExoPlayer instance. |
public static final int DEFAULT_MIN_BUFFER_MS
public static final int DEFAULT_MIN_REBUFFER_MS
public static ExoPlayer newInstance(int rendererCount, int minBufferMs, int minRebufferMs)
rendererCount - The number of TrackRenderers that will be passed to
ExoPlayer.prepare(TrackRenderer[]).minBufferMs - A minimum duration of data that must be buffered for playback to start
or resume following a user action such as a seek.minRebufferMs - A minimum duration of data that must be buffered for playback to resume
after a player invoked rebuffer (i.e. a rebuffer that occurs due to buffer depletion, and
not due to a user action such as starting playback or seeking).public static ExoPlayer newInstance(int rendererCount)
rendererCount - The number of TrackRenderers that will be passed to
ExoPlayer.prepare(TrackRenderer[]).