Contents

itemTime(for:)

Converts a Core Video timestamp to the item’s timebase.

Declaration

func itemTime(for timestamp: CVTimeStamp) -> CMTime

Parameters

  • timestamp:

    A timestamp value provided by the Core Video framework.

Return Value

The equivalent time in the item’s timebase.

See Also

Time conversion