A module for the Titanium Mobile platform that uses the Opentok iOS SDK for video streaming capabilities
This module is not complete yet! It is still under active development.
Currently because Opentok.framework is only compiled to be used on device in the armv7 architecture, you must remove armv6 from the Titanium build script. In version 1.8.2 of Titanium it is found at
/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.pyline 1162.
Clone or download the repo, run
./build.pyin the directory
Opentok.framework can be downloaded from the official repo
Opentok will only work on device, so using scripts like
titanium runare pretty much useless
Because you cannot test the module using
titanium run, there is an example app in a separate repo. To use this app, first run
./build.pyas seen above, copy the zip file left behind into
/Library/Application\ Support/Titanium/and then build the app for your device. This will require having a provisioning profile from the iOS Developer Program like any other Titanium application you deploy.
open source contributions welcome :)
The API is currently a mix of the Opentok web API, iOS specifics, and Titanium conventions. These are subject to change. Suggestions welcome.
view proxies and view classes
make Opentok.framework a git submodule