Keyboard shortcuts

Press ← or → to go to the previous or next page

Press S or / to search the docs

Press ? to show this help

Press Esc to hide this help

Hosted preview

Hosted media relays

Warning

Hosted media relays are being built. This page describes the plan for the private preview, and the details will change. Everything on the other pages works today with the open source SDK alone.

A hosted media relay is a media relay that the n0.computer team runs for you. Your publishers push broadcasts to it, and your viewers read them from it. You write your application on the open source SDK, and we operate the servers.

What it adds to the SDK

You needWith the SDK aloneWith hosted media relays
A stream between two devicesWorks, directly over irohThe same. No media relay is involved
Viewers in browsersYou run a media relay. It works on a network you controlWe run media relays that browsers on the internet can reach
A large audienceLimited by the publisher’s uplinkThe publisher sends once, and the media relay serves every viewer
Private streamsYou write the policy and issue the tokensOnly people you give a token to can read or publish

How it will work

  1. We give you access to a project. A project owns its broadcasts and its keys.
  2. Your publishers push broadcasts to a hosted media relay, as in Publish through a media relay. The media relay accepts them because they present a token from your project.
  3. Your backend gives each viewer a token that says which broadcasts the viewer may watch, and for how long.
  4. Viewers read the broadcasts from the media relay, in a browser or with the SDK.

The media relay checks every token, and your backend decides who gets one. Access control explains tokens. The media relay that refuses everyone without a token is not in the open source media relay yet. Today the media relay lets anyone read every broadcast on it by default.

What is not there yet

  • A dashboard and an API for creating projects and tokens. During the preview, we set these up with you by hand.
  • Recording, and output to other streaming services.
  • Media relays in more than one region.

Ask for access

The preview is by invitation. If you are in it, your contact at n0.computer sends you what you need to connect. To ask for access, talk to the n0.computer team.

Until then, start with the Quickstart. An application built on the SDK needs only a media relay’s endpoint id and a token to move to hosted media relays.

Where to go next