It's digitally signed and then the officer's recording system uploads it securely to the police servers when back at the station. This is all to maintain a complete chain-of-custody, so when used as evidence in court it can't be easily dismissed or disregarded by the criminal's attorney.
It can't be edited because there wouldn't be a digital signature!!!?
Cameras will malfunction but not like you're saying they will.