A Red Cliffs man allegedly sent a video of himself masturbating to a 15-year-old girl and encouraged her to send him sexual content, a court has heard.