Adds the specified player item output object to the receiver.
- iOS 6.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The player item output object to associate with the item.
When you add an
AVPlayer 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.