captureImageAtMaxResolution

Captures the highest resolution image that the local camera supports. This does not depend on publisher's resolution. Once the onImageCapture method returns, the image in the ImageCaptureModel will be closed and invalid for access. Do not store it, the resources need to be released.

Parameters

onImageCapture

a callback that resturns ImageCaptureModel. Access the image with ImageCaptureModel.image and get detailed orientation information from ImageCaptureModel.metadata. Simple orientation information can be retrieved from ImageCaptureModel.orientation.