An organization runs the relay on its own server or network, and its members’ streams go through it instead of Kymoscope.
The relay is the program that passes live streams from senders to viewers. An organization can run it on its own server, or on a PC on its network, so the members’ streams never pass through Kymoscope’s infrastructure. Streams stay end-to-end encrypted either way, and senders need no changes. Own relays belong to an organization, never to a person on their own, and are part of Enterprise, and of Embed licences with Infrastructure.
You need a machine with Docker that the members’ senders and browsers can reach: a server, a VM or a PC on your network.
As the organization’s owner or an admin, open the organization in Kymoscope, go to the Relays tab and click Add relay. Give it a name and leave the address empty.
Kymoscope shows a one-line command with the relay’s token. Copy it now: the token is shown only once.
On its first start the relay gets an address of its own (<id>.relay.kymoscope.com, pointing at its IP, even a LAN one) and a trusted certificate for it. It needs internet that first time; it renews the certificate by itself.
Back in the Relays tab the relay shows Online within a minute. Click Use for members’ streams.
The members’ senders pick it up the next time they start: the Python library, the collector and the plugins need no change.
To use a name of your own, type it as the address when you add the relay (wss://relay.customer.local) and give the relay its certificate. Browsers on app.kymoscope.com only connect over wss:// with a certificate they trust: a public one for your domain, or one from your organization’s CA installed on your computers.
You can also run the relay without a certificate behind your own TLS proxy: it then listens on plain ws://.
Add the relay with the proxy’s wss:// address. Senders refuse a relay added with a plain ws:// address, because its ticket would travel unencrypted. On a network you trust, set KYMOSCOPE_ALLOW_INSECURE_RELAY=1 on the sending machine to allow it.
The relay checks every connection itself with Kymoscope’s public key: it holds no secret of ours and makes no call per viewer. It reports in once a minute while it has internet, and keeps working without it.
The Relays tab shows each relay’s state, version, streams and viewers. GET /v1/health on the relay answers the same.
A viewer that falls behind is disconnected and rejoins at the live edge.
New token replaces the token: restart the relay with the new command. Stop using sends the streams back through Kymoscope.
Browsers still need internet to sign in to Kymoscope, and senders to register their streams; the data itself only travels between them and your relay.
The automatic address doesn’t resolve on your network
Some routers refuse DNS answers that point a public name at a private IP (DNS rebinding protection). Allow relay.kymoscope.com in the router, or give the relay your own address.
“Kymoscope refused this relay token” in the relay’s log
The token was replaced or the relay deleted. Click New token in the Relays tab and restart the relay with the new command.
own_relay_not_in_plan
The organization’s plan no longer includes own relays. An owner or admin clicks Stop using to publish through Kymoscope again, or contacts us.