mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #459, dvr support apply filter for ng-control dvr module.
This commit is contained in:
parent
8f9cfcdcf4
commit
2a1b2b69a0
13 changed files with 273 additions and 98 deletions
|
@ -388,7 +388,7 @@ private:
|
|||
SrsHlsCache* hls_cache;
|
||||
ISrsHlsHandler* handler;
|
||||
private:
|
||||
SrsRequest* _req;
|
||||
SrsRequest* req;
|
||||
bool hls_enabled;
|
||||
bool hls_can_dispose;
|
||||
int64_t last_update_time;
|
||||
|
@ -422,13 +422,13 @@ public:
|
|||
/**
|
||||
* initialize the hls by handler and source.
|
||||
*/
|
||||
virtual int initialize(SrsSource* s, ISrsHlsHandler* h);
|
||||
virtual int initialize(SrsSource* s, ISrsHlsHandler* h, SrsRequest* r);
|
||||
/**
|
||||
* publish stream event, continue to write the m3u8,
|
||||
* for the muxer object not destroyed.
|
||||
* @param fetch_sequence_header whether fetch sequence from source.
|
||||
*/
|
||||
virtual int on_publish(SrsRequest* req, bool fetch_sequence_header);
|
||||
virtual int on_publish(bool fetch_sequence_header);
|
||||
/**
|
||||
* the unpublish event, only close the muxer, donot destroy the
|
||||
* muxer, for when we continue to publish, the m3u8 will continue.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue