Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 640 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 640 Bytes

Demo to start and stop video preview using Amazon Chime SDK for JavaScript in an React application.

This demo uses routing to show case how one can clear-up the video being previewed when routing to a different route inside a single page application. The application shows two routes:

  1. About: Just shows "About" as heading.
  2. "Home": When you come to "/home", your video gets previewed. When you move to "/about", you should no longer see a red icon or video being used issue.

Running Steps:

git clone https://github.com/devalevenkatesh/video-preview-only-js-sdk.git

cd video-preview-only-js-sdk

npm install

npm run start