itemTime(for:)
Converts a Core Video timestamp to the item’s timebase.
Declaration
func itemTime(for timestamp: CVTimeStamp) -> CMTimeParameters
- timestamp:
A timestamp value provided by the Core Video framework.
Return Value
The equivalent time in the item’s timebase.