Giter Site home page Giter Site logo

chime-videoconf's Introduction

Video Conference Application using AWS Chime SDK

We are using plain Javascript without any frameworks like ReactJS etc.

Generate Amazon Chime SDK Javascript Client Library - single file

git clone https://github.com/aws-samples/amazon-chime-sdk.git
cd amazon-chime-sdk/utils/singlejs

Here make sure that src/index.js looks like this (update it if necessary):
export * as default from 'amazon-chime-sdk-js';

npm install
npm run bundle

This will generate amazon-chime-sdk.min.js in build directory.

Lambda function
services/lambda/lambda.py
Make sure that the chime.endpoint region is correct here.

HTML file
web/index.html
The website can be accessed by using <CloudFrontURL>

Javascript Code
web/assets/js/vid.js
Here you must set the MEETING_SERVICE constant to point to your API ( API Gateway > Lambda function)

How to create an API (Gateway)

Create API
In AWS Console > API Gateway > Create API > Choose API Type > HTTP API > Build >
Provide API Name 'byte-meeting' > For 'Configure Routes' Hit Next > For 'Configure Stages' Hit Next > Review & Create

Configure Routes
Select Routes on left menu > Hit 'Create' on right pane > Choose Method 'ANY' Route '/bytes-meeting' > Create >
Select the newly created route/method > Select 'Attach Integration' > 'Create and Attach Integration'
Choose Integration Target - Integration Type from dropdown : Lambda function , Choose AWS Region ,
Select 'bytes-meeting' lambda function ARN
Make sure "Grant API Gateway permission to invoke your Lambda function" is checked > Hit Create

Deploy API
Select Deploy menu on left > Select Stages > Select your stage $default
Check if under Attached Deployment: Automatic Deployment is Enabled. If yes, you are all set.
If not you must hit the Deploy button at top right to deploy your API

chime-videoconf's People

Contributors

rgyani-lux avatar

Watchers

Ravi Gyani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.