-
Notifications
You must be signed in to change notification settings - Fork 254
Description
Describe the problem
After multiple failures to load the next segment from a streaming service, Kodi will keep playing back the last used audio buffer, causing a very loud and annoying stuttering sound (remember when old PC games crashed?). I thought this is related to #1629 but it's still happening with ISA 21.5.2.
I'm not asking you to fix the rotten backend, but when running out of audio data, Kodi should stop playback instead of just repeating the last sample buffer.
Unfortunately it's not possible to reproduce by merely disconnecting the running Kodi from the Internet, in that case it will properly pause playback, so a HTTP 502 response seems to trigger a different code path in ISA/Kodi.
Possible fix
No response
Steps to reproduce
- Run a video from a streaming service
- Wait for the streaming service backend to fail on a URL multiple times with HTTP 502
- Wake up from loud audio stuttering
Debug log
https://paste.kodi.tv/alagajalet.kodi
log.txt
Stream manifest file(s)
No response
Additional info
Relevant log timestamps:
- 2024-08-20 00:21:13.722 T:21133 start of playback of the video
- 2024-08-20 00:31:38.618 T:21143 first HTTP error 502
- 2024-08-20 00:31:50.240 T:31275 stuttering begins
- 2024-08-20 00:31:57.773 T:31266 I press the [stop] key, stuttering stops
Operating system(s)
Linux
Operating system version(s)
Arch Linux / ALARM
InputStream Adaptive version(s)
21.5.2
Kodi version(s)
21.0