A doorbell camera shows the deputy immediately returned fire, shooting the suspect