Languages

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

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?

Edited by: Md. Mahbubul Huq on 26 Nov, 2015

Responses

2 Replies
Alex Dem

Hi,
I think it is not error but Tizen platform restriction, but I can not confirm that it is right behaviour.
fyi:I did not find in dev-guide that  camera_start_preview should return such error but maybe it's inaccuracy of dev-guide.
Alexey.

colin Rao

I only find two permission regarding camera from the help doc. 

<privileges>
   <privilege>http://tizen.org/privilege/camera</privilege>
   <privilege>http://tizen.org/privilege/appmanager.launch</privilege>
</privileges>

Also, as Alex comments, I think it's just been restricted by Tizen system for deverlopers. 

Possible, there is a permission principle in Tizen system, but for normal public developers, we cant get such special priority. :)