diff --git a/Sources/SwiftAudioEx/AVPlayerWrapper/AVPlayerWrapper.swift b/Sources/SwiftAudioEx/AVPlayerWrapper/AVPlayerWrapper.swift index a7b168e..fa4e124 100755 --- a/Sources/SwiftAudioEx/AVPlayerWrapper/AVPlayerWrapper.swift +++ b/Sources/SwiftAudioEx/AVPlayerWrapper/AVPlayerWrapper.swift @@ -299,12 +299,13 @@ class AVPlayerWrapper: AVPlayerWrapperProtocol { item.preferredForwardBufferDuration = self.bufferDuration self.avPlayer.replaceCurrentItem(with: item) self.startObservingAVPlayer(item: item) - self.applyAVPlayerRate() if let initialTime = self.timeToSeekToAfterLoading { self.timeToSeekToAfterLoading = nil self.seek(to: initialTime) } + + self.applyAVPlayerRate() } }) }