1
0
Fork 0
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:
zhengfl 2014-10-02 19:45:04 +08:00
parent 9b8f6ff962
commit 1e34d2a5cd
5 changed files with 38 additions and 2 deletions

4
trunk/src/app/srs_app_source.hpp Normal file → Executable file
View file

@ -246,6 +246,10 @@ public:
* @param duration the messgae duration to wait.
*/
virtual void wait(int nb_msgs, int duration);
/**
* when waiting, a message incomming, we rouse it
*/
virtual void on_dispose();
#endif
/**
* when client send the pause message.