mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add utest for config vhosts, transcode/dvr/hls
This commit is contained in:
parent
d612597a8f
commit
2c9e16a9e7
6 changed files with 3222 additions and 1152 deletions
|
@ -515,7 +515,17 @@ public:
|
|||
*/
|
||||
virtual SrsConfDirective* get_forward(std::string vhost);
|
||||
// http_hooks section
|
||||
private:
|
||||
/**
|
||||
* get the http_hooks directive of vhost.
|
||||
*/
|
||||
virtual SrsConfDirective* get_vhost_http_hooks(std::string vhost);
|
||||
public:
|
||||
/**
|
||||
* whether vhost http-hooks enabled.
|
||||
* @remark, if not enabled, donot callback all http hooks.
|
||||
*/
|
||||
virtual bool get_vhost_http_hooks_enabled(std::string vhost);
|
||||
/**
|
||||
* get the on_connect callbacks of vhost.
|
||||
* @return the on_connect callback directive, the args is the url to callback.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue