meet

package
v1.801.477 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Overview

Package meet is the virtual office: it decides who may join a room and mints the short-lived token that lets them in.

POST /v1/meet/getToken  {roomName, _id, participantName}  ->  the token, as text

The MEDIA plane is not here and never will be. Audio, video and screen share ride a direct browser↔LiveKit WebRTC connection (LIVEKIT_WS = wss://live.hanzo.bot); media is not a thing to proxy through an API binary. What moved into this binary is the ONE decision a server has to make about a call — may this caller join this room — which needs the team session secret and the LiveKit signing key, and needs no pod of its own to hold them.

TWO KEYS, TWO ROLES, and they never mix:

  • SERVER_SECRET verifies the CALLER. It is the HS256 key apps/team signs session tokens with, so "is this a real member of this workspace" is answered against the same signature the rest of /v1/team trusts. It arrives as env from the KMS-synced `team-secrets`.
  • The LiveKit api key/secret signs the ANSWER, and it is read from the SAME keys.yaml file the LiveKit server itself validates against (Secret `livekit-keys`, mounted read-only). ONE representation of that material, so it cannot drift: a second copy projected into env would mint tokens that look perfect and are refused at the media edge, which is the silent failure this whole package is trying not to have.

Missing or ambiguous material is a 503, LOUDLY: the reason names the file and the Secret in the log at boot, while the caller gets an unadorned "not configured" (an unauthenticated 503 is not the place to enumerate our secret plumbing).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(app cloud.Router, deps cloud.Deps) error

Mount wires /v1/meet/* onto app. The route is registered even when unconfigured so the surface always answers under its OWN name with an honest 503, rather than falling through to some other subsystem's catch-all and reporting a 404 for a service that exists but has no keys.

Types

This section is empty.

Directories

Path Synopsis
Package ui embeds the built Hanzo Meet SPA — the native video-call client — into the cloud binary and serves it at /meet/*.
Package ui embeds the built Hanzo Meet SPA — the native video-call client — into the cloud binary and serves it at /meet/*.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL