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