How it works
How Director produces a race broadcast
Director is a Windows desktop app that produces live coverage of a sim race on your own hardware. It reads the race, decides what to show, aims the simulator camera, runs replays, cuts OBS scenes and puts graphics on screen. It keeps doing this while you drive. You need no Sim RaceCenter account, login or cloud backend.
The pieces
| Host | Runs | Job |
|---|---|---|
| Driving Rig (one per driver) | iRacing + Sim RaceCenter launcher, Publisher role | Reads the simulator locally and sends race events to Director |
| Camera host | Spectator iRacing session + simulator MCP server | Gives Director standings, camera control and replay control |
| Broadcast host | Director | Decides and executes every cut, runs graphics, comms and safety |
| OBS host | OBS Studio | Composites the program output, records and streams to YouTube |
These are roles, not machines. The camera host can be the Director machine or a paired remote PC, and OBS can sit on the same machine or anywhere on the LAN. A driving Rig in Publisher role is never the camera host.
01
Rigs report the race
Each driving Rig runs the open-source launcher in Publisher role. The launcher reads iRacing locally and sends race events to Director over HTTPS, pinned to Director's certificate: battles, overtakes, incidents, pit entries and exits, flags, laps and session state. A Rig joins Director with a short pairing code, and each Director gets its own scoped credential. Events are spooled on disk, so a network drop delays them but does not lose them.
Drivers can signal Director from the wheel. One button asks for coverage (Focus Me). Two more answer yes or no to questions Director asks on air.
02
Director decides, every cycle
A deterministic core runs in Director. Every cycle it scores what is happening on track and picks a shot pack: race start, battle for position, overtake, traffic train, pit window, incident, caution, restart, leader gap, or the practice and qualifying packs. A shot pack is a versioned recipe of camera, scene and dwell steps. The core fills it with real cars and cameras, then runs each step.
- Same input, same output. The same race always produces the same cut list. Frozen golden cases replay through the core on every change.
- Session aware. Practice and qualifying get their own packs and graphics. Race-only claims such as gaps and battles are suppressed outside the race.
- Focus drivers. Mark the drivers your audience came for. A focus weight sets how strongly coverage follows them versus the rest of the field.
- Fallbacks. If a shot's prerequisites are not met, for example replay control is unavailable or the camera host is lost, Director falls back to live or safe cover rather than airing a broken shot.
03
Director executes and verifies
Camera and replay commands go to the simulator MCP server. A command succeeds only once telemetry shows the simulator acted on it. OBS scene cuts are checked by read-back, and the outcome of every cut is logged.
04
Replays and incidents
Director queues incidents as replay candidates. A replay airs under an onboard cover shot, so viewers never see the replay seek, and then Director returns to live. If replay control is unavailable, it covers the incident live. During incident clusters, the race start and the final lap, on-air speech is held.
After the checkered flag, once the favored cars have finished, Director plays a highlight reel of up to ten clips: replays that aired plus candidates that lost out to higher-priority shots.
05
Graphics on program
Director serves its graphics to OBS as browser sources. Graphics follow the same event stream that drives the cuts, so what is on screen matches the decision.
- A fixed-size lower third: driver identity on the left, the current call on the right.
- A standings ticker, a qualifying tower, battle and gap cards, and session status.
- Webcam frames: named overlays that frame driver cameras with name plates, with transparent holes where the cameras sit.
- Chat answer cards that show replies to viewer questions on screen.


Graphics rendered by Director, composited over race footage and a driver webcam from a Sim RaceCenter broadcast.
06
Audience and voice
Director reads YouTube live chat. Discord voice and text-to-speech announcements run through the same hub, so drivers hear Director, and viewers hear it too when the Discord channel is mixed into the stream.
With the optional chat agent switched on:
- Busy chat is summarised and relayed to the drivers by voice: at most one relay every 60 seconds, and at most 15 seconds spoken.
- Viewer questions are answered on screen as chat cards.
- Viewer requests such as "show car 12" become a yes/no question to a driver. Nothing airs until a driver answers yes on the wheel, and the core then serves the request at a safe moment.
07
Safety
- Preflight checks OBS, comms and the simulator connection before a run.
- ALL STOP halts the run, stops every Rig publisher and cuts off speech in one action, with a result for each target.
- Safe scene puts a holding scene on program. It is a separate one-press command.
- Agents cannot use ALL STOP, replay control or unpairing. Agent changes are locked while a run is live.
08
AI is advisory
The core makes every cut. An optional in-app agent helps with setup and explains decisions, and each change it proposes follows plan, confirm, apply, verify. The chat agent holds no tools: its output goes through fixed lanes with limits enforced in code. Switch AI off and the broadcast runs the same.
09
Evidence after every run
Director logs every cut, call and agent action with its origin: operator, core or agent. A run can be exported as an evidence bundle that includes OBS recording anchors, so what aired can be checked against what was intended.
Open source underneath
The simulator MCP servers and the launcher are open source (GPL-3.0, Rust) and work with any MCP client.