Patent ID: 9699237
Date: 2017-07-04
CPC Classifications: H04L

Claim:
1. A non-transitory computer-readable medium having instructions stored thereon that, when executed by a processor, cause the processor to provide a media relay for real-time communications (RTC), the providing comprising: receiving, by a signaling server, a first signaling message from a first client including one or more first candidate transport addresses of the first client; generating a modified first signaling message by inserting a transport address of a relay server into the first signaling message; transmitting the modified first signaling message to a second client; receiving a second signaling message from the second client including one or more second candidate transport addresses of the second client; generating a modified second signaling message by inserting the transport address of the relay server into the second signaling message; and transmitting the modified second signaling message to the first client, wherein the signaling server selects the relay server based on characteristics of at least one of the first client, the second client, or the RTC and in response to interactions with a JavaScript (JS) software development kit (SDK) at the first client.