Fix playback not in buffering if waiting for new chunks

This commit is contained in:
Florian Renaud 2022-11-29 10:54:31 +01:00
parent 9ab2d1afb0
commit 6bdf237cc9
1 changed files with 2 additions and 0 deletions

View File

@ -434,6 +434,8 @@ class VoiceBroadcastPlayerImpl @Inject constructor(
if (!isLiveListening && mostRecentVoiceBroadcastEvent?.content?.lastChunkSequence == playlist.currentSequence) {
// We'll not receive new chunks anymore so we can stop the live listening
stop()
} else {
playingState = State.BUFFERING
}
}