1
0
Fork 0
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:
winlin 2022-06-07 20:40:31 +08:00
parent 94cc50d146
commit d39ec3cf45
5 changed files with 47 additions and 20 deletions

View file

@ -23,7 +23,7 @@ VOID TEST(ServiceSrtPoller, SrtPollOperateSocket)
{
srs_error_t err = srs_success;
SrsSrtPoller* srt_poller = new SrsSrtPoller();
ISrsSrtPoller* srt_poller = srs_srt_poller_new();
HELPER_EXPECT_SUCCESS(srt_poller->initialize());
SRTSOCKET srt_fd = SRT_INVALID_SOCK;