A simple WebRTC chat room application.
Noah Petherbridge
5dbe938780
* WebRTC pees exchange local/remote descriptions ("offer" and "answer") * They don't seem to exchange ICE candidates yet * Some back and forth happens but the final WebRTC stream connection isn't established yet. |
||
---|---|---|
cmd/BareRTC | ||
pkg | ||
web | ||
go.mod | ||
go.sum | ||
LICENSE | ||
Makefile | ||
README.md |
BareRTC
BareRTC is a simple WebRTC-based chat room application. It is especially designed to be plugged into any existing website, with or without a pre-existing base of users.
Features
Planned features:
- One common group chat area where all participants can broadcast text messages.
- Direct (one-on-one) text conversations between any two users.
- Simple integration with your pre-existing userbase via signed JWT tokens.
Configuration
TBD
Authentication
BareRTC supports custom (user-defined) authentication with your app in the form of JSON Web Tokens (JWTs). Configure a shared Secret Key in the ChatRTC settings and have your app create a signed JWT with the same key and the following custom claims:
{
"username": "Soandso",
"icon": "https://path/to/square/icon.png",
"admin": false,
}
License
GPLv3.