Instance Method

canAddInputGroup:

Returns whether the receiver can add an input group.

Declaration

- (BOOL)canAddInputGroup:(AVAssetWriterInputGroup *)inputGroup;

Parameters

inputGroup

The asset writer input group to be added.

Return Value

YES if the receiver can add the inputGroup to inputGroups otherwise NO.

Discussion

If outputFileType specifies a container format that does not support mutually exclusive relationships among tracks, or if the specified instance of AVAssetWriterInputGroup contains inputs with media types that cannot be related, the group cannot be added.

See Also

Managing Asset Writer Input Groups

- addInputGroup:

Adds an asset writer input group instance to the asset writer.

inputGroups

An array containing the asset writer input groups added to the asset writer.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software