mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
frontend: Allow Network Optimizations with multitrack video
"Enable network optimizations" in the Advanced Settings is referred to as `NewSocketLoop` in the code. This feature was incompatible with multitrack video but now works properly. Remove it from the incompatible settings check.
This commit is contained in:
@@ -674,14 +674,11 @@ bool SimpleOutput::StartStreaming(obs_service_t *service)
|
||||
#ifdef _WIN32
|
||||
bool enableNewSocketLoop = config_get_bool(main->Config(), "Output", "NewSocketLoopEnable");
|
||||
bool enableLowLatencyMode = config_get_bool(main->Config(), "Output", "LowLatencyEnable");
|
||||
#else
|
||||
bool enableNewSocketLoop = false;
|
||||
#endif
|
||||
bool enableDynBitrate = config_get_bool(main->Config(), "Output", "DynamicBitrate");
|
||||
|
||||
if (multitrackVideo && multitrackVideoActive &&
|
||||
!multitrackVideo->HandleIncompatibleSettings(main, main->Config(), service, enableNewSocketLoop,
|
||||
enableDynBitrate)) {
|
||||
!multitrackVideo->HandleIncompatibleSettings(main, main->Config(), service, enableDynBitrate)) {
|
||||
multitrackVideoActive = false;
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user