mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Log: Refine context
This commit is contained in:
parent
0a057a0427
commit
66aaad7805
4 changed files with 32 additions and 5 deletions
|
@ -1699,7 +1699,10 @@ void SrsHttpApi::remark(int64_t* in, int64_t* out)
|
|||
srs_error_t SrsHttpApi::do_cycle()
|
||||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
||||
|
||||
// Create context for API.
|
||||
_srs_context->set_id(_srs_context->generate_id());
|
||||
|
||||
srs_trace("API server client, ip=%s:%d", ip.c_str(), port);
|
||||
|
||||
// initialize parser
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue