1
0
Fork 0
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:
winlin 2014-04-24 17:38:57 +08:00
parent 67e1988b81
commit 3ed59f190b
5 changed files with 133 additions and 2 deletions

View file

@ -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.