---
title: "channelID(_:)"
framework: coremedia
role: symbol
role_heading: Type Method
path: "coremedia/cmtag-swift.class/channelid(_:)"
---

# channelID(_:)

Creates a new channel ID tag from an integer.

## Declaration

```swift
static func channelID(_ value: Int64) -> CMTypedTag<Int64>
```

## Parameters

- `value`: The channel ID for the tag.

## Return Value

Return Value A new typed tag containing a channel ID of value.

## See Also

### Creating Tags

- [mediaSubType(_:)](coremedia/cmtag-swift.class/mediasubtype(_:).md)
- [mediaType(_:)](coremedia/cmtag-swift.class/mediatype(_:).md)
- [packingType(_:)](coremedia/cmtag-swift.class/packingtype(_:).md)
- [pixelFormat(_:)](coremedia/cmtag-swift.class/pixelformat(_:).md)
- [projectionType(_:)](coremedia/cmtag-swift.class/projectiontype(_:).md)
- [stereoView(_:)](coremedia/cmtag-swift.class/stereoview(_:).md)
- [stereoViewInterpretation(_:)](coremedia/cmtag-swift.class/stereoviewinterpretation(_:).md)
- [trackID(_:)](coremedia/cmtag-swift.class/trackid(_:).md)
- [videoLayerID(_:)](coremedia/cmtag-swift.class/videolayerid(_:).md)
- [init(rawCategory:rawTagValue:)](coremedia/cmtag-swift.class/init(rawcategory:rawtagvalue:).md)
