Harbor Studios · Pilot

Live video and audio for your app

Harbor Relay runs open-source LiveKit for you. Keep using the LiveKit SDKs you know — we provide projects, API keys, short-lived tokens and a browser test stream.

Invite-only pilot. Public sign-up and billing come after the pilot.

Demo · RecordedCamera 1 · Bow

Demo · RecordedRecorded demo footage rendered by Harbor Studios. This is not a live stream.

How it works

Your app talks to LiveKit. We handle who gets in.

Your app talks to LiveKit directly. Harbor Relay decides who may join which room, and for how long.

01

Create a project

In the console you get a project, its LiveKit server URL and a Harbor Relay API key. The key is shown once and stays in your backend.

02

Ask for a token

Your backend calls the Harbor Relay token API. You get a short-lived LiveKit token, limited to your project’s rooms and to the role you asked for.

03

Connect with LiveKit

Your web or mobile client connects with the standard LiveKit SDK, using the server URL and token from your backend.

Quickstart

Connect in two small files

Two small pieces: a backend endpoint that asks Harbor Relay for a token, and a browser client that connects with livekit-client.

server.mjs
// server.mjs — runs in YOUR backend (Node 18+). Never ship the API key to a browser.
import express from "express";

const app = express();

// Placeholders: both values come from your project page in the Harbor Relay console.
const HARBOR_RELAY_API_URL = process.env.HARBOR_RELAY_API_URL; // e.g. https://<harbor-relay-host>/api/v1
const HARBOR_RELAY_API_KEY = process.env.HARBOR_RELAY_API_KEY; // hr_sk_… (shown once)

app.get("/api/harbor-token", async (req, res) => {
  // Authenticate your own user first, then decide the room and role.
  const response = await fetch(`${HARBOR_RELAY_API_URL}/tokens`, {
    method: "POST",
    headers: {
      Authorization: `Bearer ${HARBOR_RELAY_API_KEY}`,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      room: "bridge",          // project-local room name
      identity: "user-123",    // your user's id
      role: "viewer",          // "viewer" can only watch; "publisher" may send
    }),
  });
  if (!response.ok) return res.status(502).json({ error: "token request failed" });

  const { serverUrl, token, expiresAt } = await response.json();
  res.json({ serverUrl, token, expiresAt });
});

app.listen(3001);

Where the values come from

HARBOR_RELAY_API_URL
The API base URL shown on your project page in the console.
HARBOR_RELAY_API_KEY
Created on your project page. Shown once. Use it only on your server — never ship it to a browser or app.
serverUrl
Returned by the token API. It is the WebSocket URL of the LiveKit server for your project.
token
A LiveKit access token, valid for 10 minutes by default (1 hour max). Fetch a fresh one for every join.

Install the official SDK: npm install livekit-client

Read the full docs →

First application

Captain’s Suite

Captain’s Suite is our first reference project. An onboard camera shares its picture, and the crew or family ashore watch it in the browser.

Verified so far

  • A real single-camera stream over our LiveKit server at Hetzner has been watched in a viewer’s browser.

Still being tested

  • Two cameras streaming at the same time.
  • Capacity for several customers on the same infrastructure.
Future use case

Model airfield with several views

Runway, pit area and a pilot’s view, switchable by spectators in the browser. A possible use of the same multi-camera building blocks — not built yet.

runwaypit areapilot view

Built for boats first, designed for any app that needs live video.

Status

What works today

Harbor Relay is in its pilot. This is the actual state, not a roadmap promise.

  • Recorded two-camera demo on this pageAvailable
  • Developer console: projects, API keys, token APIPilot · invite only
  • Browser-to-browser test streamPilot · invite only
  • Session log per project (from LiveKit webhooks)Pilot · invite only
  • Two simultaneous cameras in productionIn testing
  • Capacity for multiple customersIn testing
  • Traffic and usage per projectAfter pilot
  • Billing and public sign-upAfter pilot
Developers

Start building

Read the docs, or open the console if you were invited to the pilot.

Read the docs →

Quickstart, token API, roles and room isolation.

Developer console

Invite-only. Create projects, keys and run a browser test stream.

Invite-only pilotAccess is by invitation from Harbor Studios during the pilot.