A simple WebRTC chat room application.
Noah Petherbridge
4f93c27651
* Reworked full screen CSS layout for the chat.html, still using Bulma components with some custom CSS Grid. * Duplicate username handling: server can push a new username to change the client's selection. * Who List sync between clients. * Local video casting works so far - plays back your camera in the local feed. Your video broadcasting boolean is synced to backend, which lights up the video button in the Who List. |
||
---|---|---|
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.