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

fix the export project bug. wakeup connection when dispose server.

This commit is contained in:
winlin 2015-06-09 14:38:05 +08:00
parent 969ed7b0ae
commit 1f1776a0d8
5 changed files with 65 additions and 17 deletions

View file

@ -53,6 +53,7 @@ class SrsSharedPtrMessage;
class SrsQueueRecvThread;
class SrsPublishRecvThread;
class SrsSecurity;
class ISrsWakable;
/**
* the client provides the main logic control for RTMP clients.
@ -70,6 +71,8 @@ private:
SrsRefer* refer;
SrsBandwidth* bandwidth;
SrsSecurity* security;
// the wakable handler, maybe NULL.
ISrsWakable* wakable;
// elapse duration in ms
// for live play duration, for instance, rtmpdump to record.
// @see https://github.com/simple-rtmp-server/srs/issues/47
@ -85,6 +88,8 @@ private:
public:
SrsRtmpConn(SrsServer* svr, st_netfd_t c);
virtual ~SrsRtmpConn();
public:
virtual void dispose();
protected:
virtual int do_cycle();
// interface ISrsReloadHandler