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

Fix config read "bframe" discad bug.

This commit is contained in:
xiaozhihong 2020-03-21 21:40:26 +08:00
parent fa700dad64
commit 7315b1a26d

View file

@ -4373,7 +4373,7 @@ bool SrsConfig::get_rtc_bframe_discard(string vhost)
return DEFAULT;
}
conf = conf->get("enabled");
conf = conf->get("bframe");
if (!conf || conf->arg0().empty()) {
return DEFAULT;
}