getSupportedResolutions

fun getSupportedResolutions(context: Context, mimeType: String): List<Size>

Get camera resolutions that are supported by the encoder.

Return

list of resolutions

Parameters

context

application context

mimeType

video encoder mime type