$ cd react-demo
-
Then install the dependencies:
$ npm install
-
Open the directory in your code editor.
-
Open the
react-demo/src/config/dev.ts
file, and enter required session values for the variables:Key Value Description sdkKey
Your Video SDK Key. Required. sdkSecret
Your Video SDK Secret. Required. topic
Required, a session name of your choice or the name of the session you are joining. name
Required, a name for the participant. password
Required, a session passcode of your choice or the passcode of the session you are joining. Example:
{ sdkKey: 'YOUR_VIDEO_SDK_KEY', sdkSecret: 'YOUR_VIDEO_SDK_SECRET', topic: 'Cool Cars', name: 'user123', password: 'abc123' }
-
Save
dev.ts
. -
Run the app:
$ npm start
- Navigate to http://localhost:3000.
- Click copy link and mail your attendees. (for testing use different browsers, or use Incognito mode)