Live channels ​
In-game TV. A channel is what screens tune to: Weazel News, the news chopper, LS Sports. What a channel airs comes from feeds:
- Reporters go live with their own game view: on foot, from the np_helicam view, at the stadium.
- Tripods are cameras on a stand that a reporter sets up in the field.
- The station is a director at the desk who cuts between studio cameras, tripods and reporters, and sets the headline and ticker.

Going live ​
/golive <channel> starts your broadcast and /golive stops it again. Without an argument it starts your only channel,
or lists the channels you may use. While you are live you see an on-air pill with the viewer count and the time on air.

With rig = 'camera' or 'mic' you hold a news camera or a microphone while live on foot. It goes away in a vehicle
and comes back when you get out.
From the chopper: open the helicam, then /golive chopper. The screens show the helicam picture.
Tripods ​
/tripod <channel> sets up a TV camera on a stand in front of you, facing you (an np_prophandler prop). /tripod packs it away. Tripods stay
when you log off and are packed away tripod.lifetimeMinutes later.
/golive <channel> tripodgoes live from your tripod: your screen shows what the tripod sees while you step in front of it, so one reporter can do a piece to camera.- The director at the station can cut to any tripod like a studio camera.
The station ​
/station opens the director panel. If the channel has a station, the panel only opens there, at the desk. One
director per channel.

- Cameras: the studio cameras from the config and every tripod on the channel. Click one to cut to it. The middle of your screen shows that camera, and that picture is what goes on air. The panel is never in the picture.
- Reporters: everyone live on the channel, with a live thumbnail. Click one to cut to them.
- Program: what is on air right now. Auto hands the program back to the first live reporter.
- Graphics: the headline (lower third) and the ticker on every screen showing the channel.
- Camera: pan, tilt and zoom on the camera you are on.
A typical evening: an interview runs on the studio cameras. A reporter goes live at a shooting in Pillbox Hill, the director takes their feed and puts up a headline, then cuts back to the desk.
To set up studio cameras, stand where the camera should be, look the way it should look and run /station_campose. It
prints a line for cameras in the config.
Why the director renders the cameras
A GTA client renders exactly one camera, the one on its own screen. There is no way to render a second camera into a
texture, so a camera nobody holds has to be rendered by someone's client. While the panel is open that is the
director's. For a camera far away from the director, the server widens their OneSync culling radius
(cullingFrom, maxCullingRadius) so the people in front of that camera are streamed in. Without a director, the
channel airs its first live reporter.
Watching ​
Open the remote at a screen and go to Library → Channels. Every live channel is listed there with LIVE and the
number of viewers, or Off air. Tap one to put it on the screen. That replaces what the screen shows, so it needs
edit on the screen, like pasting a link.

You can also paste npslive://<channel> as a link, cast it from the phone, or set it from another resource:
exports.np_screens:SetBoardMedia('weazel_lobby_tv', 'npslive://weazel')
A screen on an off-air channel shows Stand by and picks the picture up as soon as someone goes live. A screen over the
animated budget shows the newest frame as its poster. A surface restricted with allowedKinds needs 'live' in the
list.

Who may do what ​
| Who | |
|---|---|
| Go live, set up a tripod | the channel's jobs (with minGrade), plus its item when set. A tripod also needs tripod.item when set |
| Direct | directorJobs (with directorMinGrade), or the channel's jobs when there are none |
| Everything | the np_admin node np_screens.live or np_screens.admin (items are still needed) |
How it works ​
The producing client's NUI reads the rendered game frame (the WebGL game-view texture screenshot-basic also uses),
scales it to width and posts it as a JPEG to the server's own HTTP handler on port 30120. Each feed gets a secret
upload token. Screens fetch frames from the same handler.
Uploads and downloads both keep pipeline requests in flight. The server gives each screen request the next frame
number and holds it until that frame exists. Each screen gets every frame once and in order, and the frame rate is not
capped by the ping. A cut reaches every screen with the next request.
- Video only. There is no sound.
- Frame rate: 15 fps by default, up to 30.
- Bandwidth: about frame size ×
fps, for the producer and for every client that watches. 640 px at 15 fps is about 375 KB/s (3 Mbit/s). - What's in the picture: the game picture. NUI pages (HUD, phone, menus, the station panel) are not in it. The
minimap and HUD are hidden while a camera is rendered (
hideHud). - A feed that sends nothing for
staleSecondsends, for example after a crash. - Players who join through a proxy that does not forward HTTP need
baseUrl.
Configuration ​
config/live.lua:
| Option | Default | |
|---|---|---|
enabled |
true |
Live channels on or off |
command, stationCommand, tripodCommand |
'golive', 'station', 'tripod' |
Command names. false = no command |
fps |
15 |
Frames per second, up to 30. Applies to feeds started after a change |
width |
640 |
Frame width in pixels; the height follows the game's aspect ratio |
quality |
0.55 |
JPEG quality, 0.1 to 0.95 |
pipeline |
2 |
Requests in flight per producer and per screen |
bufferFrames |
4 |
Frames the server keeps per feed |
maxFrameKB |
160 |
Bigger frames are refused |
staleSeconds |
15 |
A feed with no frame for this long ends |
waitSeconds |
4 |
How long a screen's request waits for the next frame |
viewerTtlSeconds |
6 |
A client counts as watching while it fetched a frame this recently |
maxFeeds |
6 |
Reporters live per channel at once |
baseUrl |
'' |
Address the clients use for the frames, e.g. 'http://1.2.3.4:30120'. Empty = the address the client is connected to |
hideHud |
'cameras' |
Hide the minimap and HUD while a camera is rendered; 'always' also for a reporter's own view; false never |
tripod |
see below | Tripod cameras |
cullingFrom, maxCullingRadius |
350, 2500 |
The director's culling radius for far cameras |
channels |
Weazel News, News Chopper Cam, LS Sports | See below |
tripod: enabled, model ('prop_tv_cam_02'), item, perPlayer (1), lens (offset and lens of the camera on
the prop: x, y, z, pitch, fov) and lifetimeMinutes (60).
Each channel:
| Field | |
|---|---|
id |
Unique, a-z 0-9 _ -. Used in npslive://<id>, /golive <id> and /station <id> |
label, subtitle |
Tile title and second line in the remote |
icon, tint |
Font Awesome 6 solid icon (without fa-) and Nimbus tile tint |
jobs, minGrade |
Who may go live and set up tripods |
item |
Item a reporter must carry to go live |
rig |
'camera', 'mic' or nil |
directorJobs, directorMinGrade |
Who may direct (default: jobs) |
station |
{ coords = vector3(...), radius }: the panel only opens there |
cameras |
Studio cameras: { id, label, coords = vector3(...), rot = vector3(pitch, 0, heading), fov } |
library |
false hides the tile from the remote |
{
id = 'weazel', label = 'Weazel News', subtitle = 'Press RP',
icon = 'newspaper', tint = 'red',
jobs = { 'reporter', 'weazel' }, rig = 'mic',
station = { coords = vector3(-598.9, -929.9, 23.9), radius = 25.0 },
cameras = {
{ id = 'desk', label = 'Studio · Desk', coords = vector3(-584.0, -943.0, 25.5),
rot = vector3(-6.0, 0.0, 40.0), fov = 55.0 },
},
},
The shipped station position and cameras are an example. Put them where your newsroom (MLO) is.
enabled, fps, width and quality are also np_admin settings, in the Live category.
Exports ​
server
| Export | Returns | |
|---|---|---|
StartBroadcast(src, channelId, mode?) |
ok, reasonKey? |
Puts that player live on a channel, with the channel's job and item checks. mode = 'tripod' = from their tripod |
StopBroadcast(src) |
ok, reasonKey? |
Ends that player's broadcast |
SetLiveGraphics(channelId, { headline, ticker }) |
boolean |
Sets the lower third and the ticker |
GetLiveChannels() |
table |
Every channel: { id, label, onAir, viewers, by, source, director, link } |
GetLiveCameras(channelId) |
table |
Studio cameras and tripods: { id, label, kind, pose } |
client
| Export | Returns | |
|---|---|---|
StartBroadcast(channelId, mode?) |
boolean |
Asks the server to put this player live |
StopBroadcast() |
boolean |
Ends this player's broadcast |
ToggleBroadcast(channelId?, mode?) |
boolean |
Starts, or stops when already live on that channel |
IsBroadcasting() |
string | false |
The channel this player is live on |
-- a newsroom script puts up breaking news
exports.np_screens:SetLiveGraphics('weazel', {
headline = 'Shots fired outside Pillbox Hill Medical',
ticker = 'LSPD closes Elgin Ave between Strawberry and Vinewood',
})
Who is live and how many watch is also in GlobalState['np_screens:live']:
{ key, channels = { [id] = { onAir, viewers, since, by, source, program, headline, ticker, director, reporters } } }.