LOS ANGELES (AP) — A new smartphone app allows Californians who record encounters with police to automatically submit the video to their local chapter of the American Civil Liberties Union.

The ACLU said Thursday that California is the latest state where the "Mobile Justice" app is available on both Apple and Android phones.

The group says the technology enables users to record and upload video of law enforcement encounters so that ACLU lawyers can look for due-process violations. The goal is to ensure that video of potential police misconduct is preserved, even if a cellphone is tampered with or destroyed.

Los Angeles Police Chief Charlie Beck has said the public has a right to videotape officers as long as they're not interfering with police work.

The app has previously been released in Missouri, Mississippi, Nebraska, New Jersey and Oregon.

Copyright 2015 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.