mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine generate_id, never set the cid for current thread
This commit is contained in:
parent
7052a1fafb
commit
bbc168d980
6 changed files with 13 additions and 14 deletions
|
@ -46,7 +46,6 @@ SrsThreadContext::~SrsThreadContext()
|
|||
SrsContextId SrsThreadContext::generate_id()
|
||||
{
|
||||
SrsContextId cid = SrsContextId(srs_random_str(8));
|
||||
cache[srs_thread_self()] = cid;
|
||||
return cid;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue