<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptionConversionValidator/timeRange",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptionConversionValidator(py)timeRange"
  },
  "title" : "timeRange"
}
-->

# timeRange

The time range of the media timeline in which the captions must exist.

```
var timeRange: CMTimeRange { get }
```

## Discussion

If captions need to appear only after the start of the associated media, the start time of this time range can be less than the start time of the first caption’s time range.

If the media duration is unknown, this time range can have a duration of <doc://com.apple.documentation/documentation/CoreMedia/CMTime/positiveInfinity>. However, to comprehensively validate the conversion of closed captions, set the duration of the time range to the duration of the associated media.

---

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)