1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

fix http hooks dvr bug, check dvr macro

This commit is contained in:
winlin 2014-05-21 12:02:50 +08:00
parent 2a8db3ab83
commit f0b54678ad
2 changed files with 6 additions and 0 deletions

View file

@ -96,6 +96,7 @@ public:
* ignore if empty.
*/
static void on_stop(std::string url, int client_id, std::string ip, SrsRequest* req);
#ifdef SRS_AUTO_DVR
public:
/**
* on_dvr_hss_reap_flv_header hook, when dvr write flv file header.
@ -111,6 +112,7 @@ public:
* @param segment the current flv segment.
*/
static void on_dvr_hss_reap_flv(std::string url, SrsRequest* req, SrsFlvSegment* segment);
#endif
};
#endif