public ResZLMediaKitConfig GetConfig(string mediaServerId) { ResponseStruct rs; var ret = MediaServerApis.GetConfig(mediaServerId, out rs); if (rs.Code != ErrorNumber.None) { throw new HttpResponseException(JsonHelper.ToJson(rs)); } return(ret); }