SynchronousMediaCodecAdapter.Factory


public class SynchronousMediaCodecAdapter.Factory implements MediaCodecAdapter.Factory


A factory for SynchronousMediaCodecAdapter instances.

Summary

Public constructors

Public methods

MediaCodecAdapter

Creates a MediaCodecAdapter instance.

Protected methods

MediaCodec

Creates a new MediaCodec instance.

Inherited Constants

From androidx.media3.exoplayer.mediacodec.MediaCodecAdapter.Factory
static final MediaCodecAdapter.Factory

This field is deprecated.

Use getDefault instead.

Inherited methods

From androidx.media3.exoplayer.mediacodec.MediaCodecAdapter.Factory
static MediaCodecAdapter.Factory

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

Public constructors

Factory

public Factory()

Public methods

createAdapter

public MediaCodecAdapter createAdapter(MediaCodecAdapter.Configuration configuration)

Creates a MediaCodecAdapter instance.

Protected methods

createCodec

protected MediaCodec createCodec(MediaCodecAdapter.Configuration configuration)

Creates a new MediaCodec instance.