VB: Support live playback

from the beginning or with go live
This commit is contained in:
manuroe
2022-10-20 12:25:23 +02:00
parent cc39c8511e
commit 64d4a91463
2 changed files with 47 additions and 4 deletions
@@ -114,6 +114,10 @@ class VoiceMessageAudioPlayer: NSObject {
}
}
func removeAllPlayerItems() {
audioPlayer?.removeAllItems()
}
func unloadContent() {
url = nil
audioPlayer?.replaceCurrentItem(with: nil)