mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #324, support hstrs(http stream trigger rtmp source) origin mode. 2.0.139.
This commit is contained in:
parent
995b130090
commit
27cb62b7aa
8 changed files with 123 additions and 13 deletions
|
@ -330,6 +330,8 @@ struct SrsHlsEntry
|
|||
class SrsHttpServer : virtual public ISrsReloadHandler
|
||||
, virtual public ISrsHttpMatchHijacker
|
||||
{
|
||||
private:
|
||||
SrsServer* server;
|
||||
public:
|
||||
SrsHttpServeMux mux;
|
||||
// the http live streaming template, to create streams.
|
||||
|
@ -341,7 +343,7 @@ public:
|
|||
// the hls live streaming streams, crote by template.
|
||||
std::map<std::string, SrsHlsEntry*> shls;
|
||||
public:
|
||||
SrsHttpServer();
|
||||
SrsHttpServer(SrsServer* svr);
|
||||
virtual ~SrsHttpServer();
|
||||
public:
|
||||
virtual int initialize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue