mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
support dolphin
This commit is contained in:
parent
e5461d2df9
commit
394e070b2e
3 changed files with 63 additions and 2 deletions
|
@ -266,6 +266,12 @@ class SrsConfig
|
|||
{
|
||||
// user command
|
||||
private:
|
||||
/**
|
||||
* whether srs is run in dolphin mode.
|
||||
* @see https://github.com/simple-rtmp-server/srs-dolphin
|
||||
*/
|
||||
bool dolphin;
|
||||
std::string dolphin_port;
|
||||
/**
|
||||
* whether show help and exit.
|
||||
*/
|
||||
|
@ -309,6 +315,14 @@ private:
|
|||
public:
|
||||
SrsConfig();
|
||||
virtual ~SrsConfig();
|
||||
// dolphin
|
||||
public:
|
||||
/**
|
||||
* whether srs is in dolphin mode.
|
||||
*/
|
||||
virtual bool is_dolphin();
|
||||
private:
|
||||
virtual void set_config_directive(SrsConfDirective* parent, std::string dir, std::string value);
|
||||
// reload
|
||||
public:
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue