---
title: AVSystemRouteSession
framework: avsystemrouting
role: symbol
role_heading: Class
path: avsystemrouting/avsystemroutesession-gp78
---

# AVSystemRouteSession

An object that manages a single media playback session on a remote device.

## Declaration

```swift
final class AVSystemRouteSession
```

## Mentioned in

Routing and streaming media to remote devices Routing media to third-party devices

## Overview

Overview AVSystemRouteSession manages a single media playback session on a remote device. Create a session to initiate playback on a connected device, communicate with a remote application, and control the lifecycle of the remote playback experience. To use a session: Create an AVSystemRouteSession with a URL and launch mode Add the session to an AVSystemRoute using addSession(_:) Start the session with start() Use the returned AVSystemRouteMediaSession to communicate with the remote device Call stop() when playback ends to clean up resources Sessions are single-use. After calling stop(), the session cannot be restarted or added to another route. Create a new AVSystemRouteSession for each new playback. Reporting Playback Metadata Report playback metadata to MPNowPlayingInfoCenter to ensure the system displays accurate information about the current media across a person’s devices and in system UI.

## Topics

### Initializers

- [init(url:mode:)](avsystemrouting/avsystemroutesession-gp78/init(url:mode:).md)

### Instance Methods

- [start()](avsystemrouting/avsystemroutesession-gp78/start().md)
- [stop()](avsystemrouting/avsystemroutesession-gp78/stop().md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Routes and sessions

- [AVSystemRoute](avsystemrouting/avsystemroute-5s2um.md)
- [AVSystemRoute.LaunchMode](avsystemrouting/avsystemroute-5s2um/launchmode.md)
- [AVSystemRouteLaunchMode](avsystemrouting/avsystemroutelaunchmode.md)
