Contents

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.SampleBufferReceiver

Parameters

  • 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