The San Francisco Police Department says the shooting happened in the city’s Mission Bay neighborhood on February 17th.
Officers confronted 31-year-old homicide suspect Joel Armstrong inside an RV at a homeless encampment.
Mr. Armstrong allegedly shot two men the day before during a carjacking in the city’s panhandle neighborhood, killing one of them.
Body camera footage released by police shows how officers tracked Mr. Armstrong to the neighborhood, then the moment when he shot at officers, who then returned fire.
The evidence in the case so far indicates Mr. Armstrong fired two rounds from a weapon, and seven officers fired 65 rounds from their department-issued weapons
Mr. Armstrong eventually turned himself in to police, and has been charged with murder, carjacking and eight counts of attempted murder.
The videos were released at a town hall meeting about the shooting, where residents expressed concerns about the number of homeless encampments in the area.
Authorities said they are working to move people into housing.