Tyler Clementi’s college roommate, Dharun Ravi, is on trial in Middlesex County and faces charges of invasion of privacy, bias intimidation and hindering apprehension in a controversial case that has captured the world’s attention.

This morning, a man with the initials M.B., the prosecution’s unnamed witness, said that while having sex with Tyler Clementi in a Rutgers University dormitory during their first meeting, he noticed a webcam peering at Clementi’s bed.

The Star-Ledger reports that prosecutors allege Ravi intentionally set up the camera to spy on and humiliate Clementi, but Ravi’s lawyer, Steve Altman, contends Ravi is not prejudiced.

Clementi committed suicide on Sept. 22, 2010, by jumping off the George Washington Bridge after the alleged spying.