1838 for still photography. Shortly after 1888 for movies.
Despite the pearl-clutching in this thread, filming rando strangers without consent has always been legal and socially accepted.
It's the prospect of being filmed frequently, and especially in more intimate situations than walking down the street, that is making people uneasy. Flock cameras agitate us because of the frequency of their use. Recording glasses enable the off-the-street problem.