Camera error in Self Camera application while incomming call in camera_start_preview function [CAMERA_ERROR_SOUND_POLICY_BY_CALL

Camera error in Self Camera application while incomming call in camera_start_preview function [CAMERA_ERROR_SOUND_POLICY_BY_CALL

BY 26 Nov 2015 Native Application Development

I’ve found error while calling camera_start_preview() while incomming call is rigning:

camera_start_preview error code = [-26279926], [CAMERA_ERROR_SOUND_POLICY_BY_CALL]

I found the same problem in the sample application Media and Self Camera. (while there is an incomming call, try to launch self camera)

While the built in Camera application is working well.

Is there any permission needed to do that?

How can I resolve the problem of camera_start_preview error during call?

Written by