How to link (opus) external / third-party codec with pjsip for ios

I am creating an application for ios that uses the pjsip library, but I want to use opus as a codec. I could not find a source that explains how to do this. Someone can help.

Can anyone tell both steps related to compiling an opus codec and then use it with pjsip.

Also, if possible, could someone give a link for libopus.a , which was compiled for the i386 architecture . I believe this might work if I can get hold of this library.

+4
source share
1 answer

The short answer is simply to copy from what csipsimple has already been done. Altho csipsimple is based on androids, the integration of opus (or any codec) will work on any platform for which you can compile the codec. For opus, you can compile it for almost any platform you need.

OPUS actually provides functions for which pjsip does not have an API. Thus, the current integration cannot fully use the opus codec. Even with this suboptimal integration, I found that opus works fine in pjsip.

0
source

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


All Articles