sourceFrame(byTrackID:)
Returns a source pixel buffer for the track that contains the specified identifier.
Declaration
func sourceFrame(byTrackID trackID: CMPersistentTrackID) -> CVPixelBuffer?Parameters
- trackID:
The identifier of the track that contains the source frame.
Return Value
A pixel buffer, or nil if not found.