Contents

inputTaggedPixelBufferGroupReceiver(for:pixelBufferAttributes:)

Attaches the input to the writer and returns an input receiver for writing tagged pixel buffers.

Declaration

func inputTaggedPixelBufferGroupReceiver(for input: AVAssetWriterInput, pixelBufferAttributes attributes: CVPixelBufferCreationAttributes?) -> sending AVAssetWriterInput.TaggedPixelBufferGroupReceiver

Parameters

  • input:

    The input to be attached to the writer.

  • attributes:

    The attributes of pixel buffers that will be vended by the input provider’s pixel buffer pool.

Return Value

A writer input receiver with an interface for writing pixel buffers.

See Also

Configuring input receivers