Setting up a media stream with WebRTC media endpoints often requires use of the RFC 5245 Internet Connectivity Establishment (ICE) protocol for network address translation (NAT) and firewall traversal. The ICE protocol uses Session Traversal for NAT (STUN) and its extension protocol, Traversal Using Relay NAT (TURN), to support media services in a variety of network environments with NAT and firewall configurations.