mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Add IPv4 / IPv6 selection setting
This commit adds a field in Settings -> Advanced called 'IP Address Family' that allows users to select IPv4 and IPv6, IPv4 Only, or IPv6 Only.
This commit is contained in:
@@ -249,6 +249,10 @@ void AutoConfigTestPage::TestBandwidthThread()
|
||||
config_get_string(main->Config(), "Output", "BindIP");
|
||||
obs_data_set_string(output_settings, "bind_ip", bind_ip);
|
||||
|
||||
const char *ip_family =
|
||||
config_get_string(main->Config(), "Output", "IPFamily");
|
||||
obs_data_set_string(output_settings, "ip_family", ip_family);
|
||||
|
||||
/* -----------------------------------*/
|
||||
/* determine which servers to test */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user