Interface EncoderSelector


  • public interface EncoderSelector
    Selector of MediaCodec encoder instances.
    • Method Detail

      • selectEncoderInfos

        List<MediaCodecInfo> selectEncoderInfos​(String mimeType)
        Returns a list of encoders that can encode media in the specified mimeType, in priority order.
        Parameters:
        mimeType - The MIME type for which an encoder is required.
        Returns:
        An unmodifiable list of encoders that support the mimeType. The list may be empty.