Skip to content

Sample app demonstrating adding live captions to Twilio Video rooms

License

Notifications You must be signed in to change notification settings

deepgram-devs/twilio-live-captions

Repository files navigation

Live Captions for Twilio Video

This sample application can be used to create a Twilio Video room with live transcriptions for each participant.

Prerequisites

Getting Started

  1. Clone this repository
git clone https://github.com/deepgram-devs/twilio-live-captions
cd twilio-live-captions
  1. Create the configuration file for your application
cp .env-sample .env
  1. Update the variables in the .env file with the following:
Variable Description
twilioAccountSid Your primary Twilio account identifier - find this in the console here
twilioApiKey Used to authenticate - generate one here
twilioApiSecret Used to authenticate - generate one here
deepgramApiKey API Key for the Deepgram project you're using - generate one here
  1. Install dependancies
npm install
  1. Start the application
npm start

Development and Contributing

Interested in contributing? We ❤️ pull requests!

To make sure our community is safe for all, be sure to review and agree to our Code of Conduct. Then see the Contribution guidelines for more information.

Getting Help

We love to hear from you so if you have questions, comments or find a bug in the project, let us know! You can either:

Further Reading

Check out the Developer Documentation at https://developers.deepgram.com/