CodecUtil

open class CodecUtil

Created by pedro on 14/02/18.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val AAC_MIME: String = "audio/mp4a-latm"
Link copied to clipboard
val AV1_MIME: String = "video/av01"
Link copied to clipboard
val G711_MIME: String = "audio/g711-alaw"
Link copied to clipboard
val H264_MIME: String = "video/avc"
Link copied to clipboard
val H265_MIME: String = "video/hevc"
Link copied to clipboard
val OPUS_MIME: String = "audio/opus"
Link copied to clipboard
val VORBIS_MIME: String = "audio/ogg"

Functions

Link copied to clipboard
open fun getAllCodecs(filterBroken: Boolean): List<MediaCodecInfo>
Link copied to clipboard
choose decoder by mime.
open fun getAllDecoders(mime: String, hardwarePriority: Boolean): List<MediaCodecInfo>
Link copied to clipboard
choose encoder by mime.
open fun getAllEncoders(mime: String, hardwarePriority: Boolean): List<MediaCodecInfo>
open fun getAllEncoders(mime: String, hardwarePriority: Boolean, cbrPriority: Boolean): List<MediaCodecInfo>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard