---
title: "readCamera(configuration:)"
framework: createmlcomponents
role: symbol
role_heading: Type Method
path: "createmlcomponents/videoreader/readcamera(configuration:)"
---

# readCamera(configuration:)

Reads an async sequence of video frames captured with a video camera.

## Declaration

```swift
static func readCamera(configuration: VideoReader.CameraConfiguration) async throws -> VideoReader.CameraAsyncBuffers
```

## Parameters

- `configuration`: The camera configuration

## Return Value

Return Value An async sequence of camera video frames.

## See Also

### Reading

- [read(_:)](createmlcomponents/videoreader/read(_:).md)
- [read(contentsOf:)](createmlcomponents/videoreader/read(contentsof:).md)
- [VideoReader.AsyncFrames](createmlcomponents/videoreader/asyncframes.md)
- [VideoReader.CameraAsyncBuffers](createmlcomponents/videoreader/cameraasyncbuffers.md)
- [VideoReader.CameraConfiguration](createmlcomponents/videoreader/cameraconfiguration.md)
