mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #742, always enable http utilities.
This commit is contained in:
parent
79def81792
commit
a1fcf66f32
25 changed files with 42 additions and 362 deletions
|
@ -190,7 +190,6 @@ int SrsDvrAsyncCallOnHls::call()
|
|||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
#ifdef SRS_AUTO_HTTP_CALLBACK
|
||||
if (!_srs_config->get_vhost_http_hooks_enabled(req->vhost)) {
|
||||
return ret;
|
||||
}
|
||||
|
@ -218,7 +217,6 @@ int SrsDvrAsyncCallOnHls::call()
|
|||
return ret;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
@ -244,7 +242,6 @@ int SrsDvrAsyncCallOnHlsNotify::call()
|
|||
{
|
||||
int ret = ERROR_SUCCESS;
|
||||
|
||||
#ifdef SRS_AUTO_HTTP_CALLBACK
|
||||
if (!_srs_config->get_vhost_http_hooks_enabled(req->vhost)) {
|
||||
return ret;
|
||||
}
|
||||
|
@ -273,7 +270,6 @@ int SrsDvrAsyncCallOnHlsNotify::call()
|
|||
return ret;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue