diff --git a/revid/revid.go b/revid/revid.go index 12f88f71..2dee85fc 100644 --- a/revid/revid.go +++ b/revid/revid.go @@ -721,10 +721,10 @@ func (r *Revid) Update(vars map[string]string) error { break } r.cfg.RTMPRBWriteTimeout = v - case "MTSRBElementSize": + case "MTSRBMaxElements": v, err := strconv.Atoi(value) if err != nil || v < 0 { - r.cfg.Logger.Log(logger.Warning, pkg+"invalid MTSRBElementSize var", "value", value) + r.cfg.Logger.Log(logger.Warning, pkg+"invalid MTSRBMaxElements var", "value", value) break } r.cfg.MTSRBMaxElements = v