Added in API level 31
OnFirstTunnelFrameReadyListener
Stay organized with collections
Save and categorize content based on your preferences.
interface OnFirstTunnelFrameReadyListener
Listener to be called when the first output frame has been decoded and is ready to be rendered for a codec configured for tunnel mode with KEY_AUDIO_SESSION_ID
.
Summary
Public methods | |
---|---|
abstract Unit |
onFirstTunnelFrameReady(codec: MediaCodec) Called when the first output frame has been decoded and is ready to be rendered. |
Public methods
onFirstTunnelFrameReady
Added in API level 31
abstract fun onFirstTunnelFrameReady(codec: MediaCodec): Unit
Called when the first output frame has been decoded and is ready to be rendered.
Parameters | |
---|---|
codec |
MediaCodec: This value cannot be null . |