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