All Projects → opentok → Opentok Web Samples

opentok / Opentok Web Samples

Licence: mit
Sample applications for using OpenTok.js

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Opentok Web Samples

Angular File Uploader
Angular file uploader is an Angular 2/4/5/6/7/8/9/10 + file uploader module with Real-Time Progress Bar, Responsive design, Angular Universal Compatibility, localization and multiple themes which includes Drag and Drop and much more.
Stars: ✭ 92 (-40.65%)
Mutual labels:  angular5
Ionic3 Start Theme
Ionic 3 Start Theme with 10 Pages, mock data, providers samples, Storage, Http and more...
Stars: ✭ 129 (-16.77%)
Mutual labels:  angular5
Amazing Time Picker
Timepicker (Clock Picker) for Angular 2, Angular 4 and Angular 5, Angular 6, Angular 7 - Compatible with Angular Material
Stars: ✭ 142 (-8.39%)
Mutual labels:  angular5
Mean Stack Angular5 Crud
MEAN Stack (Angular 5) CRUD Web Application Example
Stars: ✭ 107 (-30.97%)
Mutual labels:  angular5
Angular5 Example Shopping App
Angular 5 Example Shopping App + Angular Material + Responsive
Stars: ✭ 120 (-22.58%)
Mutual labels:  angular5
Ngx Countdown
Simple, easy and performance countdown for angular
Stars: ✭ 133 (-14.19%)
Mutual labels:  angular5
Springbootangularhtml5
♨️ Spring Boot 2 + Angular 11 + HTML5 router mode + HTTP interceptor + Lazy loaded modules
Stars: ✭ 89 (-42.58%)
Mutual labels:  angular5
Ngx Smooth Dnd
angular wrapper for smooth-dnd
Stars: ✭ 152 (-1.94%)
Mutual labels:  angular5
Angular Application Insights
Angular & Azure Application Insights module - Find out performance and usage of your app by connecting Microsoft Azure Application insights with your Angular application by @TrilonIO
Stars: ✭ 125 (-19.35%)
Mutual labels:  angular5
Learn Angular From Scratch Step By Step
Angular step by step tutorial covering from basic concepts of Angular Framework to building a complete Angular app using Angular Material components. We will go through the main building blocks of an Angular 7 application as well as the best practices for building a complete app with Angular.
Stars: ✭ 140 (-9.68%)
Mutual labels:  angular5
Angular Admin Lte
AdminLte for Angular 2
Stars: ✭ 109 (-29.68%)
Mutual labels:  angular5
Ng Simple Slideshow
A simple, responsive slideshow for Angular 4+.
Stars: ✭ 119 (-23.23%)
Mutual labels:  angular5
Okta Spring Boot 2 Angular 5 Example
A Cool Cars Example that showcases Spring Boot 2, Angular 5, and Okta's Support for both.
Stars: ✭ 135 (-12.9%)
Mutual labels:  angular5
Ngx Masonry
Angular Module for displaying a feed of items in a masonry layout
Stars: ✭ 102 (-34.19%)
Mutual labels:  angular5
Etcdlabs
etcd playground
Stars: ✭ 143 (-7.74%)
Mutual labels:  angular5
Ng2 Flatpickr
Angular 2+ wrapper for flatpickr (https://github.com/chmln/flatpickr)
Stars: ✭ 91 (-41.29%)
Mutual labels:  angular5
Fusebox Angular Universal Starter
Angular Universal seed project featuring Server-Side Rendering, @fuse-box bundling, material, firebase, Jest, Nightmare, and more
Stars: ✭ 132 (-14.84%)
Mutual labels:  angular5
Ng2 Pdfjs Viewer
An angular 8 component for PDFJS and ViewerJS (Supports angular 2/4/5/6/7)
Stars: ✭ 150 (-3.23%)
Mutual labels:  angular5
Angular5 Iot Dashboard
Multipurpose dashboard admin for IoT softwares, remote control, user interface. Develop your client dashboards in Angular 5 with vast variety of components available.
Stars: ✭ 148 (-4.52%)
Mutual labels:  angular5
Ng2 Search Filter
Angular 2 / Angular 4 / Angular 5 custom pipe npm module to make a search filter on any input, 🔥 100K+ downloads
Stars: ✭ 137 (-11.61%)
Mutual labels:  angular5

Build Status

OpenTok Web Samples

Sample applications for using the OpenTok.js library.

The code for this sample is found the following subdirectories:

  • Angular-Basic-Video-Chat (demo) (source) -- This sample shows you how to connect to an OpenTok session, publish a stream, and subscribe to a stream using Angular 5.

  • Basic Video Chat (demo) (source) -- This sample shows you how to connect to an OpenTok session, publish a stream, and subscribe to a stream.

  • Archiving (demo) (source) -- This sample shows you how to record an OpenTok session.

  • Electron-Basic-Video-Chat (source) -- This sample shows you how to connect to an OpenTok session, publish a stream, and subscribe to a stream in an Electron application.

  • Publish-Canvas (demo) (source) -- In this sample application we show you how to publish a custom stream from a Canvas tag.

  • Publish-Video (demo) (source) -- In this sample application we show you how to publish a video file to an OpenTok Session.

  • Publish-Devices (demo) (source) -- In this sample application we show you how to choose different Cameras and Microphones when publishing.

  • Stereo-Audio (demo) (source) -- In this sample application we show you how to publish a stereo music file to an OpenTok Session.

  • React-Basic-Video-Chat (demo) (source) -- This sample shows you how to connect to an OpenTok session, publish a stream, and subscribe to a stream using React. You can also toggle the video by clicking on the Video button.

  • Signaling (demo) (source) -- This sample shows you how to use the OpenTok signaling API to implement text chat.

  • Stream-Filter (demo) (source) -- This sample shows you how to apply custom grayscale, sepia and invert filters.

  • Vue-Basic-Video-Chat (demo) (source) -- This sample shows you how to connect to an OpenTok session, publish a stream, and subscribe to a stream using Vue.js.

See the README file in each of these subdirectories for application-specific notes.

Each of these sample applications are described in the Web tutorials section of the OpenTok developer center.

Not seeing a sample application for what you are trying to do? File a new issue or upvote an existing one.

Configuring the application

  1. Clone this repository.

  2. Edit the config.js file and set the values for API_KEY, and TOKEN:

    To do this, log into your TokBox Account, and either create a new project or use an existing project. Then go to your project page and scroll down to the Project Tools section. From there, you can generate a session ID and token manually. Use the project’s API key along with the session ID and token you generated.

Important notes:

  • You can continue to get the session ID and token values from your Account during testing and development, but before you go into production you must set up a server. We will discuss this in the Setting up the test web service section.

  • The Archiving sample app requires you to set up the test web service.

Testing the application

  1. The web app is in the index.html (in each sample directory). Open the index.html in a supported browser.

    For information about which browsers are supported by the OpenTok.js library see the browser support section of the documentation.

  2. When prompted, grant the page access to your camera and microphone.

  3. Mute the speaker on your computer, and then load the page again in another browser tab.

    You will see a person-to-person video chat session using OpenTok.

See the README file in each of these subdirectories for application-specific notes.

Setting up the test web service

The Learning OpenTok PHP repo includes code for setting up a web service.

  1. Clone or download the repo and run its code on a PHP-enabled web server. If you do not have a PHP server set up, you can use Heroku to run a remote test server -- see Automatic deployment to Heroku.

  2. After getting this web service running, edit the config.js file and set the value for SAMPLE_SERVER_BASE_URL to the URL for the web service:

    • If you deployed a the test web service to a local PHP server, set this to the following:

      var SAMPLE_SERVER_BASE_URL = 'http://localhost:8080';

    • If you deployed this to Heroku, set this to the following:

      var SAMPLE_SERVER_BASE_URL = 'https://YOUR-HEROKU-APP-URL';

    Do not add the trailing slash of the URL.

The sample will load the OpenTok session ID, token, and API key from the web service. Also, the archiving sample will use the web service to start, stop, and view archives.

Other resources

See the following:

  • API reference -- Provides details on the OpenTok.js API

  • Developer guides -- Includes conceptual information and code samples for all OpenTok features

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].