سؤال

I read a lot about opus-codec but I am not understanding how can I use that in my sample java application. Is there any .so file available for opus which can be used?If not then how?

هل كانت مفيدة؟

المحلول

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

The Jitsi project is a Java-based VOIP and chat client which has Opus support. This is implemented by using a binary libopus library with a Java wrapper.

نصائح أخرى

You would need to use JNA to create a wrapper around libopus that you can call from Java. I have done something like that in C#: http://opusdotnetinvoke.codeplex.com/ It should be easy to rewrite that C# code into Java.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top