How to integrate Linphone into an existing project

2019-01-16 21:08发布

问题:

I am looking for integrate Linphone library in my ios project. And I dont find tutorial to help me. This project offers very little documentation, but seems to work well.

  • For information, here is the project page which provides its open source code :

    Linphone open source code

  • I already compiled sources by following all steps and this work very well, But the next step is to integrate a part of code in my personal iPhone project for use SIP layer, with the management of audio and video.

In the case of my use, it will not be the user but the application that will automatically call if needed (my project is for home automation system).

The Linphone application seems very complex to integrate into other projets, because there is a lot of library to include and lot of configurations ...

I have not found any examples on the internet and I confess I do not know where to start without help, without a way to do the integration.

So if you have any source (tutorial) that can help me or if you have ever experienced to integrate this library, this held me a very great help.

回答1:

When you build linphone you already have a Xcode project that integrates those libraries. You can start inspecting this. As you will notice there is a class called LinphoneManager that manages the way the application uses linphone libraries (you can see it as a façade). So if you want to integrate linphone in your own project you will have to include linphone-sdk/apple-darwin/include and linphone-sdk/apple-darwin/lib. Good luck.

Source link https://docs.google.com/uc?id=0B0DwszanZcPhV0doNm5rMHdWa28&export=download