I currently have an app that will play videos from files in an SKVideoNode using an AVPlayer. I would like to add the ability to also show live video from a capture device.
I recently got some example code working that captures from a webcam and shows the preview in an NSView, but I don't know how to get this to appear within the SpriteKit scene. (It looks like what I want is really easy in SceneKit: https://stackoverflow.com/a/47663903/214070)
Is it possible to take the video output from an AVCaptureDevice and show it in an SKVideoNode?