Camera preview usage with OnCameraPreviewed () callback

Camera preview usage with OnCameraPreviewed () callback

BY 26 Feb 2014 Native Application Development

Hi all,
I am trying to use StartPreview() method of the Camera class this way:
r = _pCamera->StartPreview(NULL, true);
And I am extracting [in] previewedData ByteBuffer inside OnCameraPreviewed () callback but the preview image is rotated on 90 degrees and flipped
And I should rotate the image on 270 degrees and flip manually.
Did anybody meet such issue? Is it ok?

Thank you.
Alexey.

Written by