mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04: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:
1 parent
6db5458f22
commit
df3623b478
1 file changed
+2
-2
@@ -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