<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVDelegatingPlaybackCoordinator",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVDelegatingPlaybackCoordinator"
  },
  "title" : "AVDelegatingPlaybackCoordinator"
}
-->

# AVDelegatingPlaybackCoordinator

A playback coordinator subclass that coordinates the playback of custom player objects in a connected group.

```
class AVDelegatingPlaybackCoordinator
```

## Overview

This object coordinates the state of custom player objects, such as those that render media using [`AVSampleBufferDisplayLayer`](/documentation/AVFoundation/AVSampleBufferDisplayLayer) and [`AVSampleBufferAudioRenderer`](/documentation/AVFoundation/AVSampleBufferAudioRenderer), or that play audio using <doc://com.apple.documentation/documentation/AVFAudio/AVAudioEngine>.

Adopt the [`AVPlaybackCoordinatorPlaybackControlDelegate`](/documentation/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate) protocol so that your app responds to playback commands from the coordinator. The commands provide the details of a requested state change so you can control your player object accordingly.

![A diagram representing two devices that each contain representations of the app, AVDelegatingPlaybackCoordinator, playback control delegate, and custom playback object relationships. The two AVDelegatingPlaybackCoordinator items have a two-way dotted-line connection between the two devices.](images/com.apple.avfoundation/media-3783472@2x.png)

## Topics

### Creating a coordinator

[`init(playbackControlDelegate:)`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinator/init(playbackControlDelegate:))

Creates a playback coordinator for a custom playback object.

[`AVPlaybackCoordinatorPlaybackControlDelegate`](/documentation/AVFoundation/AVPlaybackCoordinatorPlaybackControlDelegate)

A protocol that defines the method to implement to respond to playback commands from the playback coordinator.

### Identifying items

[`currentItemIdentifier`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinator/currentItemIdentifier)

An identifier of the current item.

### Accessing the delegate

[`playbackControlDelegate`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinator/playbackControlDelegate)

The delegate object for the playback coordinator.

### Coordinating state changes

[`coordinateRateChange(to:options:)`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinator/coordinateRateChange(to:options:))

Coordinates a rate change across all participants, waiting for others to become ready, if necessary.

[`coordinateSeek(to:options:)`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinator/coordinateSeek(to:options:))

Coordinates a seek to the specified time for all connected participants.

[`transitionToItem(withIdentifier:proposingInitialTimingBasedOn:)`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinator/transitionToItem(withIdentifier:proposingInitialTimingBasedOn:))

Tells the coordinator to transition to a new item.

[`reapplyCurrentItemStateToPlaybackControlDelegate()`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinator/reapplyCurrentItemStateToPlaybackControlDelegate())

Tells the coordinator to reissue current play state commands to synchronize the current item to the state of other participants.

[`AVDelegatingPlaybackCoordinatorSeekOptions`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinatorSeekOptions)

Constants that define seek options.

[`AVDelegatingPlaybackCoordinatorRateChangeOptions`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinatorRateChangeOptions)

Constants that define rate change options.

### Playback commands

[`AVDelegatingPlaybackCoordinatorPlaybackControlCommand`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinatorPlaybackControlCommand)

An abstract superclass for playback commands.

[`AVDelegatingPlaybackCoordinatorPlayCommand`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinatorPlayCommand)

A command that indicates to play at a specific rate and time.

[`AVDelegatingPlaybackCoordinatorPauseCommand`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinatorPauseCommand)

A command that indicates to pause playback.

[`AVDelegatingPlaybackCoordinatorSeekCommand`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinatorSeekCommand)

A command that indicates to seek to a new time in the item timeline.

[`AVDelegatingPlaybackCoordinatorBufferingCommand`](/documentation/AVFoundation/AVDelegatingPlaybackCoordinatorBufferingCommand)

A command that indicates to start buffering data in preparation for playback.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)