[RUBY] What to do if audio is not available on discordrb

environment

I get this error at startup!

libsodium not available! You can continue to use discordrb as normal but voice support won't work.
Read https://github.com/shardlab/discordrb/wiki/Installing-libsodium for more details.

Coping

The method described in the URL does not solve it no matter how many times it is done (probably because of the explanation for x64-mingw32 version Ruby). Rename the ** libsodium.dllfor ** 32bit ** tosodium.dll in C: \ Windows \ SysWOW64instead ofC: \ Windows \ System32`.

If libopus is not included, you should rename libopus.dll to opus.dll.

Afterword

I couldn't find this kind of information with my search ability, and after a few days of trouble, I finally realized it after trial and error (laughs). I wondered if the developers would understand this as a matter of course, and I thought I had to work harder.

Reference URL

libsodium: https://download.libsodium.org/libsodium/releases/ libopus: https://dsharpplus.github.io/natives/index.html

Recommended Posts

What to do if audio is not available on discordrb
What to do if FacesMessage is set but not displayed
[Ubuntu 20.04] What to do if the external monitor is not recognized
[Rails] What to do if data is not registered in DB
What to do if the background image is not applied after deployment
What to do if the prefix c is not bound in JSP
What to do if deployment fails on Heroku (Ruby app not detected)
What to do if TextToSpeech doesn't work on Android 11
[Swift] What to do if the app icon is set but not reflected
What to do if the breakpoint is shaded and does not stop during debugging
What to do if Cloud9 is full in the Rails tutorial
What to do if the Eclipse Maven dependency Jar is wrong
[Logback] What to do if unnecessary files do not disappear during rotation
What to do if you install Ubuntu
[Spring Boot] What to do if an HttpMediaTypeNotAcceptableException occurs on an endpoint for which produces is set
[Note] What to do if bundle install in Chapter 3 of the rails tutorial is not possible
What to do if the app is not created with the latest Rails version installed when rails new
What to do if changes are not reflected after automatic deployment to EC2
no space left on device What to do if an error occurs
Notes on what to do when EC2 is set up with t2.micro
What to do if tomcat process remains when tomcat is stopped in eclipse
What to do if you get a MiniMagick vulnerability alert on GitHub
What to do if you push incorrect information
What to do if mvn archetype: generate fails
What to do when debugging "Source not found"
What to do if Operation not permitted is displayed when you execute a command in the terminal
What to do if you get a SQLite3 :: BusyException: database is locked error
What to do if you get Could not locate Gemfile or .bundle / directory
What to do if the changes are not reflected in the jar manifest file
What to do if you have installed Java for OS X on macOS
What to do if Docker Desktop fails to launch on your M1 MacBook Pro
What to do if you get an error on heroku rake db: migrate
What to do when is invalid because it does not start with a'-'
What to do if the rails server doesn't run out on AWS cloud9
What to do if the Rails server can't start
What to do if ClassNotFoundException occurs when starting Tomcat
What to do if rails server can't be stopped
What to do if you accidentally create a model
What to do if an ActionController :: UnknownFormat error occurs
What to do if password authentication fails in Docker/Postgres
ParseException: What to do when Unparseable date is reached
What to do if the update does not take effect after deploying Rails AWS
What to do if you get a NoClassDefFoundError when trying to run eclipse on Java9
What to do if the JSONHint annotation does not work with lombok and JSONIC
What to do if you get a port error when docker-compose up on Mac
[Joke] What to do when the invalid sample rate is reached when using Mixxx on Ubuntu 20.04
What to do if you get a java.io.IOException in GlassFish
What to do when Method not found in f: ajax
What to do if you enable UFW on Ubuntu VM on GCP and you can't connect to SSH
What to do if you installed Ruby with rbenv but the version does not change
# What to do if you accidentally do rails db: migrate: drop
[Maven] What to do if you are asked to incorporate a jar that is not in the remote repository into the war
What to do if a SAX Parser error occurs when using Liferay 7 / DXP on AWS
Introduction to Ratpack (1) --What is Ratpack?
What to do if the adb command cannot be executed
What to do if mysql2 gets a bundle install error
What to do when Rails on Docker does not reflect controller changes in the browser
What to do if you can't use the rails command
Notes on what to do if Ubuntu 20.04 installation on Virtual box 6.1 (Windows10) fails with "Error 5 Input / output error"
What to do if you go offline due to SSL certificate error when running Jenkins on Mac
[Java] What to do if a lot of "File is opened too much" is displayed due to FileNotFoundException