Use user id instead of ice username

This commit is contained in:
dijunkun
2023-08-21 17:31:44 +08:00
parent 515f0c06bd
commit d5c1c26fc9
118 changed files with 26528 additions and 26275 deletions

View File

@@ -1,17 +1,17 @@
#include <iostream>
#include "signal_server.h"
int main(int argc, char* argv[]) {
SignalServer s;
std::string port = "";
if (argc > 1) {
port = argv[1];
} else {
port = "9090";
}
std::cout << "Port: " << port << std::endl;
s.run(std::stoi(port));
return 0;
#include <iostream>
#include "signal_server.h"
int main(int argc, char* argv[]) {
SignalServer s;
std::string port = "";
if (argc > 1) {
port = argv[1];
} else {
port = "9090";
}
std::cout << "Port: " << port << std::endl;
s.run(std::stoi(port));
return 0;
}