mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #367, support nginx-rtmp exec. 3.0.1
This commit is contained in:
parent
7de181004f
commit
c34b0c86e1
25 changed files with 519 additions and 14 deletions
|
@ -793,6 +793,21 @@ public:
|
|||
* @remark, we will use some variable, for instance, [vhost] to substitude with vhost.
|
||||
*/
|
||||
virtual std::string get_engine_output(SrsConfDirective* engine);
|
||||
// vhost exec secion
|
||||
private:
|
||||
/**
|
||||
* get the exec directive of vhost.
|
||||
*/
|
||||
virtual SrsConfDirective* get_exec(std::string vhost);
|
||||
public:
|
||||
/**
|
||||
* whether the exec is enabled of vhost.
|
||||
*/
|
||||
virtual bool get_exec_enabled(std::string vhost);
|
||||
/**
|
||||
* get all exec publish directives of vhost.
|
||||
*/
|
||||
virtual std::vector<SrsConfDirective*> get_exec_publishs(std::string vhost);
|
||||
// vhost ingest section
|
||||
public:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue