Simple Voice Chat

Simple Voice Chat

31M Downloads

opus class not found on Apple Silicon M1 native aarm64 jdk client

jason-green-io opened this issue ยท 5 comments

commented

Please read the FAQ before submitting a bug report!

Bug description
Plugin on Apple Silicon M1 Macs using a native aarm64 jdk doesn't find opus class.

Steps to reproduce the issue
Connect to server with a native aarm64 client.
Logs complain about not finding opus.

Expected behavior
Plugin works as expected

Log files

https://gist.github.com/jason-green-io/47ef1d42dab647a469952214e285ec64

Versions

Other mods

Screenshots (Optional)
Screenshots of the issue.

commented

opus supports Apple Silicon, how difficult is it for you to create the required native? I may be able to create a universal dyld that includes aarm64 and x86 .. worse case, if I replace the native with a universal one in the jar, would that "just work"?

commented

opus supports Apple Silicon, how difficult is it for you to create the required native? I may be able to create a universal dyld that includes aarm64 and x86 .. worse case, if I replace the native with a universal one in the jar, would that "just work"?

If you are able to compile opus for darwin-arm, I can include it in the mod.

commented

How would you like me to send you the dylib?

I think the best thing would be if you can join our discord server:

https://discord.gg/4dH2zwTmyX

commented

How would you like me to send you the dylib?

Edit:
How about I create a pull request over at opus4j with an appropriately named native?

commented

There are currently no natives for Apple silicon. You need to run Minecraft with Rosetta.