Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why WDA don't work with iOS-minicap ? #40

Open
Nicolas-Menettrier opened this issue Apr 26, 2018 · 2 comments
Open

Why WDA don't work with iOS-minicap ? #40

Nicolas-Menettrier opened this issue Apr 26, 2018 · 2 comments

Comments

@Nicolas-Menettrier
Copy link

What can I do to make that work (or what part of the code I need to take a look) ?

@loveharuhi
Copy link

start ios_minicap first, after you see the image, start WDA

@nanoscopic
Copy link

When AVFoundation streaming is started, a "magic usb command" is sent to the IOS device that changes the USB mode of it. That essentially resets all current USB connections including WDA, and makes WDA stop. This happens when you start ios-minicap.

As stated above, starting ios_minicap first and then WDA after works; at least until video streaming stops for whatever reason.

If video streaming stops, it seems that the IOS device resets again after some time back to "normal non streaming mode"; then when it starts again it will break WDA again.

Essentially, for ios_minicap to work in a stable fashion video must always be streaming.

I've investigated manually triggering the "usb streaming video" mode, but it doesn't stay locked in that mode without actually reading out the video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants