1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

add ingest config

This commit is contained in:
winlin 2014-04-07 13:13:57 +08:00
parent 9107831b0e
commit 92281548b6
10 changed files with 179 additions and 9 deletions

View file

@ -139,6 +139,7 @@ public:
// vhost section
public:
virtual SrsConfDirective* get_vhost(std::string vhost);
virtual void get_vhosts(std::vector<SrsConfDirective*>& vhosts);
virtual bool get_vhost_enabled(std::string vhost);
virtual bool get_vhost_enabled(SrsConfDirective* vhost);
virtual SrsConfDirective* get_vhost_on_connect(std::string vhost);
@ -184,9 +185,11 @@ public:
virtual int get_engine_achannels(SrsConfDirective* engine);
virtual void get_engine_aparams(SrsConfDirective* engine, std::vector<std::string>& aparams);
virtual std::string get_engine_output(SrsConfDirective* engine);
// vhost ingest section
// ingest section
public:
virtual void get_ingesters(std::string vhost, std::vector<SrsConfDirective*>& ingeters);
virtual bool get_ingest_enabled(SrsConfDirective* ingest);
virtual std::string get_ingest_ffmpeg(SrsConfDirective* ingest);
// log section
public:
virtual bool get_srs_log_tank_file();