1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

SRT: Refine get_srt_poller to poller.

This commit is contained in:
winlin 2022-05-28 16:53:40 +08:00
parent 21899c5998
commit 6c94e91792
4 changed files with 10 additions and 10 deletions

View file

@ -104,14 +104,14 @@ public:
virtual SrsSrtServer* instance();
};
// The srt event loop, run srt poller and wait event happeed.
// Start a coroutine to drive the SRT events with state-threads.
class SrsSrtEventLoop : public ISrsCoroutineHandler
{
public:
SrsSrtEventLoop();
virtual ~SrsSrtEventLoop();
public:
SrsSrtPoller* get_srt_poller() { return srt_poller_; }
SrsSrtPoller* poller() { return srt_poller_; }
public:
srs_error_t initialize();
srs_error_t start();