Contents

analyze(with:)

Analyzes the specifed time range of the video content.

Declaration

func analyze(with timeRange: CMTimeRange) throws

Parameters

  • timeRange:

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

Discussion

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

See Also

Performing Requests