The Vialer PJSIP pod exposes the PJSIP library as Cocoapod.
The most important part of the project is the "vialerbuild" script. It will:
- download a specified version of PJSIP from SVN.
- compile PJSIP for all iOS architectures.
- Decide whether to compile OpenSSL, OpenH264 and OPUS into the PJSIP source. By default they are included for all iOS architectures.
- build a fat static library.
- wrap the fat library in a framework.
Currently active maintained
For MacOS a newer version of nasm is required when you want to build openh264.
brew install nasm
Install via CocoaPods:
platform :ios, '9.0'
pod 'Vialer-pjsip-iOS'
See the CONTRIBUTING.md file on how to contribute to this project.
See the CONTRIBUTORS.md file for a list of contributors to the project.
The changelog can be found in the CHANGELOG.md file.
When using the pod as a dependency in another podspec, linting generates the following error:
The 'Pods' target has transitive dependencies that include static binaries: VialerPJSIP.framework
As a workaround you can use
pod spec lint --use-libraries
The library is a fat static library and cannot be included in an use_frameworks! enviroment at this moment. We're trying to find a solution for this and implement a way to create a dynamic library.
- Make the libarary static build for Swift only projects.
- Staying up-to-date with PJSIP releases
If you want to report an issue see the CONTRIBUTING.md file for more info.
We will be happy to answer your other questions at {[email protected] or insert alias}
Vialer-pjsip-iOS is made available under the GNU General Public License v3.0 license. See the LICENSE file for more info.