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

Fix disconnect RTSP connection has assertion, resulting in program exit

This commit is contained in:
夏立新 2020-02-17 18:46:05 +08:00
parent df3ec15cd1
commit d6e11706ec
4 changed files with 25 additions and 4 deletions

View file

@ -50,6 +50,7 @@ class ISrsUdpHandler;
class SrsUdpListener;
class SrsTcpListener;
class SrsAppCasterFlv;
class SrsRtspCaster;
class SrsCoroutineManager;
// The listener type for server to identify the connection,
@ -107,7 +108,7 @@ class SrsRtspListener : virtual public SrsListener, virtual public ISrsTcpHandle
{
private:
SrsTcpListener* listener;
ISrsTcpHandler* caster;
SrsRtspCaster* caster;
public:
SrsRtspListener(SrsServer* svr, SrsListenerType t, SrsConfDirective* c);
virtual ~SrsRtspListener();