Skip to content

nokenwa/twitch-phone-calls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitch-phone-calls

This repo shows you how to take Phone Calls on Twitch

Setup

Requirements:

  1. Node version 10.19.0 or later (check version in your terminal with node -v).
  2. A Twilio account.
  3. A Twilio Number
  4. A Twilio API Key & Secret Create an API Key & Secret in the Console.
  5. The Twilio CLI. Install the CLI for your operating system and login with your Twilio account credentials using twilio login.
  6. NGROK installed (For local testing)

After cloning this repository, install dependencies with npm:

npm install

Gather your Credentials

Copy and rename the .env config example and fill in the ACCOUNT_SID,API_KEY, and API_SECRET cp serverless/.env.sample .env

Start the Project

npm start

Use NGROK to tunnel your localhost for Twilio

ngrok http 3000

Update your Twilio Number to point to your ngrok url

twilio phone-numbers:update [YOUR_NUMBER_HERE] --voice-url  https://xxxxxxxx.ngrok.io/twilio

Add Overlay to OBS

Start OBS from Command Line with flag 'enable-media-stream'

Windows cmd: C:\Program Files\obs-studio\bin\64bit>obs64.exe --enable-media-stream

macOS terminal: /Applications/OBS.app/Contents/MacOS/OBS --enable-media-stream

Create a new browser source and give it your ngrok url. Set the width and height to equal your streaming resolution.

Open a new browser window and navigate to your https://[[your-url]/dialpad

Give your Twilio number a call. You should hear the phone ringing on OBS. Answer it from the control page and start talking!!

TO DO

  • [ ]...

Code of Conduct

This project adheres to the Twilio Labs Code of Conduct.

Contributing

This project welcomes contributions. Please check out our contributing guide to learn more on how to get started.

About

This repo shows you how to take Phone Calls on Twitch

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published