Unfortunantely I didn't received a solution, but I found a root cause of my problem. It's a defect in code. For those who met the same problem. It's a Null Reference exception in code when it tries to receve reference to camera and call null reference methods. To fix the problem you need to make changes in two places.
1.```
private function onStart():void
if(Camera.getCamera().muted)
if(Camera.getCamera() && Camera.getCamera().muted)
2\.```
private function completeRegistration():void
```…
curCamera = Camera.getCamera(cameraIndex.toString());
curCamera.addEventListener(StatusEvent.STATUS, onCameraStatus);
if(!curCamera.muted != cameraAllowed) {
cameraAllowed = !curCamera.muted;
cameraChangedStatus();
}
replace with
curCamera = Camera.getCamera(cameraIndex.toString());
if (curCamera)
{
curCamera.addEventListener(StatusEvent.STATUS, onCameraStatus);
if(!curCamera.muted != cameraAllowed) {
cameraAllowed = !curCamera.muted;
cameraChangedStatus();
}
}