mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #319, refine the config forward.
This commit is contained in:
parent
bc24c0407b
commit
6bd05f9cfc
7 changed files with 119 additions and 45 deletions
|
@ -598,10 +598,14 @@ private:
|
|||
virtual int get_global_chunk_size();
|
||||
// forward section
|
||||
public:
|
||||
/**
|
||||
* whether the forwarder enabled.
|
||||
*/
|
||||
virtual bool get_forward_enabled(std::string vhost);
|
||||
/**
|
||||
* get the forward directive of vhost.
|
||||
*/
|
||||
virtual SrsConfDirective* get_forward(std::string vhost);
|
||||
virtual SrsConfDirective* get_forwards(std::string vhost);
|
||||
// http_hooks section
|
||||
private:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue