canAdd(_:)
Determines whether you can add the output to the asset reader.
Declaration
func canAdd(_ output: AVAssetReaderOutput) -> BoolParameters
- output:
The asset reader output to test.
Return Value
Discussion
You may only add outputs that retrieve media data from the asset that you associate with the asset reader.