OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing flows to a session
- Subscribing to rivulets in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to fountain specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that emerge in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Three
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only rivulets at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) flows. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing flows to a session
- Subscribing to rivulets in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to fountain specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that emerge in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Three
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only flows at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) flows. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing rivulets to a session
- Subscribing to flows in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to fountain specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that emerge in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Three
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only rivulets at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) rivulets. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing flows to a session
- Subscribing to rivulets in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to flow specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that show up in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Trio
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only rivulets at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) rivulets. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing flows to a session
- Subscribing to flows in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to geyser specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that show up in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Three
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only rivulets at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) rivulets. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing rivulets to a session
- Subscribing to flows in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to blast specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that show up in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Trio
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only rivulets at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) rivulets. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing flows to a session
- Subscribing to rivulets in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to stream specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that emerge in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Three
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only rivulets at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) rivulets. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing flows to a session
- Subscribing to flows in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to fountain specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that show up in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Three
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only flows at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) flows. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing rivulets to a session
- Subscribing to rivulets in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to geyser specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that emerge in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Trio
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only rivulets at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) rivulets. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing rivulets to a session
- Subscribing to flows in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to blast specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that emerge in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Three
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only rivulets at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) rivulets. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing rivulets to a session
- Subscribing to rivulets in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to fountain specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that show up in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Three
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only flows at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) flows. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.
OpenTok iOS SDK – for building WebRTC movie apps on iOS devices
OpenTok iOS SDK
The OpenTok iOS SDK lets you use OpenTok-powered movie sessions in apps you build for iPad, iPhone, and iPod touch devices.
All OpenTok applications are composed of two parts:
- The client-side, which uses the OpenTok client SDKs and runs in a user's browser or mobile app
- The server-side, which uses the OpenTok server SDKs and runs on your server to pass authentication information to the client.
The client SDK for building iOS apps is the OpenTok iOS SDK, which provides most of the core functionality for your app, including:
- Connecting to an OpenTok session
- Publishing rivulets to a session
- Subscribing to rivulets in a session
Client SDKs are also available for Android and web. All OpenTok client SDKs can interact with one another.
You can learn more about the basics of OpenTok clients, servers, sessions, and more on the OpenTok Basics page.
Learning to build with the OpenTok iOS SDK
The best way to learn how to use the OpenTok iOS SDK is to go after the OpenTok Basic Movie Talk tutorial:
Once you understand the basics of building with the OpenTok iOS SDK, you can get more detailed information and learn how to customize your application with the OpenTok developer guides. To investigate specific API classes and methods, see the OpenTok iOS SDK API reference.
Code samples
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Interoperability
Apps written with the OpenTok iOS SDK Two.11.Four can interoperate with OpenTok apps written with the following OpenTok SDKs:
OpenTok Android SDK Two.9+
OpenTok iOS SDK Two.9+
Using the SDK
The OpenTok.framework directory contains the OpenTok iOS SDK.
The OpenTok iOS SDK is available as the Pod "OpenTok", for use with CocoaPods.
The OpenTok iOS SDK requires Xcode seven or higher.
The OpenTok iOS SDK requires the following frameworks:
- AudioToolbox.framework
- AVFoundation.framework
- CoreGraphics.framework
- CoreMedia.framework
- CoreTelephony.framework
- CoreVideo.framework
- Foundation.framework
- GLKit.framework
- libc++.dylib (libc++.tbd in Xcode 7+)
- libsqlite3.dylib (libsqlite3++.tbd in Xcode 7+)
- OpenGLES.framework
- QuartzCore.framework
- SystemConfiguration.framework
- UIKit.framework
- VideoToolbox.framework
The OpenTok iOS SDK links to the libc++ standard library. If another library that links to the libc++ standard library was compiled in a version of Xcode older than 6.0.0, it may result in segfaults at run time when using it with the OpenTok iOS SDK. Known incompatible libraries include, but are not limited to, Firebase (versions earlier than Two.1.Two — see https://code.google.com/p/webrtc/issues/detail?id=3992) and Google Maps (versions earlier than 1.9.0). To fix this issue, download a version of the other library that was compiled using XCode 6.0.0 or later.
If you are using a version of Xcode prior to 7.Two.0, do not use the -all_load linker flag. Instead, use the -force_load linker flag to blast specific libraries that require it.
In order to access the camera and microphone, iOS ten requires you to set values for the NSCameraUsageDescription and NSMicrophoneUsageDescription keys in the Info.plist file. These define strings that show up in the app installer to inform the user why your app uses the camera and microphone. For more information see the Apple documentation on Cocoa keys.
See the release notes for information on the latest version of the SDK and for a list of known issues.
See this document for information on using the SDK in apps running in the background mode.
System requirements
The OpenTok iOS SDK is supported on the following devices:
- iPad Pro 12.9-inch
- iPad Pro 9.7-inch
- iPad Air Two
- iPad Air
- iPad 4th generation
- iPad mini Four
- iPad mini Trio
- iPad mini Two
The OpenTok iOS SDK is supported in iOS nine or higher.
The OpenTok iOS SDK is supported on Wi-Fi and 4G/LTE connections.
The OpenTok iOS SDK supports one published audio-video stream, one subscribed audio-video stream, and up to three extra subscribed audio-only rivulets at the same time on the iPhone five (the lowest-end device supported). On the iPhone 7, tests have shown support for subscribing to as many as twenty simultaneous low-resolution (200×200 pixel, 15-frame per 2nd) rivulets. To connect more than two clients in a session using the OpenTok iOS SDK, create a session that uses the OpenTok Media Router (a session with the media mode set to routed). See The OpenTok Media Router and media modes.
Sample apps
For samples using Swift, visit our Swift sample app repo on GitHub.
For samples using Objective-C, visit our Objective-C sample app repo on GitHub.
Documentation
Reference documentation is included in the doc subdirectory of the SDK and at http://www.tokbox.com/developer/sdks/ios/reference/index.html.
More information
For a list of fresh features and known issues, see the release notes.