Contents

analyze(_:)

Analyzes a time range of video content.

Declaration

func analyze(_ timeRange: CMTimeRange) throws

Parameters

  • timeRange:

    The time range to analyze. The value must be within the time range of the video asset.

Discussion

The system executes this method synchronously, so you typically call it from a separate dispatch queue. It returns when the video processor finishes analyzing the time range or if an error prevents processing.

See Also

Performing Requests