Skip to content

Develop - #5

Merged
JoaquinBCh merged 5 commits into
masterfrom
develop
Nov 10, 2026
Merged

JoaquinBCh merged 5 commits into
masterfrom
develop

Conversation

@JoaquinBCh

@JoaquinBCh JoaquinBCh commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

This change is Reviewable

emilsas and others added 5 commits November 10, 2026 11:39
Add a "Service Options" group to the Stream settings page that renders
a service's own properties, so that a plugin can expose its settings
without requiring frontend changes.

obsproject#12911 makes a plugin's service appear in the services dropdown, but
the Stream page could still only configure Server and Stream Key. A
service with settings of its own had nowhere to put them in the UI,
leaving plugins with the problem obsproject#12911 solves for discovery: editing
OBSBasicSettings_Stream.cpp to hardcode new fields.

The group is only shown for a plugin-provided service that declares at
least one property the Stream page does not already own. Properties
named after keys the page writes itself are removed, so that they
cannot appear twice or overwrite what the page saves.

On save, the property values are written to the service settings
together with their defaults, as explicit values. This is needed
because, unlike outputs, services do not have get_defaults applied on
creation, so the plugin would otherwise receive empty fields in
create(). The trade-off is that defaults are frozen once the user
saves: changing a default in a later version of a plugin does not
reach users who already have settings stored.
Add a "low_latency" encoder setting, not exposed in the UI, that
services can enable through apply_encoder_settings for real-time
protocols. On hardware H.264/HEVC encoders it creates the session with
EnableLowLatencyRateControl, which selects the low latency (.rtvc)
encoder, and sets RealTime. CBR falls back to ABR and Spatial AQ is
skipped, as neither is supported in this mode. Other encoders ignore
the setting and encode normally.
@JoaquinBCh
JoaquinBCh merged commit 105b85c into master Nov 10, 2026
8 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants