mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
ingest reload: support disable vhost
This commit is contained in:
parent
5e504944dc
commit
e6d8bc1e5c
3 changed files with 41 additions and 13 deletions
|
@ -61,7 +61,6 @@ struct SrsIngesterFFMPEG
|
|||
class SrsIngester : public ISrsThreadHandler, public ISrsReloadHandler
|
||||
{
|
||||
private:
|
||||
std::string input_stream_name;
|
||||
std::vector<SrsIngesterFFMPEG*> ingesters;
|
||||
private:
|
||||
SrsThread* pthread;
|
||||
|
@ -85,6 +84,7 @@ private:
|
|||
virtual void ingester();
|
||||
// interface ISrsReloadHandler.
|
||||
public:
|
||||
virtual int on_reload_vhost_removed(std::string vhost);
|
||||
virtual int on_reload_vhost_added(std::string vhost);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue