ws-scrcpy icon indicating copy to clipboard operation
ws-scrcpy copied to clipboard

Can iOS be based on Windows?

Open Jevell opened this issue 3 years ago • 6 comments

It is possible to run Android on Windows, but currently running iOS on Windows only allows you to see the connected device without any further functionality. This is because iOS typically requires macOS to run properly.

Jevell avatar Mar 29 '23 10:03 Jevell

Hi. See https://github.com/NetrisTV/ws-scrcpy/issues/195

drauggres avatar Mar 29 '23 16:03 drauggres

Hello, thank you. Let me take a look at this article first. Also, I have a question - is there a reason why my iOS device is often not detected?

Jevell avatar Mar 30 '23 01:03 Jevell

Unable to find iOS devices when searching for devices in the device list, while there are no issues detecting Android devices. At the beginning, the iOS device was detectable but not anymore. Are there any other possible reasons for this? Could there be conflicts with other installed drivers?

Jevell avatar Mar 30 '23 03:03 Jevell

is there a reason why my iOS device is often not detected?

iOS support was always experimental. It has never been completed properly. Sometimes is helps to reconnect the devices. I used https://github.com/mvp/uhubctl to do it programmatically.

Are there any other possible reasons for this? Could there be conflicts with other installed drivers?

Since I don't use Windows, I never tried tidevice or anything from #195. I guess drivers conflict is possible, but I don't really know.

drauggres avatar Mar 30 '23 04:03 drauggres

Thank you very much. I was able to transfer and operate iOS device video streams by modifying the tidevice and enabling WDA. I have another question to ask: the video transmission through MJPEG is a bit jerky, is there any way to increase the frame rate?

I found two configuration files that can be modified: "src\app\player\BasePlayer.ts" and "src\app\applDevice\client\WdaProxyClient.ts". Should I modify the frame rate in WdaProxyClient.ts or is there another file I should modify?

Jevell avatar Mar 30 '23 06:03 Jevell

You can set framerate, scaling factor and sreenshot quality from the UI (in three dots) https://github.com/NetrisTV/ws-scrcpy/blob/ee87ba65258057e76af7c1e67e7e6633361a62cb/src/app/applDevice/toolbox/ApplMjpegMoreBox.ts#L49-L72

drauggres avatar Mar 30 '23 15:03 drauggres