Coder Social home page Coder Social logo

blakejakopovic / amazon-chime-sdk-pstn-audio-workshop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scottrfrancis/amazon-chime-sdk-pstn-audio-workshop

0.0 0.0 0.0 1.74 MB

License: MIT No Attribution

Shell 22.54% JavaScript 2.56% Python 32.52% TypeScript 42.38%

amazon-chime-sdk-pstn-audio-workshop's Introduction

Amazon Chime SDK PSTN Audio Workshop

What is the Amazon Chime SDK?

The Amazon Chime SDK is a set of real-time communications components that developers can use to quickly add messaging, audio, video, and screen sharing capabilities to their web or mobile applications. There are three core parts of the SDK:

  • Media Services (real-time audio and video, including SDKs for web and mobile)
  • Messaging (server and client-side persistent messaging)
  • Public Switched Telephone Network (PSTN) Audio capabilities (phone calls/telephony)

By using the Amazon Chime SDK, developers can help reduce the cost, complexity, and friction of creating and maintaining their own real-time communication infrastructure and services. In addition, those applications can easily take advantage of advanced voice technologies enabled by machine learning. Amazon Voice Focus for PSTN provides deep learning based noise suppression to reduce unwanted noise on calls. Use text-to-speech in your application through our native integration to Amazon Polly or build real-time phone-call voice chat-bots using native integration with Amazon Lex.

What is PSTN Audio?

With PSTN Audio, developers can build custom telephony applications using the agility and operational simplicity of a serverless AWS Lambda function. Your Lambda functions control the behavior of phone calls, such as playing voice prompts, collecting digits, recording calls, routing calls to the PSTN and Session Initiation Protocol (SIP) devices using Amazon Chime Voice Connector. The following topics provide an overview and architectural information about the PSTN Audio service, including how to build Lambda functions to control calls. You can read our introduction of the service here.

PSTN Audio applications are serverless, deployed as AWS Lambda functions. If you can write relatively simple code in javascript or python then you can build an advanced telephony application. This workshop aims to teach the basics of how to use the PSTN Audio service and builds successively towards more advanced capability, starting with the absolute basics.

What's New in PSTN Audio?

The latest new features that we profile in this workshop are:

  • native integration with Amazon Polly (text-to-speech)
  • native integration with Amazon Lex (speech-to-text voice bots)
  • native integration with Amazon Voice Focus (noise reduction)
  • TransactionAttributes to simplify tracking simple call state

Recommended Background for Developing Amazon Chime SDK PSTN Audio Applications

PSTN Audio applications are serverless application built using Amazon Lambda. Non-trivial applications will need data stores and databases, as well as various other cloud services. We recommend that developers have at least an introduction to AWS, Lambda, and our automated deploymnet technology. Free, self-paces online workshops are available for both Lambda and Amazon Cloud Development Kit (CDK). Many developers using these technologies leverage Linux environments, and these workshops are built primarily for the Linux/MacOS command line environment (shell). Familiarity with basic command line operations and tools is expected, but everything in the workshop is spelled out clearly.

Workshop Preparation

Workshop Lessons/Examples

Cleanup

Deploying resources from this repository will create CloudFormation stacks. To remove those running resources you can simply delete the stack. To do that, you can type "yarn destroy" in the folder where you deployed the resources with "yarn deploy."

NOTE: since each of the example lessons in the "lambda" lessons deploys it's own small stack for just that lambda, to completely clean up those resources you should also run "yarn destroy" from each folder where you deploy the lambda.

Disclaimers

Deploying the Amazon Chime SDK demo applications contained in this repository will cause your AWS Account to be billed for services, including the Amazon Chime SDK, used by the application. Each of the child workshop lessons also create resources. To minimize your expenses, after finishing this workshop please delete the resources you created. This can be done by running 'yarn destroy' from this directory and from each of the workshop lesson folders that you deployed.

The voice prompt audio files are not encrypted, as would be recommended in a production-grade application.

Security

See CONTRIBUTING for more information.

License

All code in this repository is licensed under the MIT-0 License. See the LICENSE file.

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0

amazon-chime-sdk-pstn-audio-workshop's People

Contributors

dependabot[bot] avatar gherlein avatar schuettc avatar scottrfrancis 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.