mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-01-26 17:14:59 +01:00
Fix playback not in buffering if waiting for new chunks
This commit is contained in:
parent
9ab2d1afb0
commit
6bdf237cc9
@ -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 New Issue
Block a user