Skip to content

frontend: set the Windows output network options through the platform facade (#883) - #1976

Merged
zackees merged 2 commits into
masterfrom
infra/883-output-network
Oct 23, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/883-output-network

Conversation

@zackees

@zackees zackees commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Refs #883 (step 2 of 5: 4 of the remaining conditionals).

SimpleOutput::StartStreaming and AdvancedOutput::StartStreaming each read NewSocketLoopEnable/LowLatencyEnable and set new_socket_loop_enabled/low_latency_mode_enabled under _WIN32. Both now call SetOutputNetworkOptions(main->Config(), settings), declared in frontend/utility/platform.hpp (already reached through OBSBasic.hpp in the utility PCH). platform-windows.cpp.hpp sets the same two keys from the same profile keys. platform-osx.mm.hpp and platform-x11.cpp.hpp (Linux and FreeBSD) set nothing, as before. The call sits where the old block did, before dyn_bitrate and obs_output_update, so the settings each platform passes don't change.

  • RED 806a2f6: test_output_network_options_go_through_the_facade in ci/test_frontend_cmake_facade.py. Locally: FAILED (failures=1).
  • GREEN 9087d6d: test OK. Ratchet baseline: SimpleOutput.cpp.hpp 2 → gone, AdvancedOutput.cpp.hpp 4 → 2 (the Apple encoder-id branch, step 3). ./lint: ok. Compiled by the Qt Linux lane; the Windows file selects the Windows lane.

Tiers 1-4 don't apply (no libobs or protocol change). Not user-visible.

…facade (#883)

RED: SimpleOutput and AdvancedOutput still read and set the socket loop and
low-latency options under _WIN32.
… facade (#883)

SimpleOutput and AdvancedOutput call SetOutputNetworkOptions(), declared in
platform.hpp. platform-windows sets new_socket_loop_enabled and
low_latency_mode_enabled from the profile as before; the macOS and X11
hosts set nothing. Four _WIN32 blocks fewer; the ratchet baseline drops
both files' entries.
@zackees
zackees force-pushed the infra/883-output-network branch from 1359d13 to 9087d6d Compare October 23, 2026 21:03
@zackees
zackees enabled auto-merge October 23, 2026 21:03
@zackees
zackees added this pull request to the merge queue Oct 23, 2026
Merged via the queue into master with commit 4527fbf Oct 23, 2026
30 checks passed
@zackees
zackees deleted the infra/883-output-network branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant