openstf / ios-minicap

iOS Minicap provides a socket interface for streaming realtime screen capture data out of iOS devices.
Other
434 stars 130 forks source link

Devices's screen is not showing up #33

Closed TuHuynhVan closed 6 years ago

TuHuynhVan commented 6 years ago

I just got a simple frame without device's screen. Could you possibly help me to point out some clues?

screen shot 2017-10-20 at 10 20 17
sorccu commented 6 years ago

The example is just an example. It's not meant to be 100% reliable. That being said, it's impossible to say anything without seeing the full log output from both minicap and the node app (both of which you do have running at the same time, right)?

Also, the device screen must be on or you won't see anything.

TuHuynhVan commented 6 years ago

Thanks @sorccu for rocket response! It seems there is just only one client can request the socket at same time. Let me dig more.

Could you possibly help me to point out any good source to build webview and catch the websocket to get device screen?

sorccu commented 6 years ago

Like I said earlier it's a limitation of the Apple APIs. You can NOT have the screen of multiple devices open at once.

TuHuynhVan commented 6 years ago

Thank you anyway!