+11
-11
lines changedFilter options
+11
-11
lines changed Original file line number Diff line number Diff line change
@@ -321,7 +321,7 @@ bool DoUpload(UriParser& ut, string path, string filename,
321
321
<< tar->GetSRTSocket() << endl;
322
322
goto exit;
323
323
}
324
-
UDT::setstreamid(tar->GetSRTSocket(), filename);
324
+
srt::setstreamid(tar->GetSRTSocket(), filename);
325
325
}
326
326
327
327
s = tar->GetSRTSocket();
@@ -539,7 +539,7 @@ bool DoDownload(UriParser& us, string directory, string filename,
539
539
cerr << "Failed to add SRT client to poll" << endl;
540
540
goto exit;
541
541
}
542
-
id = UDT::getstreamid(s);
542
+
id = srt::getstreamid(s);
543
543
cerr << "Source connected (listener), id ["
544
544
<< id << "]" << endl;
545
545
connected = true;
@@ -550,7 +550,7 @@ bool DoDownload(UriParser& us, string directory, string filename,
550
550
{
551
551
if (!connected)
552
552
{
553
-
id = UDT::getstreamid(s);
553
+
id = srt::getstreamid(s);
554
554
cerr << "Source connected (caller), id ["
555
555
<< id << "]" << endl;
556
556
connected = true;
@@ -714,7 +714,7 @@ int main(int argc, char** argv)
714
714
}
715
715
else
716
716
{
717
-
UDT::setlogstream(logfile_stream);
717
+
srt::setlogstream(logfile_stream);
718
718
}
719
719
}
720
720
Original file line number Diff line number Diff line change
@@ -434,7 +434,7 @@ int main(int argc, char** argv)
434
434
}
435
435
else
436
436
{
437
-
UDT::setlogstream(logfile_stream);
437
+
srt::setlogstream(logfile_stream);
438
438
}
439
439
}
440
440
Original file line number Diff line number Diff line change
@@ -1115,21 +1115,21 @@ int main( int argc, char** argv )
1115
1115
string loglevel = Option<OutString>(params, "error", o_loglevel);
1116
1116
string logfa = Option<OutString>(params, "", o_logfa);
1117
1117
srt_logging::LogLevel::type lev = SrtParseLogLevel(loglevel);
1118
-
UDT::setloglevel(lev);
1118
+
srt::setloglevel(lev);
1119
1119
if (logfa == "")
1120
1120
{
1121
-
UDT::addlogfa(SRT_LOGFA_APP);
1121
+
srt::addlogfa(SRT_LOGFA_APP);
1122
1122
}
1123
1123
else
1124
1124
{
1125
1125
// Add only selected FAs
1126
1126
set<string> unknown_fas;
1127
1127
set<srt_logging::LogFA> fas = SrtParseLogFA(logfa, &unknown_fas);
1128
-
UDT::resetlogfa(fas);
1128
+
srt::resetlogfa(fas);
1129
1129
1130
1130
// The general parser doesn't recognize the "app" FA, we check it here.
1131
1131
if (unknown_fas.count("app"))
1132
-
UDT::addlogfa(SRT_LOGFA_APP);
1132
+
srt::addlogfa(SRT_LOGFA_APP);
1133
1133
}
1134
1134
1135
1135
string verbo = Option<OutString>(params, "no", o_verbose);
Original file line number Diff line number Diff line change
@@ -624,7 +624,7 @@ void SrtModel::Establish(std::string& w_name)
624
624
if (w_name != "")
625
625
{
626
626
Verb() << "Connect with requesting stream [" << w_name << "]";
627
-
UDT::setstreamid(m_sock, w_name);
627
+
srt::setstreamid(m_sock, w_name);
628
628
}
629
629
else
630
630
{
@@ -667,7 +667,7 @@ void SrtModel::Establish(std::string& w_name)
667
667
Verb() << "Accepting a client...";
668
668
AcceptNewClient();
669
669
// This rewrites m_sock with a new SRT socket ("accepted" socket)
670
-
w_name = UDT::getstreamid(m_sock);
670
+
w_name = srt::getstreamid(m_sock);
671
671
Verb() << "... GOT CLIENT for stream [" << w_name << "]";
672
672
}
673
673
}
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