mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Remove dead code. Merge tiny functions.
This commit is contained in:
parent
21835c38b7
commit
6545370b7f
4 changed files with 23 additions and 44 deletions
|
@ -118,12 +118,10 @@ public:
|
|||
void destroy(SrsRtcConnection* session);
|
||||
public:
|
||||
bool insert_into_id_sessions(const std::string& peer_id, SrsRtcConnection* session);
|
||||
// TODO: FIXME: Change to private.
|
||||
void check_and_clean_timeout_session();
|
||||
int nn_sessions();
|
||||
SrsRtcConnection* find_session_by_username(const std::string& ufrag);
|
||||
private:
|
||||
SrsRtcConnection* find_session_by_peer_id(const std::string& peer_id);
|
||||
void check_and_clean_timeout_session();
|
||||
public:
|
||||
SrsRtcConnection* find_session_by_username(const std::string& ufrag);
|
||||
// interface ISrsHourGlass
|
||||
public:
|
||||
virtual srs_error_t notify(int type, srs_utime_t interval, srs_utime_t tick);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue