mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Log: Use object as context id for complex context
This commit is contained in:
parent
bff7ef085d
commit
6624b8acca
34 changed files with 276 additions and 238 deletions
|
@ -71,7 +71,7 @@ srs_error_t srs_st_init()
|
|||
}
|
||||
|
||||
// Before ST init, we might have already inited the background cid.
|
||||
string cid = _srs_context->get_id();
|
||||
SrsContextId cid = _srs_context->get_id();
|
||||
if (cid.empty()) {
|
||||
cid = _srs_context->generate_id();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue