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

for #319, move mw_latency to play.

This commit is contained in:
winlin 2015-08-30 07:05:57 +08:00
parent 4eb1874955
commit 06ae74dd3f
6 changed files with 140 additions and 146 deletions

View file

@ -231,18 +231,13 @@ int SrsRtmpConn::on_reload_vhost_removed(string vhost)
return ret;
}
int SrsRtmpConn::on_reload_vhost_mw(string vhost)
int SrsRtmpConn::on_reload_vhost_play(string vhost)
{
int ret = ERROR_SUCCESS;
if (req->vhost != vhost) {
return ret;
}
int sleep_ms = _srs_config->get_mw_sleep_ms(req->vhost);
// when mw_sleep changed, resize the socket send buffer.
change_mw_sleep(sleep_ms);
return ret;
}