Skip to content
Sample applications illustrating best practices using OpenTok Android SDK.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Archiving OPENTOK-39133: Update gradle version in build files (#215) May 16, 2019
Basic-Video-Chat OPENTOK-39133: Update gradle version in build files (#215) May 16, 2019
Custom-Audio-Driver OPENTOK-39133: Update gradle version in build files (#215) May 16, 2019
Custom-Video-Driver OPENTOK-39133: Update gradle version in build files (#215) May 16, 2019
FrameMetadata OPENTOK-39141: add travis support (#217) May 16, 2019
Live-Photo-Capture OPENTOK-39141: add travis support (#217) May 16, 2019
Multiparty-ConstraintLayout OPENTOK-39133: Update gradle version in build files (#215) May 16, 2019
PictureInPicture Fix a bug with onResume/onPause state in PiP (#227) Jun 5, 2019
Screen-Sharing OPENTOK-39141: add travis support (#217) May 16, 2019
Signaling OPENTOK-39133: Update gradle version in build files (#215) May 16, 2019
Simple-Multiparty OPENTOK-39133: Update gradle version in build files (#215) May 16, 2019
.gitignore Adding OpenTok Android SDK samples Jun 17, 2014
.travis.yml OPENTOK-39141: add travis support (#217) May 16, 2019
LICENSE
README.md OPENTOK-39141: add travis support (#217) May 16, 2019
browser_demo.html Minor correction to js test sample file. Jul 18, 2016

README.md

OpenTok Android SDK Samples

Build Status

This repository is meant to provide some examples for you to better understand the features of the OpenTok Android SDK. The sample applications are meant to be used with the latest version of the OpenTok Android SDK. Feel free to copy and modify the source code herein for your own projects. Please consider sharing your modifications with us, especially if they might benefit other developers using the OpenTok Android SDK. See the License for more information.

What's Inside

Basic Video Chat

This app provides a completed version of the OpenTok Basic Video Chat tutorial for Android (with some minor validation checks added). It shows how to publish and subscribe to streams in a session. If you're just getting started with OpenTok, this is where you should start.

Archiving (recording)

This app provides a completed version of the OpenTok Archiving tutorial for Android (with some minor validation checks added). It uses an OpenTok server to start, stop, and play back recordings of your session.

Simple Multiparty

This app shows how to implement a simple video call application with several clients.

Multiparty using ConstraintLayout

This app shows how to use Android SDK ConstraintLayout to position all the video views of several participants in a multiparty session.

Screen Sharing

This app shows how to publish a screen-sharing stream to a session.

Live Photo Capture

This app shows how to capture an image from a subscribed video stream.

Custom Video Driver

This app shows how to use both a custom video capturer and redender. While most applications will work fine with the default capturer (and therefore won't require an understanding of how the custom video driver work), if you need to add custom effects, then this is where you should start.

Custom Audio Driver

This app shows how to use the audio driver API to implement a custom audio capturer and player. Just like the custom video driver, most applications will be fine using the default. If you want to add custom audio manipulation, look here.

Picture in Picture

This app shows how to use the “Picture-in-Picture” (PiP) mode to be able to continue seeing the video of a OpenTok session while navigating between apps or browsing content on the main screen of your phone.

You can’t perform that action at this time.