openstf / minicap

Stream real-time screen capture data out of Android devices.
Other
1.72k stars 622 forks source link

Why doesn't it work on emulators? #12

Open kenchangh opened 8 years ago

kenchangh commented 8 years ago

Read in the docs that it wouldn't work but went ahead and tried it on Genymotion, yeap doesn't work. But I'm curious what are the issues that cause it to fail? I'm willing to dive into making it work for emulators

sorccu commented 8 years ago

Basically because we never spent much time looking into it, real devices were a priority.

Minicap uses different versions of SurfaceFlinger behind the scenes, and the emulators seem to bypass it somehow (but again, we haven't really spent any time on it). This android issue seems very relevant.

Turning host GPU rendering off in your emulator settings may or may not help (please let me know whether it does).

kenchangh commented 8 years ago

Turning host GPU rendering off in the settings causes the emulator screen to be black and doesn't solve the problem. Will continue looking into it

nwlunatic commented 8 years ago

Any luck with this issue? Maybe some new info to start from?

sysumaruijie commented 8 years ago

@mavenave @sorccu Did you solve this problem?

sorccu commented 8 years ago

I don't have time to work this now. If we had enough supporters we'd be able to spend more time on issues like this one.