On OS X Yosemite, the screen of an iOS 8 device can be mirrored to the OS X machine and saved as a media file. This can be done manually using QuickTime Player, but I want to do the same programatically.
Reading the docs, the iOS 8 device should be exposed as a webcam.
Calling [AVCaptureDevice devicesWithMediaType:AVMediaTypeVideo]
on my Mac returns an NSArray
with no elements.
How can I setup a mirroring session using iOS 8 and Yosemite? How can I detect the capture device for the mirroring session?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…