Sunday, August 31, 2014

OpenTok iOS SDK


The OpenTok iOS SDK 2.2 lets you use OpenTok powered video session in apps we build for iPhone, iPad and iPod Touch devices. 
There are few samples available that uses this framework. 

1. Helloworld - The basic application that helps to get familar with the  SDK. 
2. Lets build OTPublisher - The project provides classes that implement the OTVideoCapture and OTVideoRenderer interfaces of the core Publisher and Subscriber classes. Using these modules, we can see the basic workflow of sourcing video frames from the video camera in and out of OpenTok, via the OTPublisherKit and OTSubscriberKit interfaces 
3. Live Video Capture : This project extends the video capture module implemented in the project above. and demonstrates how the AVFoundation media capture APIs can be used simultaneously stream video and capture high-resolution photos from the same camera. 
4. Overlay Graphics - This project shows how to overlay graphics on publisher and subscriber views and uses SVG graphic format for icons. This project borrows publisher and subscriber modules implemented in project 2. 
5. Multi Party call. This project demonstrates how to use the OpenTok iOS SDK for a multi party call. The application publishes audio/video from an iOS device and can connect to the multiple subscribers. However it shows only one subscriber video at a time due to CPU limitations n iOS devices. 

Each project includes a symlink to OpenTok.framework, up one directory level from the root of this repository. If the link is from a tar ball distribution, then the link should work just fine. Otherwise the symlink needs to be updated manually. 

This uses the WebRTC libraries. And provides many abstraction layers for various platforms such as PhoneGap, Android, iOS. etc. The trail comes for 30 days and ability make use of the backend platform. 

References:

No comments:

Post a Comment