         }
     }
 
-    private func handleExternalPlaybackActiveEvent() {
-        guard let isExternalPlaybackActive = player?.isExternalPlaybackActive else { return }
-
-        if isExternalPlaybackActive {
-            enableBackgroundSession()
-        } else {
-            restoreBackgroundSession()
-        }
-        trigger(.didUpdateAirPlayStatus, userInfo: ["externalPlaybackActive": isExternalPlaybackActive])
-    }
-
     func handleDvrAvailabilityChange() {
         if lastDvrAvailability != isDvrAvailable {
             trigger(.didChangeDvrAvailability, userInfo: ["available": isDvrAvailable])

        handleDvrAvailabilityChange()
    }

    private func didFinishedItem(from notification: NSNotification?) -> Bool {
        guard let object = notification?.object as? AVPlayerItem,
            let item = player?.currentItem,

        }
    }

    @objc internal func seekOnReadyIfNeeded() {
        if let timeToSeek = seekToTimeWhenReadyToPlay {
            seek(timeToSeek)
