captureImageAtMaxSupportedResolution

fun captureImageAtMaxSupportedResolution(savePath: File, callback: (isSuccess: Boolean) -> Unit)

Captures the highest resolution image that the local camera supports. This does not depend on publisher's resolution

Parameters

savePath

File path where the captured image is to be saved

callback

Boolean.true if image was successfully captured and saved in the file provided, Boolean.false otherwise.