Contents

add(_:)

Adds the specified player item output object to the receiver.

Declaration

nonisolated func add(_ output: AVPlayerItemOutput)

Parameters

  • output:

    The player item output object to associate with the item.

Discussion

When you add an AVPlayerItemOutput object to an item, the samples associated with that output object are processed according to the rules for mixing, composing, or excluding content that the AVPlayer object honors for the specific media type. For example, video media is composed according to the instructions provided by the player item’s video composition object and audio media is mixed according to the parameters of its audio mix object.

See Also

Related Documentation

Managing player item outputs