@Deprecated public abstract class AbstractRendererBuilder extends java.lang.Object implements ExoPlayerVideoDisplayComponent.RendererBuilder
| Modifier and Type | Field and Description |
|---|---|
protected RendererConfig |
mRendererConfig
Deprecated.
|
| Constructor and Description |
|---|
AbstractRendererBuilder(java.lang.String uri)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.Integer,java.lang.String> |
getAudioTracksIndexMap(com.google.android.exoplayer.ExoPlayer exoPlayer,
int timeMs)
Deprecated.
Retrieves a map of the Audio track language strings available for the current video
and their indices with respect of ExoPlayer.
|
protected int |
getBufferSegmentCount()
Deprecated.
|
protected int |
getBufferSegmentSize()
Deprecated.
|
protected int |
getHttpConnectTimeoutMillis()
Deprecated.
Gets http connect timeout value in milliseconds.
|
protected int |
getHttpReadTimeoutMillis()
Deprecated.
Gets http read timeout value in milliseconds.
|
static java.util.List<com.google.android.exoplayer.MediaFormat> |
getMediaFormatListByType(com.google.android.exoplayer.ExoPlayer exoPlayer,
int trackType)
Deprecated.
Gets a media format list by track type.
|
java.util.Map<java.lang.Integer,java.lang.String> |
getTextTracksIndexMap(com.google.android.exoplayer.ExoPlayer exoPlayer,
int timeMs)
Deprecated.
|
boolean |
isLocalMedia()
Deprecated.
Checks whether the renderer builder is working with a local media source.
|
void |
setRendererConfig(RendererConfig rendererConfig)
Deprecated.
Sets the
RendererConfig. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildRenderers, cancelprotected RendererConfig mRendererConfig
public AbstractRendererBuilder(@Nullable
java.lang.String uri)
public void setRendererConfig(@Nullable
RendererConfig rendererConfig)
RendererConfig.rendererConfig - public java.util.Map<java.lang.Integer,java.lang.String> getAudioTracksIndexMap(com.google.android.exoplayer.ExoPlayer exoPlayer,
int timeMs)
exoPlayer - the exo player objecttimeMs - the time in msExoPlayer#getTrackCount(int)},
ExoPlayer#getTrackFormat(int, int)}public java.util.Map<java.lang.Integer,java.lang.String> getTextTracksIndexMap(com.google.android.exoplayer.ExoPlayer exoPlayer,
int timeMs)
@Nullable
public static java.util.List<com.google.android.exoplayer.MediaFormat> getMediaFormatListByType(com.google.android.exoplayer.ExoPlayer exoPlayer,
int trackType)
C.TRACK_TYPE_VIDEO,C.TRACK_TYPE_AUDIO,
C.TRACK_TYPE_TEXT or C.TRACK_TYPE_METADATAexoPlayer - the exo playertrackType - the track type.protected int getHttpReadTimeoutMillis()
DefaultHttpDataSource.DEFAULT_READ_TIMEOUT_MILLISprotected int getHttpConnectTimeoutMillis()
DefaultHttpDataSource.DEFAULT_CONNECT_TIMEOUT_MILLISprotected int getBufferSegmentSize()
protected int getBufferSegmentCount()
public boolean isLocalMedia()