mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
fix #459, support dvr raw api. 3.0.4
This commit is contained in:
parent
2b9869ee52
commit
8a90e76637
5 changed files with 117 additions and 11 deletions
|
@ -399,6 +399,14 @@ public:
|
|||
* raw enable the disabled vhost.
|
||||
*/
|
||||
virtual int raw_enable_vhost(std::string vhost, bool& applied);
|
||||
/**
|
||||
* raw enable the dvr of stream of vhost.
|
||||
*/
|
||||
virtual int raw_enable_dvr(std::string vhost, std::string stream, bool& applied);
|
||||
/**
|
||||
* raw disable the dvr of stream of vhost.
|
||||
*/
|
||||
virtual int raw_disable_dvr(std::string vhost, std::string stream, bool& applied);
|
||||
private:
|
||||
virtual int do_reload_listen();
|
||||
virtual int do_reload_pid();
|
||||
|
@ -410,6 +418,7 @@ private:
|
|||
virtual int do_reload_pithy_print_ms();
|
||||
virtual int do_reload_vhost_added(std::string vhost);
|
||||
virtual int do_reload_vhost_removed(std::string vhost);
|
||||
virtual int do_reload_vhost_dvr_apply(std::string vhost);
|
||||
public:
|
||||
/**
|
||||
* get the config file path.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue