TechnologiesAudio

AVRouting

iOSmacOStvOSwatchOSvisionOS

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.

  • Cl
    AVCustomRoutingControlleriOS 16.0+
    An object that manages the connection from a device to a destination.
  • Pr
    AVCustomRoutingControllerDelegateiOS 16.0+
    A protocol for delegates of a custom routing controller.
  • Cl
    AVCustomRoutingActionItemiOS 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.

  • Cl
    AVCustomRoutingEventiOS 16.0+
    An object that represents an event that occurs on a route.
  • En
    AVCustomRoutingEventReason
    Values 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.

  • Cl
    AVCustomDeviceRouteiOS 16.0+
    An object that represents a custom device route.
  • Cl
    AVCustomRoutingPartialIPiOS 16.1+
    Represents a full or partial IP address.

Playback Arbitration 2

Coordinate playback among multiple participants sharing a custom route.

  • Cl
    AVRoutingPlaybackArbiteriOS 26.0+
    An object that manages playback routing preferences.
  • Pr
    AVRoutingPlaybackParticipantiOS 26.0+
    A protocol for objects that participate in playback routing arbitration.
← Audio