mirror of
https://github.com/element-hq/element-android
synced 2024-10-23 03:06:33 +03:00
Fix playback not in buffering if waiting for new chunks
This commit is contained in:
parent
9ab2d1afb0
commit
6bdf237cc9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue