copyCloseCaptionData(_:frameCount:)
Returns a list of closed-caption tracks associated with the specified video frames.
Declaration
func copyCloseCaptionData(_ startFrame: Int64, frameCount: Int64) -> [AnyHashable : Any]!Parameters
- startFrame:
The frame number at which to start collecting the closed-caption data.
- frameCount:
The number of frames to retrieve the closed-caption data from.
Return Value
nil if closed-caption data is not available. Otherwise, it returns a dictionary with a frame number as the key, and a value that’s an array of 16-bit integers representing the closed-caption data.