RendererConfiguration
Artifact: androidx.media3:media3-exoplayer
@UnstableApi
class RendererConfiguration
The configuration of a Renderer.
Summary
Constants |
|
|---|---|
const RendererConfiguration! |
The default configuration. |
Public constructors |
|---|
RendererConfiguration(tunneling: Boolean)Creates an instance with |
RendererConfiguration(Creates an instance. |
Public properties |
|
|---|---|
Int |
The offload mode preference with which to configure the renderer. |
Boolean |
Whether to enable tunneling. |
Constants
Public constructors
RendererConfiguration
RendererConfiguration(tunneling: Boolean)
Creates an instance with tunneling and sets offloadModePreferred to OFFLOAD_MODE_DISABLED.
| Parameters | |
|---|---|
tunneling: Boolean |
Whether to enable tunneling. |
RendererConfiguration
RendererConfiguration(
@AudioSink.OffloadMode offloadModePreferred: Int,
tunneling: Boolean
)
Creates an instance.
| Parameters | |
|---|---|
@AudioSink.OffloadMode offloadModePreferred: Int |
The offload mode to use. |
tunneling: Boolean |
Whether to enable tunneling. |
Public properties
offloadModePreferred
@AudioSink.OffloadMode
val offloadModePreferred: Int
The offload mode preference with which to configure the renderer.