Rotate the front camera in Android for video chat app
Hi,
I developing a video chat app on Android with Adobe AIR 3.6 beta.
I currently using the Camera, Microsphone and Video classes. I panning to use StageVideo next
I understand fully that Adobe has stated that when using the Camera do it in Landscape mode.
Problem is my compnay wants it in Portrait mode only and is not interested in landscape video chatting app at all!
I can do this in native Java code with 6 lines of code by rotateing the camera,
but it seems impossible on Adobe Air mobile.
What I tried
a) Rotate the display object contain the video which has my camera attached
Result: It works! It only solves half my problem as the video is still being transmitted in landscape mode
b) Using Matrix and transform
Result. Does not work correctly and does not help as the video is still being transmitted in landscape mode
What I am considering
a) Build an ActionScript Extension that calls native java code that rotates the camera
Boy is this really nessscary?
b) Create another Netstream and copy the video stream contains the landscape vidoe feed into an bytearray and then
transpose the array and feed it into a newly created Portrit video feed!
Is this evan technically possible?
I understand peope will say that just accept landscape but that not an option right now
Any hep is greatly appreciated. I cannot be the first engineer that wants a Portriat locked video chatting appp on Android using Adobe AIR
