You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AIR should have a way to know is camera provide mirrored image (video output) or not.
For video chats, photo booths and many other AR/VR applications important to know is camera provide mirrored image or not.
For example, all frontal cameras with iOS devices provide mirrored image by default. But it could varies with different cameras (embedded or external USB) for macOS/tvOS/Windows. Right now there is no way to detect it.
It could be implemented as Boolean getter Camera::mirrored or some String property which provide one of constant (UNMIRRORED, MIRRORED, UNKNOWN).
@henke37
Thanks for suggestion. But in this feature request I want to know "does camera provide mirrored output?". Not "how to make horizontal flip of video output?".
For iOS/macOS/tvOS I agree with you (according to Apple Objective-C/Swift APIs). For Windows it something different it belongs to MediaCapture. That's why I suggest Camera::mirrored. But it could be anything else (Video::mirrored or some other new class). I just want to detect does camera mirror the output.
Feature Description
AIR should have a way to know is camera provide mirrored image (video output) or not.
For video chats, photo booths and many other AR/VR applications important to know is camera provide mirrored image or not.
For example, all frontal cameras with iOS devices provide mirrored image by default. But it could varies with different cameras (embedded or external USB) for macOS/tvOS/Windows. Right now there is no way to detect it.
It could be implemented as
Boolean
getterCamera::mirrored
or someString
property which provide one of constant (UNMIRRORED
,MIRRORED
,UNKNOWN
).https://developer.apple.com/documentation/avfoundation/avcaptureconnection/1389172-videomirrored?language=objc
https://learn.microsoft.com/en-us/uwp/api/windows.media.capture.mediacapture.getpreviewmirroring?view=winrt-22621
Related issues:
#1344
#1348
#305
Known Workarounds
Write your own native extension to work with cameras.
The text was updated successfully, but these errors were encountered: