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) {
|
if (!isLiveListening && mostRecentVoiceBroadcastEvent?.content?.lastChunkSequence == playlist.currentSequence) {
|
||||||
// We'll not receive new chunks anymore so we can stop the live listening
|
// We'll not receive new chunks anymore so we can stop the live listening
|
||||||
stop()
|
stop()
|
||||||
|
} else {
|
||||||
|
playingState = State.BUFFERING
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user