mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
remove sip device list locker, add sip session locker
This commit is contained in:
parent
84afc32a96
commit
d01955443e
2 changed files with 17 additions and 31 deletions
|
@ -94,8 +94,6 @@ private:
|
|||
//std::map<std::string, int> _device_status;
|
||||
int _sip_cseq;
|
||||
|
||||
srs_mutex_t lock_list;
|
||||
|
||||
public:
|
||||
SrsGb28181SipSession(SrsGb28181SipService *c, SrsSipRequest* r);
|
||||
virtual ~SrsGb28181SipSession();
|
||||
|
@ -159,6 +157,8 @@ private:
|
|||
|
||||
std::map<std::string, SrsGb28181SipSession*> sessions;
|
||||
std::map<std::string, SrsGb28181SipSession*> sessions_by_callid;
|
||||
|
||||
srs_mutex_t lock_session;
|
||||
public:
|
||||
SrsGb28181SipService(SrsConfDirective* c);
|
||||
virtual ~SrsGb28181SipService();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue