1
0
Fork 0
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:
winlin 2015-08-30 07:59:25 +08:00
parent bc24c0407b
commit 6bd05f9cfc
7 changed files with 119 additions and 45 deletions

View file

@ -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:
/**