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

Refine SRT code, with StateThread adpater

This commit is contained in:
hondaxiao 2022-04-15 13:54:24 +08:00 committed by winlin
parent 3ed4aed824
commit 94fa0ff7bd
25 changed files with 4131 additions and 68 deletions

View file

@ -130,6 +130,10 @@ public:
// For RTC sender and receiver, we create printer for each fd.
static SrsPithyPrint* create_rtc_send(int fd);
static SrsPithyPrint* create_rtc_recv(int fd);
#ifdef SRS_SRT
static SrsPithyPrint* create_srt_play();
static SrsPithyPrint* create_srt_publish();
#endif
virtual ~SrsPithyPrint();
private:
// Enter the specified stage, return the client id.