-2

I have followed to this instruction about how to integrate with linphone SDK

After that, I follow with this intruction

I have done with the final build Linphone SDK file, so next is the integration process. I didn't find any document or any suggestion for how to implement with the swift project

The document of liblinphone(Does not include how to integration just the class function)

rmaddy
  • 314,917
  • 42
  • 532
  • 579
saleumsack
  • 43
  • 1
  • 1
  • 8

1 Answers1

1

Hope you have installed the pod for linphone with version 4.2. If not then please have a look at this.

source "https://gitlab.linphone.org/BC/public/podspec.git"
source "https://github.com/CocoaPods/Specs.git"

def basic_pods
  if ENV['PODFILE_PATH'].nil?
    pod 'linphone-sdk', '4.2'
    else
    pod 'linphone-sdk', :path => ENV['PODFILE_PATH']  # loacl sdk
  end
end

Step 1-> You need to add a bridge file and import the below files in that.

#include "linphone/lpconfig.h"
#include "linphone/linphonecore.h"
#include "linphone/linphonecore_utils.h"

Step 2-> After that create 1 .h and .m file and in that copy all the call related functionality from the linphone project like outgoing call, incoming call and so on.

Step 3-> Create the object which you have entered the name of .h file.

Step4-> Call that functionality with the help of your object variable.

Rushabh Shah
  • 396
  • 3
  • 19