getInputChannelRange

Get maximum supported number of channel for the default audio encoder.

Return

the maximum number of channel supported

Parameters

mimeType

the audio encoder mime type


fun getInputChannelRange(mimeType: String, name: String): Range<Int>

Get maximum supported number of channel for the specified audio encoder.

Return

the maximum number of channel supported

Parameters

mimeType

the audio encoder mime type

name

the audio encoder name