Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Demo project that implements ng2-opentok library

Notifications You must be signed in to change notification settings

webfactorymk/ng2-opentok-demo

Repository files navigation

OpentokNg2Demo

This is a demo application where you can see how ng2-opentok is used. The project supports video and text chat between two entities.

Making a video call

To make a video call open two tabs:

  • Caller tab http://localhost:4200/caller

    caller-sc1

  • Recepient tab http://localhost:4200/recepient

    recepient sc1

You can use the two views to test:

  • making/ending a video call

Calling

caller-sc2 recepient-sc2


Established call

caller sc 3 rec sc 3

  • send text message to the other user

caller sc 4

rec sc 4

  • get a sceenshot from the other user

screenshot buddy 5

  • add/remove your video stream

rc remove video caller removce video st

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor. Before running the tests make sure you are serving the app via ng serve.

Deploying to Github Pages

Run ng github-pages:deploy to deploy to Github Pages.

Further help

To get more help on the angular-cli use ng help or go check out the Angular-CLI README.

About

Demo project that implements ng2-opentok library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published