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:
parent
087559813f
commit
216b3bf414
4 changed files with 9 additions and 8 deletions
|
@ -177,14 +177,14 @@ SrsPithyPrint* SrsPithyPrint::create_rtc_play()
|
|||
return new SrsPithyPrint(SRS_CONSTS_STAGE_RTC_PLAY);
|
||||
}
|
||||
|
||||
SrsPithyPrint* SrsPithyPrint::create_rtc_send()
|
||||
SrsPithyPrint* SrsPithyPrint::create_rtc_send(int fd)
|
||||
{
|
||||
return new SrsPithyPrint(SRS_CONSTS_STAGE_RTC_SEND);
|
||||
return new SrsPithyPrint(fd<<16 | SRS_CONSTS_STAGE_RTC_SEND);
|
||||
}
|
||||
|
||||
SrsPithyPrint* SrsPithyPrint::create_rtc_recv()
|
||||
SrsPithyPrint* SrsPithyPrint::create_rtc_recv(int fd)
|
||||
{
|
||||
return new SrsPithyPrint(SRS_CONSTS_STAGE_RTC_RECV);
|
||||
return new SrsPithyPrint(fd<<16 | SRS_CONSTS_STAGE_RTC_RECV);
|
||||
}
|
||||
|
||||
SrsPithyPrint::~SrsPithyPrint()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue