A former US university student accused of using a webcam to spy on his gay roommate's love life has been convicted of invasion of privacy and anti-gay intimidation in a case that exploded into the headlines when the victim threw himself to his death off a bridge.

Indian-born Dharun Ravi, 20, shook his head slightly after hearing guilty verdicts on all 15 counts against him. He left the courthouse with his father's arm around his shoulders.

Dharun Ravi ... facing 10 years in prison. Credit:AP

He could get up to 10 years in prison, by some estimates - and could be deported to his native India, even though he has lived legally in the US since he was a little boy - for an act that cast a spotlight on teen suicide and anti-gay bullying and illustrated the internet's potential for tormenting others.

Prosecutors said Ravi set up a webcam in his dorm room in September 2010 and captured roommate Tyler Clementi kissing another man, then tweeted about it and excitedly tried to catch Clementi in the act again two days later. A half-dozen students were believed to have seen the live video of the kissing.