mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 20:10:04 +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…
Add table
Reference in a new issue