AVRouting lets apps present and manage custom audio and video playback routes to external devices over the network. You use AVCustomRoutingController and its delegate to surface available routes, respond to user selections with AVCustomRoutingActionItem and AVCustomRoutingEvent, and resolve connections through AVCustomDeviceRoute and AVCustomRoutingPartialIP. The framework also coordinates playback among participants through AVRoutingPlaybackArbiter and the AVRoutingPlaybackParticipant protocol.
Custom Routing 3
Present available custom playback routes and respond to user selections through a controller and its delegate.
- ClAVCustomRoutingControlleriOS 16.0+An object that manages the connection from a device to a destination.
- PrAVCustomRoutingControllerDelegateiOS 16.0+A protocol for delegates of a custom routing controller.
- ClAVCustomRoutingActionItemiOS 16.0+An object that represents a custom action item to display in a device route
Route Events 2
Describe the user interactions that trigger route activation or deactivation.
- ClAVCustomRoutingEventiOS 16.0+An object that represents an event that occurs on a route.
- EnAVCustomRoutingEventReasonValues that indicate the reason for a routing event.
Device Routes and Connections 2
Identify external devices and resolve the network connections used to reach them.
- ClAVCustomDeviceRouteiOS 16.0+An object that represents a custom device route.
- ClAVCustomRoutingPartialIPiOS 16.1+Represents a full or partial IP address.
Playback Arbitration 2
Coordinate playback among multiple participants sharing a custom route.
- ClAVRoutingPlaybackArbiteriOS 26.0+An object that manages playback routing preferences.
- PrAVRoutingPlaybackParticipantiOS 26.0+A protocol for objects that participate in playback routing arbitration.