"You ruined my life, you ruined my childhood, do you realize that?" said a woman that identifies herself as "Jamie X" in a video posted on YouTube on January 17.

The video already has more than a million hits.  In it, "Jamie X" records herself calling her former teacher and confronts her about allegedly sexually abusing Jamie when she was 12 years old. 

But that former teacher, Andrea Cardosa, was unaware she was being recorded, sparking debate over whether it can be used against her in court.

"The primary controversy is the phone call itself, and whether that would be permissible under California and federal law. And typically in California law there really has to be consent," said valley criminal defense attorney Shannon Goldstein.  

While no charges have been brought in this case yet, it is becoming more commonplace for attorneys in certain cases to investigate social media activity and use it in court.

"It's happening a lot and it's kind of the new way. Whenever you have a crime where maybe a witness has said, 'Oh, this person was there,' and social media could show that person was or wasn't there at that time," Goldstein said.

But there are some hurdles.  According to the American Bar Association, which sets academic standards for law schools, social media evidence can be admitted in a court of law as long as it's relevant and can be authenticated.

"These sorts of things can be fabricated. You have even with photos, Photoshop, so there's an authentication issue," Goldstein said.

The statute of limitations period has passed, but there are some exceptions for sex abuse victims, meaning Cardosa could be prosecuted.  

"Jamie X" could also face charges for recording Cardosa without her knowledge and sharing the clip. Goldstein says the moral is be careful what you post online. 

"Because it's hard to control, it might seem kind of fun but it can catch up with you," Goldstein said.

One thing is for sure, the case itself is evidence of the growing power of social media.