MediaCodecAdapter.Factory


interface MediaCodecAdapter.Factory


A factory for MediaCodecAdapter instances.

Summary

Constants

const MediaCodecAdapter.Factory!

This property is deprecated.

Use getDefault instead.

Public functions

MediaCodecAdapter!

Creates a MediaCodecAdapter instance.

java-static MediaCodecAdapter.Factory!
getDefault(context: Context!)

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

Constants

DEFAULT

const val DEFAULTMediaCodecAdapter.Factory!

Public functions

createAdapter

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

Creates a MediaCodecAdapter instance.

getDefault

java-static fun getDefault(context: Context!): MediaCodecAdapter.Factory!

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

Parameters
context: Context!

A Context.

Returns
MediaCodecAdapter.Factory!

The default factory.