How does share screen technically work?

We host 2 STUN servers for P2P IP discovery. turn.teamspeak.com and turn2.teamspeak.com (both solely having STUN enabled even though the name suggests otherwise).

Other than that, it should work without whitelisting anything else.