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

missing symbol called #2

Closed
kholiavko-roman opened this issue Dec 24, 2024 · 8 comments
Closed

missing symbol called #2

kholiavko-roman opened this issue Dec 24, 2024 · 8 comments

Comments

@kholiavko-roman
Copy link

kholiavko-roman commented Dec 24, 2024

When attempting to migrate to a new version using Opus for audio, we encounter a missing symbol called error on macOS M1.

image

@discordjs/opus does not seem to work with Apple silicon. The same issue has been reported to the repository discordjs/opus#165 but since the project has no active maintainers, it was not fixed.

Also, @discordjs/opus has a high severity vulnerability GHSA-43wq-xrcm-3vgr

In our project, as a workaround, we tried to override the @discordjs/opus dependency to https://www.npmjs.com/package/mediaplex, and it looks okay so far.

Any chances to migrate to another library instead of @discordjs/opus to solve this problems?

@kholiavko-roman
Copy link
Author

@tylerlong could you please take a look?

@twlite
Copy link

twlite commented Dec 27, 2024

mediaplex is a drop-in replacement for discordjs/opus so this should be as easy as changing the import statement

@kholiavko-roman
Copy link
Author

Yeah, it should be, but it could be some minor nuances that only the author knows about

@twlite
Copy link

twlite commented Dec 27, 2024

I have left a pr, rest is up to the author #5

@tylerlong
Copy link
Contributor

I am aware of this issue now: "@discordjs/opus does not seem to work with Apple silicon."

Let me see what I can do.

@kholiavko-roman
Copy link
Author

kholiavko-roman commented Jan 6, 2025

Thanks

@kholiavko-roman
Copy link
Author

By the way, I think we tested @discordjs/opus, and it worked fine on a Mac with Apple silicon.

@tylerlong
Copy link
Contributor

tylerlong commented Jan 6, 2025

I released a new version and replaced @discordjs/opus with @evan/opus.

mediaplex produced audio file with bad quality so I didn't use it.

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

Successfully merging a pull request may close this issue.

3 participants