makeCaptureSession()
Creates a new capture session in this media environment or throws an error if it can not be created.
Declaration
func makeCaptureSession() throws -> AVCaptureSessionDiscussion
The media environment must be activated before the capture session can be started.