Back in the day, we had a company named modest.com. We were relatively remote friendly. One of the biggest parts of this was this silly app that allowed us to do video chat without a lot of overhead. It was great (well, until we had about 15 people. it got unweildy then).
Originally it was based on the OpenTokNodeJS example from OpenTok and we refactored it to work how we wanted it. It worked super well.
This version is the same kind of example, but from twilio. Again, it is refactored to work out we want it.
The app runs on firebase and uses some firebase specific things (auth, functions). It shouldn't be too hard to migrate it to another host (maybe netlify?).
- authentication
- make room handling be based on URL
- clean up design
- rainbows
Before we begin, we need to collect all the config values we need to run the application:
- Account SID: Your primary Twilio account identifier - find this in the console here.
- API Key SID: Used to authenticate - generate one here.
- API Key Secret: Used to authenticate - just like the above, you'll get one here.
When you generate an API key pair at the URLs above, your API Key Secret will only be shown once - make sure to save this in a secure location.
to run the locally, you need to place the following into the .runtimeconfig.json
file in your functions dir.
{
"twilio": {
"account_sid": "xxx",
"api_secret": "xxx",
"api_key": "xx"
}
}
Then run the app :
harper@ {~/modest-video-chat/}$ firebase serve