WebRTC and TURN Server Settings

WebRTC workflows may require a TURN server for NAT/firewall traversal.

Under Norsk CTL the TURN server is a machine-level service, managed by the daemon and shared by every instance on the box. It is not a per-workflow flag, so there is nothing to pass at launch: start it once and the instances on that machine can use it.

Starting and stopping it

TURN appears alongside the reverse proxy on the Infrastructure page of the Norsk CTL UI, which is the easiest place to see whether it is running.

It is also controlled through the Norsk CTL API, which is what to script against:

POST /api/turn/start
POST /api/turn/stop
GET  /api/turn/logs

The address clients use

The old HOST_IP environment variable has no equivalent per launch. Norsk CTL holds one public address for the whole machine — it goes into the TLS certificate and into every URL advertised to clients.

It is set when you install:

curl -fsSL https://norsk.video/install/studio | bash -s -- --public-host my.server.com

and can be changed afterwards:

norsk-ctl config set --public-host my.server.com

On a cloud box, --public-host auto detects the public IP during the install.

See the Norsk CTL documentation for the full picture.