google/android-emulator-webrtc

Changing rotation

testingbot opened this issue · 2 comments

Hi,

We're looking for the possibility to rotate the emulator, I found some rotation related code in the protobufs (https://android.googlesource.com/platform/prebuilts/android-emulator/+/master/linux-x86_64/lib/emulator_controller.proto#785), but I'm not sure how to add it.

In order to add rotation we will have to:

  • Add support in WebRTC, the video will be rotated, but will not be properly scaled.
  • Update the png preview to properly set width/height.
  • Update the js libraries to properly translate mouse/touch events (they will be wrong).