mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
UDP: Refine context id
This commit is contained in:
parent
ab4dfbf755
commit
cfa74a0715
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ srs_error_t SrsUdpListener::listen()
|
|||
handler->set_stfd(lfd);
|
||||
|
||||
srs_freep(trd);
|
||||
trd = new SrsSTCoroutine("udp", this);
|
||||
trd = new SrsSTCoroutine("udp", this, _srs_context->get_id());
|
||||
if ((err = trd->start()) != srs_success) {
|
||||
return srs_error_wrap(err, "start thread");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue