mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
client connection no disconnect
This commit is contained in:
parent
9b8f6ff962
commit
1e34d2a5cd
5 changed files with 38 additions and 2 deletions
4
trunk/src/app/srs_app_recv_thread.hpp
Normal file → Executable file
4
trunk/src/app/srs_app_recv_thread.hpp
Normal file → Executable file
|
|
@ -42,6 +42,7 @@ class SrsCommonMessage;
|
|||
class SrsRtmpConn;
|
||||
class SrsSource;
|
||||
class SrsRequest;
|
||||
class SrsConsumer;
|
||||
|
||||
/**
|
||||
* for the recv thread to handle the message.
|
||||
|
|
@ -112,6 +113,7 @@ private:
|
|||
SrsRtmpServer* rtmp;
|
||||
// the recv thread error code.
|
||||
int recv_error_code;
|
||||
SrsConsumer *_consumer;
|
||||
public:
|
||||
SrsQueueRecvThread(SrsRtmpServer* rtmp_sdk, int timeout_ms);
|
||||
virtual ~SrsQueueRecvThread();
|
||||
|
|
@ -130,6 +132,8 @@ public:
|
|||
public:
|
||||
virtual void on_thread_start();
|
||||
virtual void on_thread_stop();
|
||||
public:
|
||||
virtual void set_consumer(SrsConsumer *consumer);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue