mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
SRT: Extract ISrsSrtPoller to hide SRT_EPOLL_EVENT
This commit is contained in:
parent
94cc50d146
commit
d39ec3cf45
5 changed files with 47 additions and 20 deletions
|
@ -359,7 +359,7 @@ srs_error_t SrsSrtEventLoop::initialize()
|
|||
{
|
||||
srs_error_t err = srs_success;
|
||||
|
||||
srt_poller_ = new SrsSrtPoller();
|
||||
srt_poller_ = srs_srt_poller_new();
|
||||
|
||||
if ((err = srt_poller_->initialize()) != srs_success) {
|
||||
return srs_error_wrap(err, "srt poller initialize");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue