1, Airplay cast screen
Mobile System Compatibility: Compatible with iOS9, IOS10, iOS11 (currently need to adapt) system, each iOS system upgrade, the corresponding airplay mirroring protocol will be updated, the cost of cracking high.
Operating environment: The airplay receive video stream can be a PC or an app on an iOS phone, the mobile app needs to decode the video stream H264 again, the performance is more expensive.
Application: At present, the main recording screen software is to use the mobile phone screen content screen to the PC software.
2, ReplayKit2
Cell phone system Compatibility: IOS11 above system, the official live recording screen scheme, the stability teaches well.
Operating environment: Need the app to implement REPLAYKIT2 framework code, follow the app, need certain operation process.
Application: Live app software, coding on the phone, the performance requirements of the mobile phone.
3, Libimobiledevice Way
Phone system Compatibility: iOS9 (not verified), IOS10, iOS11 above system, Apple's itunes USB protocol cracked version, good compatibility
Operating Environment: Libimobiledevice code Open Source, can run on MacOS, Windows, Linux system. USB is required to connect your phone to your Mac.
Application: Some small software for information display for iOS phones
Limitations: The Libimobiledevice code has a screenshot function, the screenshot is up to 4 frames per second, unable to meet the real-time acquisition requirements.
4, Avcapturedevice Devicewithuniqueid Way
Mobile phone Operating Environment: iOS system is compatible
Operating environment: MacOS System, the effect is very good, QuickTime collection method. USB is required to connect your phone to your Mac.
App: Don't see the software on your Mac for the moment
Related code: HTTPS://GITHUB.COM/OPENSTF/IOS-MINICAP/BLOB/MASTER/SRC/STREAMCLIENT.MM
Other platform implementations:
This approach is the most perfect way to continue research, and Windows is relatively rare. One of the people claimed to have made it, but there was no public code.
Https://plus.google.com/114395554184391775867/posts/N3pKpzK8A6K
Https://github.com/huisinro/ios-usb-mirroring
IOS system Level recording Screen mode survey