How can I use Opus-Codec in my Java application

I read a lot about the opus codec, but I donโ€™t understand how to use it in my java application example. Is there any .so file for opus that can be used? If not, how?

+4
source share
2 answers

There is currently no (at the time of writing) any native Java library for Opus.

The Jitsi project is a VOIP VoIP client and chat that supports Opus. This is implemented using the libopus binary library with a Java shell .

+7
source

You will need to use JNA to create a wrapper around libopus that you can invoke with Java. I did something similar in C #: http://opusdotnetinvoke.codeplex.com/ It should be easy to rewrite this C # code in Java.

+1
source

Source: https://habr.com/ru/post/1486629/


All Articles