Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mobile-simformsolutions/VonageVideoChatIOS

Vonage(OpenTok) video chat demo in swift
https://github.com/mobile-simformsolutions/VonageVideoChatIOS

callkit opentok picture picture-in-picture videocall videocalling videochat voip vonage

Last synced: about 1 month ago
JSON representation

Vonage(OpenTok) video chat demo in swift

Awesome Lists containing this project

README

        

# Callkit Integration with Vonage VideoChat API

[![Swift 5.0](https://img.shields.io/badge/Swift-5.0-orange.svg?style=flat)](https://swift.org)

This repository is an example project of how to integrate [Callkit](https://developer.apple.com/documentation/callkit) into Vonage iOS SDK. Integrated with WhatsApp type picture-in-picture UI.

### Preview
![alt text](https://github.com/mobile-simformsolutions/OpenTokVideoChatIOS/blob/master/preview.gif)

### Included Points
- Vonage VideoChat Integration.
- Callkit configured with Vonage API.
- WhatsApp type picture-in-picture UI.

Use CocoaPods to install the project files and dependencies.

1. Install CocoaPods as described in [CocoaPods Getting Started](https://guides.cocoapods.org/using/getting-started.html#getting-started).
1. In Terminal, `cd` to your project directory and type `pod install`. (Sometimes, `pod update` is magical)
1. Reopen your project in Xcode using the new `*.xcworkspace` file.

### Configure and build the app
1. The application **requires** values for **API Key**, **Session ID**, and **Token**. In the sample, you can get these values at the [Vonage Dashboard](https://dashboard.tokbox.com/). For production deployment, you must generate the **Session ID** and **Token** values using one of the [Vonage Server SDKs](https://tokbox.com/developer/sdks/server/).
1. Replace the following empty strings with the corresponding **API Key**, **Session ID**, and **Token** values in `.xcconfig`.
2. Configure VOIP certificate to Project. Create it from apple developer account.
1. Use Xcode to build and run the app on an iOS simulator or device.

### Exploring Project

***You will need a device to test the followings***

**Simulate an incoming call**
The Home screen is visible till no incoming calls received. To make it working, Fire VOIP push notificaiton to the application and accept the call.

**Use [Pusher](https://github.com/noodlewerk/NWPusher) for VOIP push **

![demo](https://github.com/mobile-simformsolutions/OpenTokVideoChatIOS/blob/master/pusher.png)