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

Create isolate pithy printer for each RTC FD

This commit is contained in:
winlin 2020-04-13 09:32:48 +08:00
parent 087559813f
commit 216b3bf414
4 changed files with 9 additions and 8 deletions

View file

@ -88,8 +88,9 @@ public:
static SrsPithyPrint* create_http_stream();
static SrsPithyPrint* create_http_stream_cache();
static SrsPithyPrint* create_rtc_play();
static SrsPithyPrint* create_rtc_send();
static SrsPithyPrint* create_rtc_recv();
// 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);
virtual ~SrsPithyPrint();
private:
// Enter the specified stage, return the client id.