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