【发布时间】:2015-05-05 16:03:03
【问题描述】:
可以在 Quicktime 中使用新电影录制 > 相机下拉菜单 > 选择 iOS 设备。 AppShow 和 Screenflow 都这样做。
我试过了
Applescript
tell application "QuickTime Player"
set myrec to new movie recording
tell myrec
set current camera to video recording device named "Morten's iPod touch"
end tell
end tell
但这给了我
错误“QuickTime Player 出现错误:无法将文档 \"Movie Recording\" 的视频录制设备 \"Morten's iPod touch\" 设置为文档 \"Movie" 的名为 \"Morten's iPod touch\" 的视频录制设备记录\”。”来自文档“Movie Recording”的视频录制设备“Morten's iPod touch”的编号 -10006
AVFoundation 由于 iOS 设备在 Quicktime 中显示为相机,我认为它会是 AVFoundation 中的捕获设备,但是这段代码
for device in AVCaptureDevice.devices() {
println(device)
}
只要给我我的 Facetime 高清摄像头和麦克风。
【问题讨论】:
标签: ios macos cocoa avfoundation quicktime