inputCaptionReceiver(for:)
Attaches the input to the writer and returns an input receiver for writing caption data.
Declaration
func inputCaptionReceiver(for input: AVAssetWriterInput) -> sending AVAssetWriterInput.CaptionReceiverParameters
- input:
The input to be attached to the writer.
Return Value
A writer input receiver with an interface for writing caption data.
See Also
Configuring input receivers
inputReceiver(for:)inputCaptionReceiverRequestingMultiPass(for:)inputMetadataReceiver(for:)inputMetadataReceiverRequestingMultiPass(for:)inputPixelBufferReceiver(for:pixelBufferAttributes:)inputPixelBufferReceiverRequestingMultiPass(for:pixelBufferAttributes:)inputReceiverRequestingMultiPass(for:)inputTaggedPixelBufferGroupReceiver(for:pixelBufferAttributes:)inputTaggedPixelBufferGroupReceiverRequestingMultiPass(for:pixelBufferAttributes:)