Index of every page on this site: llms.txt
All skills
Run it yourself

Fishjam platform fundamentals — domain model and auth shared by all SDKs. Covers glossary (room, peer, track, agent, streamer, viewer), the four room types (conference / audio_only / livestream / audio_only_livestream), two-tier auth (management vs peer tokens), Sandbox vs production, WebSocket-vs-webhook notifications and the 18-event taxonomy, REST endpoint list, and the end-to-end auth/join flow. Read this first for any Fishjam task. Trigger on: 'Fishjam', 'fishjam.io', 'fishjam.swmansion.com', 'fishjam dashboard', 'management token', 'peer token', 'sandbox API', 'useSandbox', 'room manager', 'livestream room', 'audio-only room', 'conference room', 'Fishjam ID', 'room types', 'auth flow', 'webhook', 'webhookUrl', 'FishjamWSNotifier', 'FishjamNotifier', 'notifier vs webhook', 'ServerMessage', 'peerAdded', 'peerConnected', 'roomCreated', 'refreshPeerToken', 'rest endpoint', 'OpenAPI', 'llms.txt'.

  • 10 files
  • 54.4 KB
  • MIT
  • Updated last month
  • GitHub
Use this Skill: https://skilld.dev/gh/software-mansion-labs/skills/platform

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

room-types.md

≈1.3k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Room Types

Fishjam exposes four room types — conference, audio_only, livestream, and audio_only_livestream. The room type is set when the backend calls createRoom and cannot be changed afterwards — pick before you create.

At a glance

Type Direction Cost vs conference Max tracks per peer Use case
conference (default) many ↔ many bidirectional base ($1 per 1000 participant-minutes) many (camera + screen + mic + custom) Meetings, classrooms, interactive webinars
audio_only many ↔ many, audio only 75% off 1 audio (video silently dropped) Voice rooms, audio podcasts, town halls
livestream one streamer → many viewers 20% off 1 video + 1 audio (streamer); 0 (viewers) Live events, broadcasts, sports
audio_only_livestream one streamer → many viewers, audio only 75% off livestream 1 audio (streamer); 0 (viewers) Audio-only livestreaming, large radio-style broadcasts

Pricing details: https://fishjam.io/#pricing.

Conference rooms

The default. All client SDK features work as documented:

  • Multiple participants, all bidirectional.
  • Camera + microphone + screen share + custom sources, simultaneously.
  • Track-level metadata, simulcast, data channels, VAD, etc.

Use this unless you have a specific reason for one of the alternatives.

const room = await fishjamClient.createRoom();
// or, explicit:
const room = await fishjamClient.createRoom({ roomType: 'conference' });
room = fishjam_client.create_room()  # default = conference

Audio-only rooms

roomType: 'audio_only'. Same semantics as conference. The client SDK refuses to add video tracks to an audio_only room (throws TrackTypeError); the React/React Native hooks downgrade this to a console warning. As a defensive fallback, if a video track somehow reached the server, it is dropped. Useful when you want to lock down the call to voice only and benefit from the 75% discount.

const room = await fishjamClient.createRoom({ roomType: 'audio_only' });
from fishjam import RoomOptions
room = fishjam_client.create_room(RoomOptions(room_type='audio_only'))

Cost example: 2 peers × 30 minutes = 60 participant-minutes = $0.06 in conference, $0.015 in audio-only.

Livestream rooms

roomType: 'livestream'. One streamer publishes, unlimited viewers consume. Backend mints two separate token types:

  • Streamer token — createLivestreamStreamerToken(roomId) / create_livestream_streamer_token(room_id). Hand to the publishing peer's client.
  • Viewer token — createLivestreamViewerToken(roomId) / create_livestream_viewer_token(room_id). Hand to each viewer's client (only required if room is private).

Public vs private livestreams

// Default — viewers need a viewer token
const privateRoom = await fishjamClient.createRoom({ roomType: 'livestream' });

// Public — viewers connect using just the room ID
const publicRoom = await fishjamClient.createRoom({ roomType: 'livestream', public: true });

Use private for paywalled / authenticated viewers. Use public for open broadcasts. Public livestreams still bill per viewer, so don't expose them if you need to gate access.

Constraints

  • Exactly one video track and one audio track per streamer. Additional tracks are dropped.
  • Viewer-side rendering uses WHEP; any WHEP-compatible player works.

audio_only_livestream

roomType: 'audio_only_livestream'. Livestream variant with no video. 75% off the livestream baseline price (equivalently, 80% off conference) — the cheapest mode for one-to-many audio.

Video codecs

Conference and livestream rooms use H.264 by default. Override per room via createRoom({ videoCodec: 'h264' | 'vp8' }).

  • H.264 — hardware-accelerated on most devices, better perf. Default.
  • VP8 — software-only, works everywhere including Android emulators. Default when using the Sandbox API (specifically to support Android emulators during development).

Use H.264 in production unless you have a specific compatibility need. Use VP8 if you're testing on Android emulators outside the Sandbox.

Decision matrix

Use case Type Why
Video meetings conference Multiple senders, bidirectional, full feature set
Webinars with Q&A conference Audience can speak when invited
Voice rooms / clubs audio_only Cheapest, ignores video
Live podcasts (multi-speaker) audio_only Cheapest, voice-only
Sports/event streaming livestream One-to-many, scales cheaply
Internal company broadcasts livestream (private) One presenter, gated viewers
Talk-radio-style broadcast audio_only_livestream Cheapest broadcast mode

Source

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 43cde80. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated last month

README badge

README badge for software-mansion-labs/skills/platform