New Brunswick, New Jersey (CNN) -- A second student charged in the case of a former Rutgers University student who allegedly used a webcam to spy on his roommate's sexual encounter with another man took the stand again on Tuesday, saying she felt "sad" and "overwhelmed" in the wake of the incident.
Molly Wei reached a plea deal that requires her testify against Dharun Ravi.
The roommate, Tyler Clementi, committed suicide by jumping off the George Washington Bridge, which connects New Jersey and Manhattan, just days after Ravi allegedly streamed the encounter remotely and allowed others to view it.
"Police officers told me that they believe Tyler is missing and that he possibly committed suicide and I was feeling very -- I was sad, overwhelmed. I felt very bad if anything had happened," Wei told jurors during her second day of testimony.
Should Wei complete a three-year program on cyberbullying, as well as 300 hours of community services without any additional legal troubles, charges against her for allegedly watching the video will be dropped, according to prosecutors.
She also testified about when she learned of messages Ravi allegedly sent about the stream.
"I was very surprised because my friends brought it up, and I had no idea how they knew, but they said that Dharun had told them. ... They told me about these Twitter, tweets, that they received on Tuesday about him trying to have a viewing party," said Wei.
Ravi, 20, faces a 15-count indictment in Clementi's 2010 death that includes hate crime charges, charges of invasion of privacy, bias intimidation, tampering with physical evidence, witness tampering and hindering apprehension or prosecution.
Last year, he turned down a plea deal that would have allowed him to avoid jail time.
The deal offered by Middlesex County prosecutors would have required the former student to undergo 600 hours of community service, counseling and to dispose of any information that could identify the man that appeared in the web video with Clementi.
Prosecutors also offered to help Ravi avoid deportation, though they said they could not guarantee it. Ravi is a citizen of India who had been studying on a visa at the New Jersey university. He turned 20 on Tuesday.
Less than a month after Clementi's suicide, President Barack Obama released a taped video message condemning bullying.