mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
Refactor connection create process
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <nlohmann/json.hpp>
|
||||
#include <set>
|
||||
#include <string>
|
||||
#include <websocketpp/config/asio_no_tls.hpp>
|
||||
#include <websocketpp/server.hpp>
|
||||
@@ -43,7 +44,10 @@ class SignalServer {
|
||||
ws_connections_;
|
||||
std::map<room_id, connection_id> rooms_;
|
||||
unsigned int ws_connection_id_ = 0;
|
||||
std::string transport_id_ = "000000";
|
||||
std::string transmission_id_ = "000000";
|
||||
|
||||
std::set<std::string> transmission_list_;
|
||||
|
||||
std::map<std::string, std::string> offer_sdp_map_;
|
||||
std::map<std::string, std::string> answer_sdp_map_;
|
||||
std::map<std::string, websocketpp::connection_hdl> offer_hdl_map_;
|
||||
|
||||
Reference in New Issue
Block a user