fix bug of hls conf detect
This commit is contained in:
parent
3877ab0ff2
commit
005f821441
|
|
@ -689,7 +689,7 @@ int SrsHls::reopen()
|
|||
|
||||
// try to open the HLS muxer
|
||||
SrsConfDirective* conf = config->get_hls(vhost);
|
||||
if (!conf || conf->arg0() == "off") {
|
||||
if (conf && conf->arg0() == "off") {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user