diff --git a/zlmedia4j-restful/src/main/java/org/jetlinks/zlmedia/restful/ZLMediaConfigs.java b/zlmedia4j-restful/src/main/java/org/jetlinks/zlmedia/restful/ZLMediaConfigs.java index ca9b150..e3cb85a 100644 --- a/zlmedia4j-restful/src/main/java/org/jetlinks/zlmedia/restful/ZLMediaConfigs.java +++ b/zlmedia4j-restful/src/main/java/org/jetlinks/zlmedia/restful/ZLMediaConfigs.java @@ -131,7 +131,10 @@ public void setConfig(String key, String value) { case "general.mediaServerId": serverId = value; break; - + default: + if (others != null) { + others.put(key, value); + } } }