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:
parent
0576182f96
commit
9bba6e52ff
4 changed files with 4 additions and 18 deletions
|
|
@ -683,14 +683,11 @@ bool AdvancedOutput::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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue