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:
parent
21899c5998
commit
6c94e91792
4 changed files with 10 additions and 10 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue