mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Swap reconnect parameters
Fixes a bug where it would use the max retries for the delay time and vise-versa.
This commit is contained in:
@@ -1776,8 +1776,8 @@ void OBSBasic::on_streamButton_clicked()
|
||||
if (!reconnect)
|
||||
maxRetries = 0;
|
||||
|
||||
obs_output_set_reconnect_settings(streamOutput, retryDelay,
|
||||
maxRetries);
|
||||
obs_output_set_reconnect_settings(streamOutput, maxRetries,
|
||||
retryDelay);
|
||||
|
||||
if (obs_output_start(streamOutput)) {
|
||||
activeRefs++;
|
||||
|
||||
Reference in New Issue
Block a user