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:
parent
2a8db3ab83
commit
f0b54678ad
2 changed files with 6 additions and 0 deletions
|
@ -325,6 +325,8 @@ void SrsHttpHooks::on_stop(string url, int client_id, string ip, SrsRequest* req
|
|||
return;
|
||||
}
|
||||
|
||||
#ifdef SRS_AUTO_DVR
|
||||
|
||||
void SrsHttpHooks::on_dvr_hss_reap_flv_header(std::string url, SrsRequest* req, std::string header_file)
|
||||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
@ -432,3 +434,5 @@ void SrsHttpHooks::on_dvr_hss_reap_flv(string url, SrsRequest* req, SrsFlvSegmen
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue