Skip to main content
Participant
March 18, 2013
Question

camera preview problem

  • March 18, 2013
  • 3 replies
  • 755 views

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 has been closed for replies.

3 replies

Lars Laborious
Legend
March 18, 2013

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

capty0007Author
Participant
March 21, 2013

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,

Nimisha1
Participating Frequently
March 18, 2013

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.