alexa-smart-properties / skill-sample-for-webrtc-asp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build A Video Calling Skill with Alexa Smart Properties

This Alexa sample skill is a template for a WebRTC video and audio calling with Alexa Smart Properties.

Skill Architecture

This networking skill is only the middelware solution for the Alexa Smart Properties WebRTC base calling solution.

The voice interface is configured through the Alexa communication services and not the skills interaction model.

The purpose of this networking skill is to connect your own WebRTC infrastructure with Alexa Smart Properties in a peer to peer video and audio call.

Skill Requirements

This Alexa skill requriements are as followed:

Three Options for Skill Setup

There are a number of different ways for you to setup your skill, depending on your experience and what tools you have available.

Setting up your skill localy

Setup your WebRTC skill

> cd skill
> npm i
> npm i axios

Getting you skill ready

In the index.js file of the skill located in Lambda/custom, add your Alexa CLIENT_ID and CLIENT_SECRET located Alexa Skill Messaging in the permission tab of your skill in the Alexa Developer Console

{
    const CLIENT_ID  = 'ADD Alexa Client Id HERE';
    const CLIENT_SECRET = 'ADD Alexa Client Secret HERE'; 
}

After deploying your severside code into the Elestic Beanstalk please the URL in the variable below in the index. js file. For more information about this, please review the server folder's Demo WebRTC Server Instructions.

{
   const baseUrl = "ADD DEVELOPER WebRTC Server URL HERE";
}

Additional Resources

Documentation

Community

About

License:Other


Languages

Language:JavaScript 91.0%Language:HTML 4.9%Language:CSS 4.1%