iOS项目集成LinPhone
来源:互联网 发布:合肥优化公司 编辑:程序博客网 时间:2024/06/05 19:27
1、首先准备工作:下载linphone官方SDK http://www.linphone.org/technical-corner/liblinphone/downloads
我的Demo中使用的是3.12.1版本
2、新建项目:
(1):Build Setting->Other Linker Flags 增加-Objc
(2):Build Phases->Link Binary With Libraries 增加如下
libxml2.tbd
libz.tbd
libiconv.tbd
libsqlite3.tbd
libc++.tbd
libstdc++.6.tbd
libresolv.tbd
AudioToolbox.framework
AddressBookUI.framework
AddressBook.framework
AssetsLibrary.framework
AVFoundation.framework
CoreGraphics.framework
CFNetwork.framework
CoreAudio.framework
CoreMedia.framework
CoreTelephony.framework
CoreVideo.framework
CoreLocation.framework
UIKit.framework
QuartzCore.framework
OpenGLES.framework
MessageUI.framework
MediaPlayer.framework
MobileCoreSevers.framework
SystemConfiguration.framework
Foundation.framework
VideoToolbox.framework
3、打开info.plist文件增加key :Required background modes (array) 在下面添加两个项:App plays audio和App provides Voice over IP services 如果需要倒退http,则还需要增加key :Key:NSAppTransportSecurity(dictionary)设置Boolean为YES
4、将liblinphone-sdk和BQL_VOIP拖到工程里面(根目录)
(1):Build Phases->Compile Source 如下图配置
(2):Build Setting 搜索search 如下图 查看路径是否正确(静态库关联)
5、测试登陆:
// 端口号是要加的(官方的不用加是做了相应处理,我这自己集成的SDK功能欠缺了点- -!)
[[BQLIPPManager InstanceIPPManager] addProxyConfig:@”100” password:@”100” DisplayName:@”” domain:@”192.168.1.161” Port:@”5060” withTransport:@”TCP”];
测试拨号:
[[BQLIPPManager InstanceIPPManager] call:@”18012341234” displayName:@”” transfer:NO];
- iOS项目集成LinPhone
- iOS项目集成LinPhone
- iOS集成linphone
- IOS项目集成Weex
- iOS项目集成cocoaPods
- Linphone-iOS-移植
- ios linphone-iphone编译
- iOS开发-linphone搭建环境
- linphone
- linphone
- linphone
- linphone
- iOS项目的持续集成与管理
- IOS项目集成ShareSDK分享登录功能
- iOS原生项目中集成React Native
- iOS原生项目中集成React Native
- iOS原生项目中集成React Native
- iOS项目持续集成:jenkins+Github+蒲公英
- TensorFlow Serving 中的最新创新
- eclipse在window环境下配置hadoop插件
- SQL查询中in和exists的区别分析
- Server Tomcat v7.0 Server at localhost was unable to start within 45 seconds....
- 2017年高教社杯全国大学生数学建模竞赛题目 B题 “拍照赚钱”的任务定价
- iOS项目集成LinPhone
- C# 新手上路
- 网易2017春招编程题:双核处理 [python]
- java(Android)内训泄露
- 一.04时间和日历
- Mybatis中#{}和${}传参的区别及#和$的区别小结
- 11月15日练习与心得
- 网易2017春招编程题:堆砖块 [python]
- 2017第七届中国锁业博览会会刊(参展商名录)