by Pivec Labs
ManualEditor window reference

Manual

How Live voice and video is configured in NetCrafter Relay 2.0. Everything lives in the NetCrafter Relay window: Tools → Pivec Labs → NetCrafter Relay → Settings.

Live has no editor window of its own any more. It uses Relay's Relay Settings (per Definition) and Relay's Server Setup Wizard, plus one Live tab for setup. One server serves both game sessions and voice/video.

01

Relay Settings#

Live components read their TURN/rendezvous details from a Relay RelaySettings asset through their connectionSettings field. Each Definition has its own (Definitions/<Name>/RelaySettings.asset), edited in Settings → Relay Settings with that Definition selected. Point a Live component at the same Definition your game uses: in its Inspector, pick it under Use Definition and click Assign Relay Settings.

The fields (Relay Host, Relay Port, Rendezvous URL, TURN Username, Shared Secret) are described in the NetCrafter Relay Manual. Live adds one setting, in the Live Settings (Voice & Video) box at the bottom of the same tab:

FieldDefaultDescription
Android Video RTX WorkaroundOnStrips RTX from the video part of every SDP the Live components create, so video sent from Android displays on Windows receivers (a com.unity.webrtc issue). Trade-off: a lost video packet waits for the next keyframe instead of being retransmitted. Ignored by the game relay.

The Live demo scenes use the LiveDemo Definition; the Live-in-game demos use TurnBasedDemo and CharacterDemo.

02

Live (Voice & Video) tab#

Always available, even before Live is enabled:

  • Unity WebRTC package — shows whether com.unity.webrtc 3.0.0+ is installed and installs it in one click. Until it is, everything under NetCrafterRelay/Live and Examples/LiveDemos is not compiled (it's gated on NETCRAFTER_WEBRTC), so Relay-only projects never break.
  • Server — a reminder that Live needs the 2.0 rendezvous service (re-run the wizard once on a 1.x server).
  • Demo scenes — buttons for the 1-to-1 Call, Host Broadcast, TurnBased + Video Chat and Character + Broadcast Screen demos.
03

Server Setup Wizard#

Live uses Relay's wizard (Settings → Server Setup Wizard). The rendezvous service it installs handles game join codes and Live call signalling on the same port (8787 by default). Its Finish step writes the results into the selected Definition's Relay Settings. Full details: NetCrafter Relay Manual and Server Deployment Guide.

Upgrading a 1.x server? Run the wizard against it once and choose Update / redeploy. Your port, credentials and database are kept; the new service adds Live signalling. Game sessions keep working on a 1.x server, but Live calls need the 2.0 service.