Is it possible to simultaneously record from microphone and camera?

While capturing the screen, can we mix in microphone input? Taking that further, is it possible to capture from camera at the same time?

Replies

You would use multiple different APIs for this purpose. For both microphone and camera input, you could use AVCapture, and then use ScreenCaptureKit's synchronizationClock to make sure everything is synched. Alternatively, something like AVAssetWriter should handle synchronization automatically.