serenity-rs/songbird

Input creation takes "forever".

Bloectasy opened this issue · 1 comments

Songbird version: Next

Rust version (rustc -V):
rustc 1.62.0-nightly (77652b9ef 2022-05-06)

Serenity/Twilight version: Serenity version 0.11.1

Output of ffmpeg -version, youtube-dl --version (if relevant):
Not relevant

Description:
The creation of an Input takes forever. The thread is being locked cause of the asynchronous call and doesn't make the Input for a long time (I have waited over 20 minutes and nothing has happened not even an error). This only occurs sometimes its not 100% persistent and I'm not aware of what makes it trigger.

Steps to reproduce:
There isn't really something to reproduce resolving the Future by awaiting it locks the thread.

songbird::input::ytdl(String).await

We've significantly reworked how audio functions from v0.4.x onwards, so I'm not sure that this issue persists.