From 07ef8160a3aa1d1ca64e12e01781cc725486c404 Mon Sep 17 00:00:00 2001 From: winlin Date: Mon, 14 Sep 2015 15:25:01 +0800 Subject: [PATCH] clear the queue when edge republish. --- trunk/src/app/srs_app_source.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/trunk/src/app/srs_app_source.hpp b/trunk/src/app/srs_app_source.hpp index 7c626b7eb..fe82f6332 100755 --- a/trunk/src/app/srs_app_source.hpp +++ b/trunk/src/app/srs_app_source.hpp @@ -190,6 +190,10 @@ private: * if no iframe found, clear it. */ virtual void shrink(); +public: + /** + * clear all messages in queue. + */ virtual void clear(); };