fishjam-js-server-sdk
Installation
SKILL.md
Fishjam JS Server SDK
@fishjam-cloud/js-server-sdk — server-side Node.js / TypeScript SDK for the Fishjam platform.
Read
../platform/SKILL.mdfirst. It defines rooms, peers, tracks, management tokens, peer tokens, and the WS-vs-webhook tradeoff that this skill builds on.
Three components
| Component | What it does | Reference |
|---|---|---|
FishjamClient |
REST client — rooms, peers, agents, livestream/MoQ tokens, subscribe modes. | client.md |
FishjamWSNotifier |
Subscribes to all 18 server events over a single WebSocket. Best for long-lived workers. | ws-notifier.md |
FishjamAgent |
Programmatic peer — sends/receives audio frames over a server-side WS. Used for AI agents (Gemini, custom). | agent.md |
Webhook receivers are not a class — you decode ServerMessage protobuf yourself; covered in webhooks.md.