+7
-7
lines changedFilter options
+7
-7
lines changed Original file line number Diff line number Diff line change
@@ -377,9 +377,9 @@ void SrtCommon::OpenClient(string host, int port)
377
377
{
378
378
PrepareClient();
379
379
380
-
if ( m_outgoing_port )
380
+
if (m_outgoing_port || m_adapter != "")
381
381
{
382
-
SetupAdapter("", m_outgoing_port);
382
+
SetupAdapter(m_adapter, m_outgoing_port);
383
383
}
384
384
385
385
ConnectClient(host, port);
Original file line number Diff line number Diff line change
@@ -881,9 +881,9 @@ void SrtCommon::OpenClient(string host, int port)
881
881
{
882
882
PrepareClient();
883
883
884
-
if (m_outgoing_port)
884
+
if (m_outgoing_port || m_adapter != "")
885
885
{
886
-
SetupAdapter("", m_outgoing_port);
886
+
SetupAdapter(m_adapter, m_outgoing_port);
887
887
}
888
888
889
889
ConnectClient(host, port);
@@ -2580,10 +2580,10 @@ void SrtModel::Establish(std::string& w_name)
2580
2580
Verb() << "NO STREAM ID for SRT connection";
2581
2581
}
2582
2582
2583
-
if (m_outgoing_port)
2583
+
if (m_outgoing_port || m_adapter != "")
2584
2584
{
2585
-
Verb() << "Setting outgoing port: " << m_outgoing_port;
2586
-
SetupAdapter("", m_outgoing_port);
2585
+
Verb() << "Setting outgoing port: " << m_outgoing_port << " adapter:" << m_adapter;
2586
+
SetupAdapter(m_adapter, m_outgoing_port);
2587
2587
}
2588
2588
2589
2589
ConnectClient(m_host, m_port);
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4