mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #513, remove hls ram from srs2 to srs3+. 2.0.224
This commit is contained in:
parent
34e5cdcd12
commit
759c84a395
17 changed files with 26 additions and 556 deletions
|
@ -62,7 +62,6 @@ class SrsDvr;
|
|||
class SrsEncoder;
|
||||
#endif
|
||||
class SrsStream;
|
||||
class ISrsHlsHandler;
|
||||
#ifdef SRS_AUTO_HDS
|
||||
class SrsHds;
|
||||
#endif
|
||||
|
@ -421,10 +420,9 @@ public:
|
|||
* create source when fetch from cache failed.
|
||||
* @param r the client request.
|
||||
* @param h the event handler for source.
|
||||
* @param hh the event handler for hls.
|
||||
* @param pps the matched source, if success never be NULL.
|
||||
*/
|
||||
static int fetch_or_create(SrsRequest* r, ISrsSourceHandler* h, ISrsHlsHandler* hh, SrsSource** pps);
|
||||
static int fetch_or_create(SrsRequest* r, ISrsSourceHandler* h, SrsSource** pps);
|
||||
private:
|
||||
/**
|
||||
* get the exists source, NULL when not exists.
|
||||
|
@ -526,7 +524,7 @@ public:
|
|||
/**
|
||||
* initialize the hls with handlers.
|
||||
*/
|
||||
virtual int initialize(SrsRequest* r, ISrsSourceHandler* h, ISrsHlsHandler* hh);
|
||||
virtual int initialize(SrsRequest* r, ISrsSourceHandler* h);
|
||||
// interface ISrsReloadHandler
|
||||
public:
|
||||
virtual int on_reload_vhost_atc(std::string vhost);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue