<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: 15.4.0 -",
    "macOS: 12.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreMediaIO",
  "identifier" : "/documentation/CoreMediaIO/CMIOExtensionStreamCustomClockConfiguration",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Media I/O"
    ],
    "preciseIdentifier" : "c:objc(cs)CMIOExtensionStreamCustomClockConfiguration"
  },
  "title" : "CMIOExtensionStreamCustomClockConfiguration"
}
-->

# CMIOExtensionStreamCustomClockConfiguration

An object that describes the parameters to create a custom clock on the host side.

```
class CMIOExtensionStreamCustomClockConfiguration
```

## Topics

### Creating a Clock Configuration

[`+ (instancetype) customClockConfigurationWithClockName:(NSString *) clockName sourceIdentifier:(NSUUID *) sourceIdentifier getTimeCallMinimumInterval:(CMTime) getTimeCallMinimumInterval numberOfEventsForRateSmoothing:(uint32_t) numberOfEventsForRateSmoothing numberOfAveragesForRateSmoothing:(uint32_t) numberOfAveragesForRateSmoothing;`](/documentation/CoreMediaIO/CMIOExtensionStreamCustomClockConfiguration/customClockConfigurationWithClockName:sourceIdentifier:getTimeCallMinimumInterval:numberOfEventsForRateSmoothing:numberOfAveragesForRateSmoothing:)

Returns a new a custom clock configuration.

[`init(clockName: String, sourceIdentifier: UUID, getTimeCallMinimumInterval: CMTime, numberOfEventsForRateSmoothing: UInt32, numberOfAveragesForRateSmoothing: UInt32)`](/documentation/CoreMediaIO/CMIOExtensionStreamCustomClockConfiguration/init(clockName:sourceIdentifier:getTimeCallMinimumInterval:numberOfEventsForRateSmoothing:numberOfAveragesForRateSmoothing:))

Creates a custom clock configuration.

### Inspecting the Configuration

[`var clockName: String`](/documentation/CoreMediaIO/CMIOExtensionStreamCustomClockConfiguration/clockName)

The name of the clock.

[`var sourceIdentifier: UUID`](/documentation/CoreMediaIO/CMIOExtensionStreamCustomClockConfiguration/sourceIdentifier)

A universally unique identifier for the clock.

[`var getTimeCallMinimumInterval: CMTime`](/documentation/CoreMediaIO/CMIOExtensionStreamCustomClockConfiguration/getTimeCallMinimumInterval)

A minimum call time interval for the clock.

[`var numberOfEventsForRateSmoothing: UInt32`](/documentation/CoreMediaIO/CMIOExtensionStreamCustomClockConfiguration/numberOfEventsForRateSmoothing)

The number of events to use for rate smoothing.

[`var numberOfAveragesForRateSmoothing: UInt32`](/documentation/CoreMediaIO/CMIOExtensionStreamCustomClockConfiguration/numberOfAveragesForRateSmoothing)

The number of averages to use for rate smoothing.

### Initializers

[`init?(coder: NSCoder)`](/documentation/CoreMediaIO/CMIOExtensionStreamCustomClockConfiguration/init(coder:))

## Relationships

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)