Interface EncoderSelector
-
@Deprecated public interface EncoderSelector
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.Selector ofMediaCodec
encoder instances.
-
-
Field Summary
Fields Modifier and Type Field Description static EncoderSelector
DEFAULT
Deprecated.Default implementation ofEncoderSelector
, which returns the preferred encoders for the givenMIME type
.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description ImmutableList<MediaCodecInfo>
selectEncoderInfos(String mimeType)
Deprecated.Returns a list of encoders that can encode media in the specifiedmimeType
, in priority order.
-
-
-
Field Detail
-
DEFAULT
static final EncoderSelector DEFAULT
Deprecated.Default implementation ofEncoderSelector
, which returns the preferred encoders for the givenMIME type
.The
EncoderSelector
selection result contains only hardware encoders if they exist, or only software encoders otherwise.
-
-
Method Detail
-
selectEncoderInfos
ImmutableList<MediaCodecInfo> selectEncoderInfos(String mimeType)
Deprecated.Returns a list of encoders that can encode media in the specifiedmimeType
, in priority order.
-
-