Instance Property

expectsMediaDataInRealTime

A Boolean value that indicates whether the input should tailor its processing of media data for real-time sources.

Declaration

@property(nonatomic) BOOL expectsMediaDataInRealTime;

Discussion

If you are appending media data to an input from a real-time source, such as an AVCaptureOutput, you should set expectsMediaDataInRealTime to YES. This will ensure that readyForMoreMediaData is calculated appropriately for real-time usage.

You cannot set this property after writing has started.

See Also

Configuring a Writer Input

metadata

The collection of track-level metadata to associate with the asset and for carriage in the output file.

transform

The transform specified in the output file as the preferred transformation of the visual media data for display purposes.

mediaTimeScale

Specifies the media time scale to be used.

marksOutputTrackAsEnabled

Returns whether the receiver’s track is enabled.

naturalSize

Size specified in the output file as the natural dimensions of the visual media data for display.

preferredVolume

The preferred volume level for storing in the output file.