1.Implementation for rtp session module; 2.Separate signal server from main project

This commit is contained in:
dijunkun
2023-09-06 11:29:34 +08:00
parent 213318bfa3
commit cea0cfdb95
15 changed files with 179 additions and 29 deletions

View File

@@ -0,0 +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;
}