“What is the constitutional basis of federal obscenity laws? “
The communication in question crossed state lines.
L
Multi-state crimes may trigger federal adjudication, but that adjudication would be subject to state law(s). I see no constitutional authorization for federal obscenity laws.