Вы можете попробовать
@objc func playerDidFinishPlaying( _ sender: Notification) {
if let _ = sender.object as? Player1 {
}
}
NotificationCenter.default.addObserver(self, selector: #selector(playerDidFinishPlaying(_:)) , name: NSNotification.Name.AVPlayerItemDidPlayToEndTime, object: nil)