Start with Fishjam
Try every Fishjam feature with 5,000 participant-minutes a month for free.
Start for freeFrom now on Fishjam supports MoQ protocol!Read more
Publish from a browser, a mobile app, OBS over WHIP or a MoQ publisher. Viewers watch less than 500 ms behind over WebRTC and under a second over MoQ, where HLS runs seconds behind.
Choose where the stream comes from and where people watch it. You get the exact code or endpoint for both ends.
Way in where the stream comes from
Way out where people watch
Browser → Fishjam → Browser
Streamer side
Streamer.tsx@fishjam-cloud/react-client
const { cameraStream } = useCamera();const { microphoneStream } = useMicrophone();const { connect } = useLivestreamStreamer();await connect({ token: streamerToken, // from your backend inputs: { video: cameraStream, audio: microphoneStream, },}); Streamer.tsx@fishjam-cloud/react-native-client
// the same hooks, from the React Native packageconst { cameraStream } = useCamera();const { microphoneStream } = useMicrophone();const { connect } = useLivestreamStreamer();await connect({ token: streamerToken, // from your backend inputs: { video: cameraStream, audio: microphoneStream, },}); WHIPOBS or any WHIP client
# paste the URL into your WHIP clientPOST https://fishjam.io/api/v1/live/api/whipAuthorization: Bearer <streamer token># the streamer token comes from your backendconst { token } = await fishjamClient .createLivestreamStreamerToken(room.id); publish.ts@moq/publish
// publishUrl comes from your backendconst connection = await Moq.Connection.connect( new URL(publishUrl),);const broadcast = new Publish.Broadcast({ connection, name: Moq.Path.from(PUBLISHER_PATH), enabled: true, video: { source: camera.source, hd: { enabled: true } }, audio: { enabled: true, source: microphone.source },}); Viewer side
Viewer.tsx@fishjam-cloud/react-client
const { connect, stream } = useLivestreamViewer();// private stream: a viewer token from your backendawait connect({ token: viewerToken });// public stream: the room ID is enoughawait connect({ streamId: roomId });// then play `stream` in a <video> element Viewer.tsx@fishjam-cloud/react-native-client
const { connect, stream } = useLivestreamViewer();// a viewer token from your backendawait connect({ token: viewerToken });// render the stream<RTCView mediaStream={stream} objectFit="cover" /> WHEPany WHEP player
# private stream: a viewer token from your backendPOST https://fishjam.io/api/v1/live/api/whepAuthorization: Bearer <viewer token># public stream: no token, the room ID in the URLPOST https://fishjam.io/api/v1/live/api/whep/<room id> watch.ts@moq/watch
// subscribeUrl comes from your backendconst connection = await Moq.Connection.connect( new URL(subscribeUrl),);const broadcast = new Watch.Broadcast({ connection, name: Moq.Path.from(SUBSCRIBER_PATH), enabled: true,});// decodes and paints onto a <canvas>const backend = new Watch.MultiBackend({ element: canvas, broadcast, paused: false,}); MoQ is its own path. Publishing and watching both go through the Fishjam MoQ relay; rooms, agents and data channels do not apply to a MoQ stream. More about MoQ →
Ramble (formerly ChatBCC) replaced LL-HLS delivery with WebRTC on Fishjam. The 2 seconds include compositing the hosts' cameras on the server.
Read the case studyTell us what your stream needs to do. Start with a consultation, get a demo for your use case, and have the engineers who build Fishjam help with the integration.
Talk to our teamYou're just 3 steps away from a working live stream.
Call the API to create a stream and get your ingest and playback credentials.
Start sending video from OBS, a hardware encoder, or directly from the browser.
Viewers connect over the same path the stream came in on, WHEP for WHIP and MoQ for MoQ, and start watching with sub-second latency, no buffering.
Call the API to create a stream and get your ingest and playback credentials.
Start sending video from OBS, a hardware encoder, or directly from the browser.
Viewers connect over the same path the stream came in on, WHEP for WHIP and MoQ for MoQ, and start watching with sub-second latency, no buffering.