SynchronousMediaCodecAdapter.Factory


class SynchronousMediaCodecAdapter.Factory : MediaCodecAdapter.Factory


A factory for SynchronousMediaCodecAdapter instances.

Summary

Public constructors

Public functions

MediaCodecAdapter!

Creates a MediaCodecAdapter instance.

Protected functions

MediaCodec!

Creates a new MediaCodec instance.

Inherited Constants

From androidx.media3.exoplayer.mediacodec.MediaCodecAdapter.Factory
const MediaCodecAdapter.Factory!

This property is deprecated.

Use getDefault instead.

Inherited functions

From androidx.media3.exoplayer.mediacodec.MediaCodecAdapter.Factory
java-static MediaCodecAdapter.Factory!
getDefault(context: Context!)

Returns the default factory that should be used in most cases.

Public constructors

Factory

Factory()

Public functions

createAdapter

fun createAdapter(configuration: MediaCodecAdapter.Configuration!): MediaCodecAdapter!

Creates a MediaCodecAdapter instance.

Protected functions

createCodec

protected fun createCodec(configuration: MediaCodecAdapter.Configuration!): MediaCodec!

Creates a new MediaCodec instance.