Repository navigation
frontend: set the Windows output network options through the platform facade (#883) - #1976
Merged
Merged
Conversation
…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
force-pushed
the
infra/883-output-network
branch
from
October 23, 2026 21:03
1359d13 to
9087d6d
Compare
zackees
enabled auto-merge
October 23, 2026 21:03
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #883 (step 2 of 5: 4 of the remaining conditionals).
SimpleOutput::StartStreamingandAdvancedOutput::StartStreamingeach readNewSocketLoopEnable/LowLatencyEnableand setnew_socket_loop_enabled/low_latency_mode_enabledunder_WIN32. Both now callSetOutputNetworkOptions(main->Config(), settings), declared infrontend/utility/platform.hpp(already reached throughOBSBasic.hppin the utility PCH).platform-windows.cpp.hppsets the same two keys from the same profile keys.platform-osx.mm.hppandplatform-x11.cpp.hpp(Linux and FreeBSD) set nothing, as before. The call sits where the old block did, beforedyn_bitrateandobs_output_update, so the settings each platform passes don't change.test_output_network_options_go_through_the_facadeinci/test_frontend_cmake_facade.py. Locally:FAILED (failures=1).SimpleOutput.cpp.hpp2 → gone,AdvancedOutput.cpp.hpp4 → 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.