renderedLegibleOutput(_:didOutputRenderedCaptionImages:forItemTime:)
Tells the delegate that new rendered caption images are available.
Declaration
optional func renderedLegibleOutput(_ output: AVPlayerItemRenderedLegibleOutput, didOutputRenderedCaptionImages captionImages: [AVRenderedCaptionImage], forItemTime itemTime: CMTime)Parameters
- output:
The rendered legible output object.
- captionImages:
An array of Avrenderedcaptionimage objects. A caption object consists of a Cvpixelbuffer Q2e and its associated position, in pixels, relative to the video frame.
- itemTime:
The item time at which to present the caption images.