mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
dvr support plan and default session plan
This commit is contained in:
parent
4b82a4f510
commit
6f19a83114
5 changed files with 253 additions and 47 deletions
|
@ -213,10 +213,10 @@ public:
|
|||
/**
|
||||
* find stream by vhost/app/stream.
|
||||
* @param req the client request.
|
||||
* @return the matched source, never be NULL.
|
||||
* @param ppsource the matched source, if success never be NULL.
|
||||
* @remark stream_url should without port and schema.
|
||||
*/
|
||||
static SrsSource* find(SrsRequest* req);
|
||||
static int find(SrsRequest* req, SrsSource** ppsource);
|
||||
private:
|
||||
// deep copy of client request.
|
||||
SrsRequest* req;
|
||||
|
@ -271,6 +271,8 @@ public:
|
|||
*/
|
||||
SrsSource(SrsRequest* _req);
|
||||
virtual ~SrsSource();
|
||||
public:
|
||||
virtual int initialize();
|
||||
// interface ISrsReloadHandler
|
||||
public:
|
||||
virtual int on_reload_vhost_atc(std::string vhost);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue