chime-sdk-meeting-demo v0.1.1
README - React Meeting Demo
This is the SDK react meeting demo app. It shows how to use the Amazon Chime SDK and Chime SDK UI Component Library to build a react meeting app.
To run the demo app locally:
If you haven't already, configure your AWS credentials.
Install root dependencies within the root directory:
npm install
Navigate to the meeting demo folder:
cd demo/meeting
Install yalc to get the latest changes from the local component library:
npm i yalc -g
Start the webpack server and node server concurrently:
npm run start
Open https://0.0.0.0:9000/ in your browser
Troubleshooting
You can change the
amazon-chime-sdk-js
log level by providinglogLevel
through URL as a query parameter with value 'warn' | 'error' | 'info' | 'debug' | 'off'.https://0.0.0.0:9000/?logLevel=debug
UnrecognizedClientException: The security token included in the request is invalid.
when trying to join a meetingThis likely means that your AWS credentials are invalid. Refer to the AWS Configuration docs for setting up your credentials.
To deploy the serverless device demo
Install aws and sam command line tools
Run deployment script
The following will create a CloudFormation stack containing a Lambda and API Gateway deployment that runs the demo. Note that S3 bucket name should be globally unique.
cd /serverless
node ./deploy.js -r us-east-1 -b <YOUR-S3-BUCKET-NAME> -s <YOUR-CLOUDFORMATION-STACK-NAME>
The script will create an S3 bucket and CloudFormation stack with Lambda and API Gateway resources required to run the demo. After the script finishes, it will output a URL that can be opened in a browser.