Driving on-air graphics from a live data feed
A scorebug with the wrong score is a small error that every viewer sees. A live data feed takes the typing out of graphics, but the risk moves to mapping, timing and corrections.
What the feed can drive
Most of what a graphics operator types during a match is already in a live data feed. The score, the clock and the period. Goals, cards, substitutions and the player involved. The match statistics behind a half-time panel. In esports, kills, objectives, the economy and round results.
Before the match, the same supplier's API has the fixtures, line-ups, standings and head-to-head records that producers use for preview graphics and commentators use for game notes.
We'd split the graphics into two groups. The scorebug and clock change constantly and are simple, so they can run from the feed with nobody touching them. Lower thirds and stat panels change less often and carry more risk: a misspelled name, a stat that hasn't settled. Those are better triggered by an operator, from data the system has already loaded.
Push for live, pull for the rest
Live events should be pushed. A WebSocket connection delivers each event, as JSON or XML, the moment it is logged. Polling a REST endpoint for the score works in a demo and falls behind in a real match, because the graphics only hear about a goal on the next request.
Anything that doesn't change during play can be pulled: fixtures, squads, standings, historical stats. Pull it before the show and cache it, so nothing waits on a request when the director calls for a panel.
Our opinion: put a thin service between the feed and the graphics engine. It holds the connection, keeps the current match state, maps the supplier's identifiers to your templates and gives operators one place to hold or override any value. Wiring the engine straight to the feed looks simpler. It also means a malformed message or a dropped connection lands directly on air.
If you run one sport, your graphics system reads the feed natively and your operators are used to overriding it by hand, a direct connection can be enough. Once you run several sports or several productions at once, build the middle layer.
Map identifiers before match day
The feed identifies teams and players by its own IDs. Your templates need names: full names for lower thirds, short names for the scorebug, team colors, sometimes a pronunciation note for the commentator. Mapping one to the other is dull work, and it's where most first-match errors come from.
Do it before the season and keep it in one place. Line-ups arrive close to kickoff, so the mapping also has to cope with a player your graphics have never shown, such as a late call-up or a debut. Falling back to the name exactly as the feed sends it beats a blank lower third.
Data runs ahead of the picture
This one catches most teams the first time. Live data reaches you before the video does. A goal can be logged and pushed while your program feed still shows the build-up, and a scorebug that updates on arrival changes the score before viewers see the goal.
The fix is to slow the graphics down, not to speed anything up. The middle layer holds each event for the gap between data and picture, then releases it to the engine. Measure that gap on your own chain, from the contribution link through the gallery, and measure it again whenever the chain changes. A stable gap matters more than a short one.
The clock needs its own handling. The feed sends the clock state, running or stopped, with a timestamp. The usual approach is to run the clock locally from that state and correct it on each update, which avoids a clock that jumps whenever a message arrives.
How corrections reach the screen
Data operators make mistakes, and officials change decisions. A goal is disallowed after a video review. A card goes to the wrong player and is reassigned. Corrections are normal, and your graphics have to handle them live.
In our feed, a correction arrives as its own message that points to the original event, with a timestamp. Your system can see what changed and when, instead of just finding a different score on the next update. How you apply it depends on the graphic:
- Scorebug: follow the correction automatically. If the goal is gone, the score reverts and the commentator explains why.
- A lower third already on air: let the operator take it out. Never swap a scorer's name mid-display.
- Lower thirds queued but not yet aired: update them and flag the change to the operator.
- Stat panels: refresh before the next call, not while they're on screen.
Log every correction your system applies. After the show, that log answers the question every producer eventually asks: why did the graphic say that?
MATCHWIRE supplies broadcast graphics data alongside the live event feed: events pushed over WebSocket, fixtures, line-ups and standings from the REST API, in JSON or XML. Ask us for a sample feed for the sports you carry.