---
title: "startSession(configuration:)"
framework: videotoolbox
role: symbol
role_heading: Instance Method
path: "videotoolbox/vtframeprocessor/startsession(configuration:)"
---

# startSession(configuration:)

Starts a new session and configures the processor pipeline.

## Declaration

```swift
func startSession(configuration: any VTFrameProcessorConfiguration) throws
```

## Parameters

- `configuration`: A configuration object for the video effect that will be applied in the subsequent processing calls.

## See Also

### Processing frames

- [process(parameters:)](videotoolbox/vtframeprocessor/process(parameters:).md)
- [process(parameters:completionHandler:)](videotoolbox/vtframeprocessor/process(parameters:completionhandler:).md)
- [process(with:parameters:)](videotoolbox/vtframeprocessor/process(with:parameters:).md)
- [endSession()](videotoolbox/vtframeprocessor/endsession().md)
