After four hours of discussion, the Oakland City Council voted 7-1 on Tuesday night to approve a two-year contract with Flock Safety for license-plate cameras across the city.