Camera does not work in BMP 1.1.717 Pro and BMP 1.1.806 Pro | developer.brewmp.com Camera does not work in BMP 1.1.717 Pro and BMP 1.1.806 Pro | developer.brewmp.com

Developer

Camera does not work in BMP 1.1.717 Pro and BMP 1.1.806 Pro

I'm using Fluid profile from 1.1.717 Pro (on 1.1.806 Pro the behavior is same).

My code corresponds to standard way of using camera widget

1. Create an instance of the frame widget using AEECLSID_CFrameWidget.
2. Create an instance of the ICamera object using AEECLSID_Camera.
3. Set the camera size and display size using ICamera_SetSize and ICamera_SetDisplaySize.
4. Create an instance of the CameraFrameModel using AEECLSID_CCameraFrameModel.
5. Set the ICamera instance on the CameraFrameModel using ICameraFrameModel_SetICamera.
6. Set the model on the frame widget using IWidget_SetModel.
7. Start camera using ICamera_Preview.

This code is workig well on Generic QVGA profile for BMP 1.0.2.410.

But on PRO profiles the ICamera_SetSize returns code 20 (EUNSUPPORTED). The rest of code is working with SUCCESS, but no frames are coming to screen and to the frame model listener, and on try recreate instance of AEECLSID_Camera the app is crashing in mm_framework.dll1 with:
Quote:
Unhandled exception at 0x0bfe655f in SimTargetExecutor.exe: 0xC0000005: Access violation reading location 0x00000000.

I have faced with same behavior on BMP 1.1.0.717 device.

Please help to find where is problem and way how to fix it.