You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I double checked the docs and couldn't find any useful information.
Verify Issue Source
I verified the issue was caused by Discord.Net.
Check your intents
I double checked that I have the required intents.
Description
I've been following the streaming audio library tutorial available here. While the audio streaming, if the bot changes voice channel then the stream is interrupted throwing an OperationCancelledException error. In previous versions this did not happen and was managed correctly.
Version
3.11.0
Working Version
No response
Logs
The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Threading.SemaphoreSlim.d__31.MoveNext()
at Discord.Audio.Streams.BufferedWriteStream.d__22.MoveNext()
at Discord.Audio.Streams.OpusEncodeStream.d__8.MoveNext()
at System.IO.Stream.<g__Core|29_0>d.MoveNext()
Check The Docs
Verify Issue Source
Check your intents
Description
I've been following the streaming audio library tutorial available here. While the audio streaming, if the bot changes voice channel then the stream is interrupted throwing an OperationCancelledException error. In previous versions this did not happen and was managed correctly.
Version
3.11.0
Working Version
No response
Logs
The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at System.Threading.SemaphoreSlim.d__31.MoveNext()
at Discord.Audio.Streams.BufferedWriteStream.d__22.MoveNext()
at Discord.Audio.Streams.OpusEncodeStream.d__8.MoveNext()
at System.IO.Stream.<g__Core|29_0>d.MoveNext()
Sample
Packages
NET 6.0
The text was updated successfully, but these errors were encountered: