For what it's worth, I am able to get SharePlay to work with a AVPlayer based system (custom controls). The logic is that after we receive the activity, we create our player and during the process of configuring the player, if there is a group session we attach it to the playbackCoordinator. Hope that helps.
if #available(iOS 15, *) {
if let session = CoordinationManager.shared.groupSession {
player.playbackCoordinator.coordinateWithSession(session)
}
}
Topic:
App & System Services
SubTopic:
General
Tags: