UDP: Refine context id

This commit is contained in:
winlin 2020-06-16 19:45:55 +08:00
parent ab4dfbf755
commit cfa74a0715

View File

@ -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");
}