๐ฅ Telehealth (LiveKit)
1080p video on weak Wi-Fi. No patient downloads. Picture-in-picture so the clinician can chart while talking. Built on LiveKitโs selective-forwarding-unit (SFU) infrastructure โ Synalux runs the rooms, you run the care.
๐ Bandwidth-Adaptive Video (LiveKit SFU)
Synalux uses LiveKitโs open-source SFU rather than an MCU mesh, so:
- Per-participant bitrate adaptation โ each viewer receives a stream sized to their downlink. Patient on hotel Wi-Fi sees 480p; clinician on fiber sees 1080p simulcast.
- No transcoding load on the server โ CPU stays low even with 8-person multi-clinician case conferences.
- TURN fallback โ if direct P2P fails (NAT / corporate firewall), the SFU relays via TURN.
- Track-level pause โ bandwidth saver pauses outbound video when minimized to PiP.

๐ฉบ Clinician-First UX
- No patient downloads โ runs in-browser via WebRTC. Patient gets a one-tap join link via the Mail or SMS module.
- Picture-in-Picture (PiP) โ minimize video, keep charting. Drag PiP anywhere on screen.
- In-call clinical notes โ live SOAP draft via Voice Dictation running alongside the video stream.
- Patient chat sidebar โ text chat in-call for quiet check-ins (lab values, dosing) without interrupting speech.

๐ฌ Recording (consented, encrypted)
- Per-call consent gate โ visible on-screen confirmation before recording starts.
- Storage โ recordings written to the Drive module with the same RLS isolation as other clinical files.
- Retention โ workspace-configurable; default 30 days.
๐ Conferencing Routing (in-event creator)
The Calendar module creator picks the right conferencing provider based on tier + workspace defaults:
| Conferencing | Free | Standard | Advanced | Enterprise |
|---|---|---|---|---|
| Synalux LiveKit Telehealth | โ | โ | โ | โ |
| Google Meet | โ | โ | โ | โ |
| Microsoft Teams | โ | โ | โ | โ |
| Zoom | โ | โ | โ | โ |
๐๏ธ Architecture
POST /api/v1/livekit/token Mint a per-participant LiveKit JWT (workspace + role-scoped)
POST /api/v1/meetings Create a telehealth meeting (resolves room URL + token)
GET /api/v1/meetings/:id Read meeting status + participant list
PATCH /api/v1/meetings/:id Update (extend duration, add participant)
DELETE /api/v1/meetings/:id End meeting + flush recording to Drive
POST /api/v1/meetings/:id/invite Send join link via Mail / SMS
POST /api/v1/meetings/:id/rsvp Patient RSVP confirmation
GET /api/v1/meetings/verify-token Validate meeting join token
POST /api/v1/calls/generate-token Generate per-call auth token
GET /api/v1/video/auth-token Video auth for recording
GET /api/v1/video/ice-servers STUN/TURN server list
POST /api/v1/video/consent-log Record consent for recording| Layer | Tech |
|---|---|
| Media SFU | LiveKit (self-hosted on dedicated infrastructure for HIPAA isolation) |
| Signaling | LiveKitโs protobuf signaling over WSS |
| Token mint | Synalux portal โ per-participant JWT with role + workspace claims |
| Recording | LiveKit egress โ S3-compatible storage โ Drive metadata |
| Audio enhancement | Krisp noise suppression on patient + clinician streams |
โ๏ธ HIPAA + Audit
- Per-room access logging โ every join writes to
livekit_access_logwith participant + role + timestamp + IP. - TURN traffic encrypted โ DTLS-SRTP end to end; no clear-text media on the wire.
- Recording consent enforced in code โ backend rejects egress requests without a stored consent receipt.
- No third-party analytics in the call โ LiveKit pages are CSP-locked.
๐ณ Plans
| Free | Standard | Advanced | Enterprise | |
|---|---|---|---|---|
| Synalux Telehealth (LiveKit) | โ | โ 1:1 calls | โ Group calls (8) | โ Group + recording |
| Google Meet integration | โ | โ | โ | โ |
| Microsoft Teams integration | โ | โ | โ | โ |
| Zoom integration | โ | โ | โ | โ |
| Call recording โ Drive | โ | โ | โ | โ |
| In-call live SOAP dictation | โ | โ | โ | โ |
| Multi-workspace HQ telehealth queue | โ | โ | โ | โ |
๐ Inter-Module Integration
- Calendar โ meetings auto-attached when an event is created with conferencing.
- Patients โ every meeting is filed against the patient chart with consent receipt.
- SOAP / Clinical Notes โ in-call dictation produces a draft note attached to the meeting record.
- Drive โ recordings land in patient-scoped folders.
- Mail / SMS โ join links sent via the connected channel.