Contents

expectsMediaDataInRealTime

A Boolean value that indicates whether the input tailors its processing for real-time sources.

Declaration

var expectsMediaDataInRealTime: Bool { get set }

Discussion

Set this value to true if your app appends media data to the input from a real-time source, such as an AVCaptureOutput. Setting a true value optimizes the input for real-time usage so it accurately calculates the state of its isReadyForMoreMediaData property value.

You can’t set this value after writing starts.

See Also

Appending media samples