Add play audio sample#3266
Conversation
|
Hey We have an existing doc page that is lacking in that regard. It was never fully refined and is also using old language constructs, while more modern approaches exist. I also would suggest using a package manager like winget on windows/ apt/yum/other ones on linux. It generally leads to better user experience not having to. |
|
Hello, I understand the concern about downloading and running third-party programs. My idea in creating this example is to make it as user-friendly as possible, like I've seen in other audio libraries, and to keep it always up-to-date. The binaries are obtained from their official sites: Ffmpeg is obtained from the public link on its official website, libdave is taken from the official Discord repository, and Opus is obtained from this repository. Therefore, they can be considered reliable, and these links are referenced in the Discord.NET documentation. Furthermore, anyone can view the code and see what will be downloaded. I can modify it to support Linux systems when downloading the binaries, if possible. I await your instructions on what changes to make :) |
|
Hey Regarding the PR. I'm not particularly familiar with the sites, so i did not recognize them; nor will a regular lib user. Also Linux is the primary platform the lib will likely be used on, so support for one in the sample would be appreciated :3 |
|
Done :3 |
Description
An example of audio playback in a voice channel has been added.