Open Snipy7374 opened 1 year ago
Can't reproduce after several tries (Ubuntu 22.04, ffmpeg 4.4.2), how reliably does this occur for you? Sounds like a (fairly harmless) race condition, in any case.
Can't reproduce after several tries (Ubuntu 22.04, ffmpeg 4.4.2), how reliably does this occur for you? Sounds like a (fairly harmless) race condition, in any case.
mb, I think it probably only affects Windows users
tomorrow I'll update the issue with version informations
I've added System informations
Summary
When using a
FFmpegPCMAudio
audio source with asource
that represent a non file-like object (e.g a url) and when disconnecting from aVoiceChannel
you get anOSError
.This bug was found while trying to test more
Reproduction Steps
Connect to a
VoiceChannel
Start playing something usingFFmpegPCMAudio
as audio source with asource
that does't represent a file-like object Disconnect from theVoiceChannel
usingawait VoiceClient.disconnect()
Minimal Reproducible Code
Expected Results
The bot should disconnect from the VoiceChannel succesfully without raising any error
Actual Results
The bot raise an error, full traceback below:
Intents
Irrelevants
System Information
Checklist
Additional Context
I think that the problem is related to the stream of bytes coming from FFmpeg or some bug/problem occurred while trying to stop the stream