added removeServerConnectionConfig method

This commit is contained in:
Rasmus Krämer
2022-04-15 13:01:58 +02:00
parent 363bfd206c
commit 03c3f37e1e
5 changed files with 35 additions and 12 deletions
+2 -1
View File
@@ -57,7 +57,6 @@ class AudioPlayer: NSObject {
playerItem.addObserver(self, forKeyPath: #keyPath(AVPlayerItem.status), options: .new, context: &playerItemContext)
self.audioPlayer.replaceCurrentItem(with: playerItem)
seek(playbackSession.currentTime)
NSLog("Audioplayer ready")
}
@@ -259,6 +258,8 @@ class AudioPlayer: NSObject {
self.playWhenReady = false
self.play()
}
seek(playbackSession.currentTime)
}
}
} else if context == &playerContext {