UI: Disable reconnect for bandwidth test

Trying to reconnect would cause a hard crash of OBS rather than going to
the failed state. Therefore disable reconnects when doing bandwidth
testing.
This commit is contained in:
derrod 2021-09-06 03:42:50 +02:00 • committed by Jim
commit 1e98c9a0be

View file

@ -305,6 +305,7 @@ void AutoConfigTestPage::TestBandwidthThread()
obs_output_set_video_encoder(output, vencoder);
obs_output_set_audio_encoder(output, aencoder, 0);
obs_output_set_reconnect_settings(output, 0, 0);
obs_output_set_service(output, service);