mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix #3183: Fix build fail for HDS.
This commit is contained in:
parent
d4898bec3c
commit
f974c7c8b0
1 changed files with 2 additions and 2 deletions
|
@ -1149,7 +1149,7 @@ srs_error_t SrsOriginHub::on_publish()
|
||||||
|
|
||||||
// TODO: FIXME: use initialize to set req.
|
// TODO: FIXME: use initialize to set req.
|
||||||
#ifdef SRS_HDS
|
#ifdef SRS_HDS
|
||||||
if ((err = hds->on_publish(req)) != srs_success) {
|
if ((err = hds->on_publish(req_)) != srs_success) {
|
||||||
return srs_error_wrap(err, "hds publish");
|
return srs_error_wrap(err, "hds publish");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -1373,7 +1373,7 @@ srs_error_t SrsOriginHub::on_reload_vhost_hds(string vhost)
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((err = hds->on_publish(req)) != srs_success) {
|
if ((err = hds->on_publish(req_)) != srs_success) {
|
||||||
return srs_error_wrap(err, "hds publish failed");
|
return srs_error_wrap(err, "hds publish failed");
|
||||||
}
|
}
|
||||||
srs_trace("vhost %s hds reload success", vhost.c_str());
|
srs_trace("vhost %s hds reload success", vhost.c_str());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue