mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Support address switch
This commit is contained in:
parent
38f935ead8
commit
5f88dc357e
3 changed files with 21 additions and 0 deletions
|
@ -94,6 +94,7 @@ public:
|
|||
void destroy(SrsRtcConnection* session);
|
||||
public:
|
||||
bool insert_into_id_sessions(const std::string& peer_id, SrsRtcConnection* session);
|
||||
void remove_id_sessions(const std::string& peer_id);
|
||||
void check_and_clean_timeout_session();
|
||||
int nn_sessions();
|
||||
SrsRtcConnection* find_session_by_username(const std::string& ufrag);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue