mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
refine srs live flashP2P(integrated by chnvideo)
This commit is contained in:
parent
67e1988b81
commit
3ed59f190b
5 changed files with 133 additions and 2 deletions
|
@ -123,6 +123,13 @@ public:
|
|||
*/
|
||||
static void on_stop(std::string url, int client_id, std::string ip, SrsRequest* req);
|
||||
public:
|
||||
/**
|
||||
* on_dvr_reap_flv_header hook, when dvr write flv file header.
|
||||
* @param url the api server url, to process the event.
|
||||
* ignore if empty.
|
||||
* @param header_file the flv header file.
|
||||
*/
|
||||
static void on_dvr_reap_flv_header(std::string url, SrsRequest* req, std::string header_file);
|
||||
/**
|
||||
* on_dvr_reap_flv hook, when dvr close flv file.
|
||||
* @param url the api server url, to process the event.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue