Usually you split the participants, on site, into teams yourselves, and appoint one captain per team. Remote participants are randomly split into teams in the video meeting.
If you want to mix the teams, with both remote and on site partcipants, we can help you with that.