mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for bug #217, use isolate thread to improve 17% performance.
This commit is contained in:
parent
d3c770d252
commit
622218c4dd
7 changed files with 286 additions and 62 deletions
|
@ -49,6 +49,7 @@ class SrsBandwidth;
|
|||
class SrsKbps;
|
||||
class SrsRtmpClient;
|
||||
class SrsSharedPtrMessage;
|
||||
class IsolateRecvThread;
|
||||
|
||||
/**
|
||||
* the client provides the main logic control for RTMP clients.
|
||||
|
@ -88,6 +89,7 @@ private:
|
|||
virtual int stream_service_cycle();
|
||||
virtual int check_vhost();
|
||||
virtual int playing(SrsSource* source);
|
||||
virtual int do_playing(SrsSource* source, IsolateRecvThread* trd);
|
||||
virtual int fmle_publishing(SrsSource* source);
|
||||
virtual int do_fmle_publishing(SrsSource* source);
|
||||
virtual int flash_publishing(SrsSource* source);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue