Android emulator camera - webcam orientation
I am using my Mac webcam to simulate an Android front-camera in the emulator. Unfortunately the camera seems in landscape orientation - screenshot , even though the emulator is in portrait one. Note that the camera behaves properly on a real device (i.e. it has a portrait orientation). My Emulator configuration: Nexus 5X, Android Nougat 7.1.1, API Level 25, Startup Orientation: portrait, front-camera: webcam0, back-camera: Emulated How can I use the webcam with proper orientation? Ultimately I solved this by detecting if I'm running in an emulator: public static boolean isEmulator() { return