---
title: captureSession
framework: speech
role: symbol
role_heading: Instance Property
path: speech/captureinputsequenceprovider/capturesession
---

# captureSession

The underlying capture session.

## Declaration

```swift
final var captureSession: AVCaptureSession { get }
```

## Discussion

Discussion This property’s value is the new capture session created by providerWithSession(from:compatibleWith:priority:) or the existing capture session passed to provider(from:in:compatibleWith:priority:) or the initializer. Use the methods of AVCaptureSession to start, stop, or manage the capture session.

## See Also

### Working with a capture session

- [captureAudioDataOutput](speech/captureinputsequenceprovider/captureaudiodataoutput.md)
