public class RendererProvider
extends java.lang.Object
com.google.android.exoplayer2.Renderers| Modifier and Type | Field and Description |
|---|---|
protected AudioRendererEventListener |
audioRendererEventListener |
protected TextOutput |
captionListener |
protected android.content.Context |
context |
protected <any> |
drmSessionManager |
protected int |
droppedFrameNotificationAmount |
protected android.os.Handler |
handler |
protected MetadataOutput |
metadataListener |
protected int |
videoJoiningTimeMs |
protected VideoRendererEventListener |
videoRendererEventListener |
| Constructor and Description |
|---|
RendererProvider(android.content.Context context,
android.os.Handler handler,
TextOutput captionListener,
MetadataOutput metadataListener,
AudioRendererEventListener audioRendererEventListener,
VideoRendererEventListener videoRendererEventListener) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<Renderer> |
buildAudioRenderers() |
protected java.util.List<Renderer> |
buildCaptionRenderers() |
protected java.util.List<Renderer> |
buildMetadataRenderers() |
protected java.util.List<Renderer> |
buildVideoRenderers() |
java.util.List<Renderer> |
generate() |
void |
setDrmSessionManager(<any> drmSessionManager) |
void |
setDroppedFrameNotificationAmount(int droppedFrameNotificationAmount) |
void |
setVideoJoiningTimeMs(int videoJoiningTimeMs) |
protected android.content.Context context
protected android.os.Handler handler
protected TextOutput captionListener
protected MetadataOutput metadataListener
protected AudioRendererEventListener audioRendererEventListener
protected VideoRendererEventListener videoRendererEventListener
protected <any> drmSessionManager
protected int droppedFrameNotificationAmount
protected int videoJoiningTimeMs
public RendererProvider(android.content.Context context,
android.os.Handler handler,
TextOutput captionListener,
MetadataOutput metadataListener,
AudioRendererEventListener audioRendererEventListener,
VideoRendererEventListener videoRendererEventListener)
public void setDrmSessionManager(<any> drmSessionManager)
public void setDroppedFrameNotificationAmount(int droppedFrameNotificationAmount)
public void setVideoJoiningTimeMs(int videoJoiningTimeMs)
public java.util.List<Renderer> generate()
protected java.util.List<Renderer> buildAudioRenderers()
protected java.util.List<Renderer> buildVideoRenderers()
protected java.util.List<Renderer> buildCaptionRenderers()
protected java.util.List<Renderer> buildMetadataRenderers()