The woman who opened fire at YouTube's offices in California on Tuesday raged against the video-sharing service for what she saw as censorship of her clips on her niche channel covering vegan issues, animal rights, Persian culture and fitness.

Nasim Aghdam, 39, of Southern California, was identified by police officials as the woman who approached the campus around lunchtime and began to fire before entering the building of the Google-owned video sharing service.

One man and two women were shot in the incident before the female shooter apparently committed suicide.

Ms Aghdam’s family say she was “angry” with the company and had complained about YouTube supposedly censoring her videos and cutting her ad revenue.

They had reported her missing to police and warned them she “might do something” after officers spotted her sleeping in a car in Mountain View hours before the shooting.