Contents

makeCaptureSession()

Creates a new capture session in this media environment or throws an error if it can not be created.

Declaration

func makeCaptureSession() throws -> AVCaptureSession

Discussion

The media environment must be activated before the capture session can be started.

See Also

Capturing media streams