Skip to main content
Participant
Mar 18, 2013 11:20 AM UTC
Question

camera preview problem

Hi,

          I need to attach camera into my mobile application for live stream. when i am trying to attach camera, it doesn't displaying the camera preiveiw in right direction. Always its showing in 90 degree wrong direction in android mobile.. I am using Flash Builder 4.6..

How to solve this issue?

Thanks

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Lars Laborious
Legend
Mar 18, 2013 2:08 PM UTC

You might also need to use this: video.rotation = 90; video.x += stage.stageWidth;

Translate
capty0007Author
Participant
Mar 21, 2013 1:53 PM UTC

Thank you for your response.. my problem is similar to this http://stackoverflow.com/questions/14577260/video-chat-app-using-portr ait-orientation-mode-on-android-using-adobe-air-3-6 .

if i rotate the video using video.rotation = 90, the camera preview displaying in right direction.. but in player side the live stream displaying in 90 deg wrong direction. I am having this issue in portrait mode not landscape.

Thanks,

Translate
Nimisha1
Participating Frequently
Mar 18, 2013 11:27 AM UTC

You must be using Video Object for the camera preview. You can try to set the dimensions of the Video object (properties x,y) according to your needs.

Translate