Camera View Stretched

Im working on PoseEstimation. I think everything done. But my camera screen showing scretched view vertically. I couldnt find any solution for this problem. These photos are 1-Samsung original camera view, and the other one viewed with Fritz Poseestimation app example. (Im sorry, system doesnt let me upload original photo. So ı uploaded only stretched one)

Fritz SDK 6.0.0-beta.10, Samsung Galaxy Note8, API 28

(And this is original photo)

The the size and aspect ratio of the image if unrelated to the Fritz SDK. In the demo code, we’ve tried to select preview sizes based on resolutions supported by most devices, but there may be exceptions to this. If you take a look at some of the CameraConnection code, you may be able to grab a better aspect ratio for your device.