duration
The duration of the media associated with this metadata object.
Declaration
var duration: CMTime { get }Discussion
For metadata originating from a sample buffer (CMSampleBuffer), the duration reflects the duration of the sample buffer. If there is no valid duration value associated with the metadata, this property should contain invalid.