完成FLV复用器改造

优化代码结构
This commit is contained in:
xiongziliang
2018-08-31 14:13:00 +08:00
parent ef9ebc89e0
commit 732eb2d197
15 changed files with 74 additions and 68 deletions

View File

@@ -117,9 +117,6 @@ public:
unregist();
}
virtual bool regist() ;
virtual bool unregist() ;
static Ptr find(const string &schema,
const string &vhost,
const string &app,
@@ -179,6 +176,10 @@ public:
}
}
}
protected:
bool regist() ;
bool unregist() ;
private:
template <typename FUN>
static bool searchMedia(const string &schema,