Two rookie officers have been fired and two veterans suspended from the Sunnyvale Department of Public Safety for allegedly passing out porn, NBC Bay Area has learned.

A fellow female officer is featured in the porn video that was allegedly circulated.

Sources tell NBC Bay Area the officer made a porn video with her husband while she was a cop in Hawaii. They allegedly streamed it live on Pornhub.com sometime before Sunnyvale police recruited her to the South Bay in 2017.

The sex video recently got into the hands of her fellow officers, who were still on probation, and suspended two veterans.

NBC Bay Area is not naming the female officer in this report. It is not known if the department knew about the porn video when they recruited her from Hawaii.

Sunnyvale DPS declined a request for an interview for this story.

"The city cannot disclose personnel information related to public safety officers," police spokesperson Capt. Jim Choi said in a statement. "The city does not maintain a specific politic on viewing or distributing pornography at work," Choi said.

It's unclear if this porn video would have been a legitimate reason for Sunnyvale not to have hired the female officer.

CORRECTION (Dec. 21, 2018, 8:46 a.m. PT): An earlier version of this story incorrectly attributed the police's statement.