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

[help] why the width & height is not the real size of iphone? #42

Closed luoshangyu closed 6 years ago

luoshangyu commented 6 years ago

Dear ios-minicap author,

Why the width & height is smaller used by CVPixelBufferRef by ios-minicap than the real screen size?

I'm try to implement a web app which can remote control ios, but the size is not the same. ios-minicap use CVPixelBufferRef's width & height, e.g. iphone 6 plus is 19201080, but ios-minicap got 600 400 and, use 600/400 to set the canvas' size.

Why not make it the real screen size?

nwlunatic commented 6 years ago

It is hardcoded in run.sh. You can provide the resolution you want