---
title: VTCompressionSessionGetTypeID()
framework: videotoolbox
role: symbol
role_heading: Function
path: videotoolbox/vtcompressionsessiongettypeid()
---

# VTCompressionSessionGetTypeID()

Retrieves the Core Foundation type identifier for the compression session.

## Declaration

```swift
func VTCompressionSessionGetTypeID() -> CFTypeID
```

## Return Value

Return Value The CFTypeID of the compression session object.
