Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reveived audio is silent #1439

Closed
2 of 3 tasks
dangeol opened this issue Nov 9, 2020 · 2 comments
Closed
2 of 3 tasks

Reveived audio is silent #1439

dangeol opened this issue Nov 9, 2020 · 2 comments

Comments

@dangeol
Copy link

dangeol commented Nov 9, 2020

Received audio provided by CombinedAudio object seems to be always silent since about a week. Have there been changes in the Discord API? I recently upgraded to the latest JDA version to fix another issue, and something might have gone wrong. That is why I am not sure whether the problem is really coming from JDA / Discord.

General Troubleshooting

  • I have checked for similar issues.
  • I have updated to the latest JDA version
  • I have checked the wiki and especially the FAQ section for similar questions.

Question

Example Code

https://gitlab.com/sirimangalo/voice-recorder

@MinnDevelopment
Copy link
Member

MinnDevelopment commented Nov 9, 2020

Try enabling member cache for voice members. This is done by default in createDefault as seen and explained in our example. You can do this manually with setMemberCachePolicy(MemberCachePolicy.VOICE) on your JDABuilder instance.

For the future, please use the bug report template.

See also #904

@dangeol
Copy link
Author

dangeol commented Nov 9, 2020

Thanks a lot @MinnDevelopment , following the code in your example did the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants