Lehigh County detectives have obtained an arrest warrant for a man who last week illegally recorded a child custody conference on his cellphone and posted it online, District Attorney Jim Martin said Monday.

Patrick M. Cline, 40, formerly of Upper Saucon Township, is charged in the warrant with two counts of violating state law limiting the interception and disclosure of private wire, electronic or oral communications.

Cline was part of a custody conference last Tuesday with his former wife, a deputy sheriff and an attorney acting as hearing master. He revealed he was recording the proceeding about 40 minutes into it, the district attorney's office said.

On learning of the recording, the hearing master told Cline to turn the cellphone over to the deputy sheriff, but Cline refused and left the courthouse, prosecutors said. Cline allegedly posted his recording on Facebook that same day.

The district attorney's office did not say whether Cline had been arrested as of Monday, but he had not yet been arraigned.

The news release announcing the arrest warrant provided no current address for Cline. Public records indicate he is formerly of Center Valley.

The criminal complaint filed by a county detective says Cline intentionally intercepted oral communications "by surreptitiously recording a custody conference using his cellphone."

Cline then disclosed the recording "knowing or having reason to know that the information was obtained through an illegal interception, by posting the proceeding on a social media page," according the complaint.

Both the hearing master and the deputy sheriff ordered Cline to turn over the recording of the conference, which ran roughly from 9 to 9:40 a.m., the complaint says.

The complaint also says that Cline's ex-wife, the hearing master and the deputy sheriff never gave Cline permission to record the custody conference.