Skip to content

Commit

Permalink
clear the queue when edge republish.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 14, 2015
1 parent 704624c commit 07ef816
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions trunk/src/app/srs_app_source.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,10 @@ class SrsMessageQueue
* if no iframe found, clear it.
*/
virtual void shrink();
public:
/**
* clear all messages in queue.
*/
virtual void clear();
};

Expand Down

0 comments on commit 07ef816

Please sign in to comment.