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
|
@ -164,6 +164,28 @@ protected:
|
|||
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
|
||||
};
|
||||
|
||||
class SrsApiVhosts : public SrsHttpHandler
|
||||
{
|
||||
public:
|
||||
SrsApiVhosts();
|
||||
virtual ~SrsApiVhosts();
|
||||
public:
|
||||
virtual bool can_handle(const char* path, int length, const char** pchild);
|
||||
protected:
|
||||
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
|
||||
};
|
||||
|
||||
class SrsApiStreams : public SrsHttpHandler
|
||||
{
|
||||
public:
|
||||
SrsApiStreams();
|
||||
virtual ~SrsApiStreams();
|
||||
public:
|
||||
virtual bool can_handle(const char* path, int length, const char** pchild);
|
||||
protected:
|
||||
virtual int do_process_request(SrsStSocket* skt, SrsHttpMessage* req);
|
||||
};
|
||||
|
||||
class SrsHttpApi : public SrsConnection
|
||||
{
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue