final void |
Clears the Listener.
|
final ExoPlaybackException |
Creates an ExoPlaybackException of type TYPE_RENDERER for this renderer.
|
final ExoPlaybackException |
Creates an ExoPlaybackException of type TYPE_RENDERER for this renderer.
|
final void |
Disable the renderer, transitioning it to the STATE_DISABLED state.
|
final void |
Enables the renderer to consume from the specified SampleStream.
|
final RendererCapabilities |
Returns the capabilities of the renderer.
|
final Clock |
Returns the Clock.
|
final RendererConfiguration |
Returns the configuration set when the renderer was most recently enabled.
|
final FormatHolder |
Returns a clear FormatHolder.
|
final int |
Returns the index of the renderer within the player.
|
final long |
Returns the position passed to the most recent call to enable or resetPosition.
|
final @Nullable MediaSource.MediaPeriodId |
The MediaSource.MediaPeriodId of the MediaPeriod producing the stream, or null if the renderer is disabled.
|
final PlayerId |
Returns the PlayerId of the player using this renderer.
|
final long |
Returns the renderer time up to which the renderer has read samples, in microseconds, or TIME_END_OF_SOURCE if the renderer has read the current SampleStream to the end.
|
final int |
Returns the current state of the renderer.
|
final @Nullable SampleStream |
Returns the SampleStream being consumed, or null if the renderer is disabled.
|
final Format[] |
Returns the formats of the currently enabled stream.
|
final long |
Returns the offset added to timestamps of buffers read from the SampleStream.
|
final Timeline |
Returns the current Timeline containing the rendered stream.
|
final int |
Returns the track type that the renderer handles.
|
void |
Handles a message delivered to the target.
|
final boolean |
Returns whether the renderer has read the current SampleStream to the end.
|
final void |
Initializes the renderer for playback with a player.
|
final boolean |
Returns whether the current SampleStream will be the final one supplied before the renderer is next disabled or reset.
|
final boolean |
Returns whether the upstream source is ready.
|
final void |
Throws an error that's preventing the renderer from reading from its SampleStream.
|
final void |
Called when the renderer capabilities are changed.
|
void |
Called when the renderer is started.
|
void |
Called when the renderer is stopped.
|
void |
Called when the renderer's stream has changed.
|
void |
Called when a new timeline is set.
|
final int |
Reads from the enabled upstream source.
|
final void |
Releases the renderer.
|
final void |
Replaces the SampleStream from which samples will be consumed.
|
final void |
Forces the renderer to give up any resources (e.g. media decoders) that it may be holding.
|
final void |
resetPosition(long positionUs, boolean sampleStreamIsResetToKeyFrame)
Signals to the renderer that a position discontinuity has occurred.
|
final void |
Signals to the renderer that the current SampleStream will be the final one supplied before it is next disabled or reset.
|
final void |
Sets the Listener.
|
final void |
Sets the timeline that is currently being played.
|
int |
Attempts to skip to the keyframe before the specified position, or to the end of the stream if positionUs is beyond it.
|
final void |
Starts the renderer, meaning that calls to render will cause media to be rendered.
|
final void |
Stops the renderer, transitioning it to the STATE_ENABLED state.
|
int |
Returns the extent to which the Renderer supports adapting between supported formats that have different MIME types.
|