언어 설정

Menu
Sites
Language
Camera problem

When i start front camera in webapp, the preview is converse to normal camera. I searched for a day but i cant figure out How i can converse it? 

Responses

9 댓글
AVSukhov

Hello,

Do you using AppControl for start camera app or using getUserMedia API?

Dang Nam

I use getUserMedia Api and get that result.do you have any idea?

AVSukhov

Hello,

As i khown in Tizen 2.3 supports only fromt camera, you cannot get stream from back camera.

Dang Nam

thank AVSukhov but i mean : the preview of camera in webapp, the screen display the reverse with normal device :D. It doesnt look like we look at the mirror 

Alex Dem

Hi,
Any flip (vertical or horizontal) is allowed for native apps (see selfcamera native example, there is camera_set_display_flip() for front camera is used) but i did not face a way how to flip for web.
Alexey.

Alex Dem

Hi,
Yes , only front is supported for web: https://developer.tizen.org/dev-guide/2.3.0/org.tizen.web.apireference/html/w3c_api/w3c_api_m.html#media
In Native apps are supported both cameras.
Alexey.

Vikram

Hello,

I've searched the same. but there is no option or control to reverse the camera preview in Web application yet.

And It can be controlled by firmware of camera as far I know.

Dang Nam

but when we capture, it had been reverse :D

Vikram

Hello,

If you're checking Samsung Z1, you can change it in camera setting by switching Save as flipped menu.

And Native camera application can use below function to reverse the camera preview.

               int  camera_set_display_flip (camera_h camera, camera_flip_e flip)
                            

BR