public RecordFile GetDvrVideoById(long id) { ResponseStruct rs; var ret = MediaServerApis.GetDvrVideoById(id, out rs); if (rs.Code != ErrorNumber.None) { throw new HttpResponseException(JsonHelper.ToJson(rs)); } return(ret); }