@rapidmx/meet-plugin
v0.20.0
Published
RapidMX plugin that provides WebRTC video conferencing, joinable from a calendar invite or a shared link.
Readme
RapidMX: Meet Plugin
Private and public WebRTC video meetings for a RapidMX server. A mailbox owner turns on video conferencing for a calendar event; a private meeting mints one link per invitee (inserted into the invite's location and body), a public meeting shares a single link. Joining needs no account: a guest picks a name (auto-filled from their RapidMX profile when signed in), checks their camera and microphone, and enters. Calls are peer-to-peer WebRTC (no media server). Each pair of participants uses the best path that works, tried in order:
- Direct peer-to-peer, the preferred path.
- Relayed through a configured TURN server, for a participant a direct connection can't reach. A plain
turn:address is offered over both UDP and TCP, so a network that blocks UDP can still reach it. - Proxied by the RapidMX server itself over a WebSocket, the last resort for a participant whose network lets
nothing but ordinary HTTPS out. Video is lower quality and sound may lag; it needs a browser with WebCodecs, and
can be turned off with the
mail:videoconf:relay:enabledsetting. A tile says when a participant is on the TURN relay or the server relay.
Participants can put video filters on their camera from the lobby or during the call: a blurred or custom
background, black and white / sepia / night vision / pixelate looks, and face accessories. They run entirely in the
browser (MediaPipe, loaded only when a filter needs it - from public CDNs by default, or from your own server with
mail:videoconf:effects:assets_url), and the devices, on/off state and filters a participant chose are remembered in
their browser's localStorage for next time.
During a call, participants can chat (Markdown, emoji, GIFs from the server's Giphy proxy, and image links shown
as images) and draw together on a shared whiteboard (five pen types, a stencil for shapes, stamps, swatches and a
color wheel). Both travel over the call's own signaling WebSocket (/api/mail/video-meetings/signal/<meeting>) and
last only as long as the call - a late joiner gets them from a participant already there, and nothing is stored on
the server.
License
MPL-2.0 - see LICENSE.
