Bitfocus AS
logo
logo
Bitfocus AS
logo
logo
Sign upSign in

Loading...

Bitfocus

Subscribe to our newsletter

The latest news, articles, and resources, sent to your inbox.

FacebookInstagramGitHubYouTubeLinkedIn

Products

  • Buttons
  • Companion

Integrations

  • Supported Devices
  • Developer Community
  • Connection Development

Support

  • Support Overview
  • Documentation
  • Video Tutorials
  • Community Forum

Sales

  • Resellers & Integrators
  • Buttons Pricing

Updates

  • Case Studies
  • Events & Trade Shows
  • Press Releases
  • Product Updates
  • Webinars

Legal

  • Legal Overview
  • Privacy Policy
  • Buttons EULA
  • Terms & Cookie Policy

Company

  • About us
  • Press kit
  • Careers

© 2026 Bitfocus AS. All rights reserved.

  1. Connections
  2. Streamlabs - Desktop

Streamlabs

Desktop

Communityv1.1.0Updated last week
DocumentationReport an issueView on GitHub

Documentation

Streamlabs Desktop

This module controls Streamlabs Desktop (formerly Streamlabs OBS) through its built-in remote control API: scenes, scene collections, source visibility, streaming, recording, replay buffer, studio mode and audio sources, with live feedback and performance stats on your buttons.

Requirements

  • A recent Companion 4.x (developed and tested against 4.3.4)
  • Streamlabs Desktop running on the same machine as Companion (or reachable on your local network)
  • Remote Control enabled in Streamlabs Desktop (Settings > Remote Control)

Getting the API token

  1. In Streamlabs Desktop, open Settings > Remote Control.
  2. Click the QR code, then click Show details.
  3. Copy the API token and paste it in the module configuration.
  4. The port is shown there too (default 59650).

If you ever need to revoke access, use Generate new token in the same screen, then update the module configuration.

Configuration

FieldDescription
HostIP of the machine running Streamlabs Desktop. Keep 127.0.0.1 when it runs next to Companion.
PortRemote control port, default 59650.
API tokenThe token from Settings > Remote Control (see above). Stored as a secret.
Audio sources list"All audio sources" targets any source of the collection. "Current scene only" keeps lists short but follows the active scene.
Performance statsPolls CPU, FPS and dropped frames every 2 seconds into variables.
Safety lockWhen enabled, the Streaming start/stop/toggle actions do nothing. Handy during rehearsals or on shared setups.

Actions

ActionDescription
Scene: Set active sceneSwitch to a scene picked from a dropdown (a custom scene id is accepted too).
Scene: Set active scene by nameSwitch to the scene matching this name, with an optional "ignore case" mode. Supports variables.
Scene collection: SwitchLoads another scene collection (Streamlabs reloads all scenes and sources).
Streaming: Toggle / Start / StopControl the stream. Start and Stop check the live status first, so they are safe to retrigger.
Recording: Toggle / Start / StopControl the recording, same behaviour as streaming.
Replay buffer: Toggle / Start / Stop / Save replayControl the replay buffer and save it to disk while it is running.
Audio: Mute / unmute sourceMute, unmute or toggle any audio source.
Source: Show / hide scene itemShow, hide or toggle any source of any scene, on the horizontal, vertical or both displays.
Studio mode: Toggle / Enable / Disable / Execute transitionControl studio mode and send the preview to program.

Feedbacks

FeedbackDescription
Scene is activeButton style changes while the selected scene is on air (default red).
Streaming is activeActive while the stream is starting, live, ending or reconnecting.
Recording is activeActive while the recording is starting, running, stopping or writing.
Replay buffer is runningActive while the replay buffer runs (default green).
Audio source is mutedActive while the selected audio source is muted.
Scene item is visibleActive while the selected source is visible on the chosen display (default green).
Scene collection is activeActive while the selected collection is loaded.
Studio mode is enabledActive while studio mode is on (default orange).
Dropped frames above thresholdActive when the dropped frames percentage reaches your threshold (default 1%).

Variables

VariableDescription
current_sceneName of the active scene
current_scene_idId of the active scene
current_collectionName of the active scene collection
streamingtrue / false
streaming_statusRaw status: offline, starting, live, ending, reconnecting
stream_durationTime since the stream went live, HH:MM:SS
recordingtrue / false
recording_statusRaw status: offline, starting, recording, stopping, writing
recording_durationTime since the recording started, HH:MM:SS
replay_buffertrue / false
replay_buffer_statusRaw status: offline, running, stopping, saving
studio_modetrue / false
cpu_usageCPU usage of Streamlabs Desktop (%)
fpsCurrent output frame rate
dropped_framesNumber of dropped frames
dropped_frames_percentPercentage of dropped frames
mute_<source name>true / false, one variable per audio source

Everything updates in real time, including when you act directly in Streamlabs Desktop.

Presets

  • Scenes: one ready-made button per scene, wired to switch to it and turn red while it is active.
  • Streaming and recording: STREAM and REC toggles with live timers, replay buffer toggle and SAVE REPLAY.
  • Audio: one mute toggle per audio source, red while muted.
  • Studio mode: studio mode toggle and TAKE (transition) buttons.

Drop them from the Presets tab onto your buttons and you are done.

Status and troubleshooting

  • Connecting: the module is trying to reach Streamlabs Desktop.
  • OK: authenticated and synced.
  • Authentication failure: the token was rejected. Re-copy it from Settings > Remote Control (Show details), or generate a new one.
  • Disconnected / Connection failure: Streamlabs Desktop is closed or unreachable. The module reconnects automatically with a progressive backoff and resynchronizes everything as soon as Streamlabs is back.
  • Bad configuration: the host, port or API token is missing in the module configuration (the status message says which).

Notes:

  • Studio mode is refused by Streamlabs Desktop when dual output is enabled; the module logs a warning in that case.
  • A scene collection that has ever used dual output keeps a horizontal and a vertical copy of each source, even once dual output is turned off. The scene item dropdowns list each source once, with its folder path; the Display option picks the copy to control (horizontal by default, the main output) or keeps both in sync.
  • The replay buffer must be enabled in the Streamlabs output settings for the replay actions to do anything.
  • Switching scene collections reloads all scenes and sources; the module resynchronizes itself once the new collection is loaded.

Details

Manufacturer
Streamlabs
Product
Desktop
Latest Version
v1.1.0
Author
Ben Gosciniak
Contributor
BenNotix(5)

Open Issues and Requests

To file a new issue, you need to sign up for a user on GitHub.

Go to GitHub issues →

In other news

Buttons v1.8 Main with text

Buttons v1.8

October 2, 2026

Buttons v1.8 IBC award win

Bitfocus wins IBC2026 Best of Show Award for latest Buttons enhancements

September 21, 2026

Buttons v1.8 grey background

Biggest functionality boost yet makes Buttons the perfect platform for broadcast and media management

September 10, 2026

Vivid Buttons on screen

Bitfocus Buttons makes complex OB production feel simple

August 10, 2026

View all news →