---
title: GetStreamDirection
framework: VideoDriverKit
role: symbol
role_heading: Instance Method
platforms: [driverkit 27.0+]
path: videodriverkit/iouservideostream/getstreamdirection
---

# GetStreamDirection

Gets the direction of the stream.

## Declaration

```occ
IOUserVideoStreamDirection GetStreamDirection();
```

## See Also

### Working with stream formats

- [SetCurrentStreamFormat](videodriverkit/iouservideostream/setcurrentstreamformat.md)
- [GetCurrentStreamFormat](videodriverkit/iouservideostream/getcurrentstreamformat.md)
- [SetAvailableStreamFormats](videodriverkit/iouservideostream/setavailablestreamformats.md)
- [GetAvailableStreamFormats](videodriverkit/iouservideostream/getavailablestreamformats.md)
- [GetNumberAvailableStreamFormats](videodriverkit/iouservideostream/getnumberavailablestreamformats.md)
- [IOUserVideoStreamBasicDescription](videodriverkit/videodriverkit/iouservideostreambasicdescription.md)
- [IOUserVideoStreamDirection](videodriverkit/videodriverkit/iouservideostreamdirection.md)
- [SetStreamIsActive](videodriverkit/iouservideostream/setstreamisactive.md)
- [GetStreamIsActive](videodriverkit/iouservideostream/getstreamisactive.md)
