
New version of VoxImplant mobile SDK with support for WebRTC, P2P, video calls for iOS and Android

Short introduction
To begin with, the SDK is designed to work with the VoxImplant platform , therefore, in addition to the SDK itself, you also need to register a VoxImplant developer account, create an application, a call processing script, application users, etc. - it all depends on what kind of application you are doing. In the archive with the SDK, there is a demo app (softphone) that will work with the account and application that will be indicated to it when you login, you can safely use the video chat we described earlier with it , instead of the web application and the Web SDK, a demo will be used -application and mobile SDK respectively.
iOS SDK
Build WebRTC for iOS took some time, attempts to enable optimizations to increase performance were ultimately successful and the SDK began to work quite well even on not the newest and top-end devices, for example, audio and video work quite well on the iPad 2. We collected the SDK immediately for iOS 8, since Apple applications built for other versions will not miss the appstore anyway. Back when we were working on the Zingaya application, we found out that iOS developers really like to use CocoaPods and this greatly simplifies their life, so at the same time we washed down the VoxImplantSDK Pod . In the archive along with the SDK there is a demo application. Let's take an example of it and consider using the SDK. Since we made a pod, we can use it:
- Download the archive with the SDK and demo application from here
- Unpack and delete the extra folder VoxImplantSDKiOS, it will not be needed, since we will use CocoaPods
- Install CocoaPods if you haven’t already installed it (see guides.cocoapods.org/using/getting-started.html#getting-started )
- We open the terminal, and
to your project directory$ cd
- Create a Podfile. This is done using
$ touch Podfile
- Open the created Podfile. The first line should indicate the platform and version.
platform :ios, '8.0'
- Add a line
pod 'VoxImplantSDK'
- Save Podfile
- We launch
$ pod install
- Open the created * .xcworkspace
- In the project in the Frameworks folder, delete
in this case it is superfluouslibVoxImplantSDK.a
- Build and run the demo application

Android SDK
In the case of Android, the process of creating the SDK was generally similar to the creation process for iOS, but it was somewhat simpler, since WebRTC is built into Chrome on Android and is constantly maintained in a healthy and up-to-date state. For example, one of the latest builds brought hardware support for the H.264 codec, but we still do not use it, as there are a number of nuances. In the near future, we should expect H.264 support for WebRTC in Firefox, and maybe in Chrome, as the WebRTC working group announced that both codecs (VP8 and H.264) are mandatory to implement for browser vendors. While there are some doubts about Chrome and IE (where they implement ORTC and H.264), but time will tell. Firefox is still in a winning position by announcing support for both codecs (not without the help of Cisco). Functionally, the SDKs for iOS and Android are identical,
- If you have not already installed ADT, then you can get it here
- Download the archive from the SDK from here http://voximplant.com/docs/references/mobilesdk/android/
- Unpack and run ADT
- We import the project from the folder that turned out after unpacking the archive from the SDK
- Build and run the demo application project
If everything is fine, then an application will launch that has a functionality similar to the demo application on iOS, but there are more and more control buttons (in the iOS version, not all were brought out).


In this application, you must enter the entire login user_user_name@application_name.account_name.voximplant.com, after connecting and authorizing you can call (if you have already set up your VoxImplant account). The minimum version of Android that the new SDK will work with is 4.1+ (API level 16).
In general, that's all, we will be grateful for the feedback if you find any problems in the SDK and if you tell us on Habr which applications you managed to make on the basis of our platform. We decided that up to 1000 users can use peer-to-peer audio and video calls for free. Future plans include adding IM / presence, packaging SDK for Appcelerator, PhoneGap, Parse, support for H.264.
Only registered users can participate in the survey. Please come in.
Would you use the VoxImplant mobile SDK for your project?
- 38.8% Yes 21
- 33.3% Don't know 18
- 27.7% Hardly 15