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

For #2194, yield for timer, for live publisher

This commit is contained in:
winlin 2021-02-11 22:03:00 +08:00
parent 211b05fc64
commit 4fc1a19415
3 changed files with 11 additions and 1 deletions

View file

@ -144,6 +144,7 @@ class SrsPublishRecvThread : virtual public ISrsMessagePumper, virtual public IS
#endif
{
private:
uint32_t nn_msgs_for_yield_;
SrsRecvThread trd;
SrsRtmpServer* rtmp;
SrsRequest* req;