Stream Deck API
Integrate the Sonoran Radio Stream Deck plugin with desktop or FiveM.
Overview
Recommended FiveM Architecture
Stream Deck Plugin
-> Sonoran Radio Desktop HTTP bridge
-> local FiveM WebSocket client
-> FiveM client script
-> Sonoran Radio iframe/NUI
Sonoran Radio iframe/NUI
-> FiveM client script
-> local FiveM WebSocket client
-> Sonoran Radio Desktop snapshot cache
-> Stream Deck Plugin label/status pollingDesktop Bridge
Health Check
Get Current Snapshot
Send a Command
FiveM Desktop Bridge
Health Check
Get Current FiveM Snapshot
Forward a Command to FiveM
WebSocket Message Contract
Messages Sent From Desktop to FiveM
hello
hellostreamdeck_command
streamdeck_commandstreamdeck_snapshot
streamdeck_snapshotMessages Sent From FiveM to Desktop
streamdeck_snapshot
streamdeck_snapshotstreamdeck_snapshot_request
streamdeck_snapshot_requestOptional Acknowledgements
Command Payload
Field
Type
Required
Notes
Phase Rules
Supported Commands
Command
Extra Fields
Description
Snapshot Schema
Channels
Field
Type
Description
State
Field
Type
Description
FiveM Iframe Message Contract
Messages Sent To Sonoran Radio
streamdeck_command
streamdeck_commandstreamdeck_snapshot_request
streamdeck_snapshot_requestMessages Sent From Sonoran Radio
streamdeck_snapshot
streamdeck_snapshotFiveM JavaScript Example
Notes
Last updated
Was this helpful?

