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

For #547, #1506, default hls_dts_directly to on. 3.0.71

This commit is contained in:
winlin 2019-12-12 16:51:34 +08:00
parent f298d5204b
commit 6f453e7f46
4 changed files with 9 additions and 7 deletions

View file

@ -6152,7 +6152,7 @@ int SrsConfig::get_vhost_hls_nb_notify(string vhost)
bool SrsConfig::get_vhost_hls_dts_directly(string vhost)
{
static bool DEFAULT = false;
static bool DEFAULT = true;
SrsConfDirective* conf = get_hls(vhost);
if (!conf) {
@ -6164,7 +6164,7 @@ bool SrsConfig::get_vhost_hls_dts_directly(string vhost)
return DEFAULT;
}
return SRS_CONF_PERFER_FALSE(conf->arg0());
return SRS_CONF_PERFER_TRUE(conf->arg0());
}
bool SrsConfig::get_hls_cleanup(string vhost)