openstf / ios-minicap

iOS Minicap provides a socket interface for streaming realtime screen capture data out of iOS devices.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Capturing stoped after running for about 1 minutes on iPhone6s Plus iOS10.2!

chsasaw opened this issue · comments

The process of ios-minicap is still running, but the web page can‘t capture the screen anymore.
Only found on iPhone6s Plus iOS10.2.
But iPhone5 ios10.0.1 and iPhone5s 9.3 runs well.

The same issue

I don't think there are any reasons to be so. Any chances usb connection may fail for a while? (like plug cable out and in or usb port have bad contacts)? I don't think ios-minicap can currently handle this situation and you need to just restart it.

If you sure this is not the case, can you please provide steps to reproduce?

Here is the log
image

image

If this is a full run.sh log, then you probably have a phone screen turned off. ios-minicap is waiting for a first frame to setup, before it will start a socket server.

I'm sure that the phone's screen was turned on.

commented

I also see this on iPhone6 iOS10.2.

_++ system_profiler SPUSBDataType
++ sed -n -E -e '/(iPhone|iPad)/,/Serial/s/ *Serial Number: *(.+)/\1/p'

  • UDID=7289d2b2b593d14266f273b17333a25e0256655d
  • PORT=12345
  • RESOLUTION=400x600
  • ./build/ios_minicap --udid 7289d2b2b593d14266f273b17333a25e0256655d --port 12345 --resolution 400x600
    EnableDALDevices
    2017-04-26 11:09:38.606 ios_minicap[18747:3161627] Available devices:
    2017-04-26 11:09:38.606 ios_minicap[18747:3161627] 7289d2b2b593d14266f273b17333a25e0256655d
    2017-04-26 11:09:38.606 ios_minicap[18747:3161627] CC26424RNNEG1HNBU_
commented

The same issue