mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
get stream info use http api #227
This commit is contained in:
parent
f8ec7c706d
commit
8d534d3470
5 changed files with 135 additions and 2 deletions
|
@ -486,6 +486,12 @@ public:
|
|||
private:
|
||||
virtual int create_forwarders();
|
||||
virtual void destroy_forwarders();
|
||||
//get information
|
||||
public:
|
||||
static std::map<std::string, SrsSource*>* get_source_pool() { return &pool; }
|
||||
virtual SrsRequest* get_reqinfo() { return _req; }
|
||||
virtual std::size_t get_consumers_size() { return consumers.size(); }
|
||||
virtual std::string get_source_type();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue