主权项 |
1. A method comprising:
receiving, at a Web Real Time Communication (WebRTC) application, a first WebRTC offer with a fingerprint of a first browser, wherein the WebRTC offer is to establish a secure communication session between the first browser and a second browser; sending, by the WebRTC application, to a media relay, first session information and the fingerprint of the first browser; in response to sending the first session information and the fingerprint of the first browser, receiving the first session information, second session information, and a fingerprint of a media relay; sending a second WebRTC offer with the second session information and the fingerprint of the media relay to the second browser; receiving an answer to the second WebRTC offer with the second session information and a fingerprint of the second browser; sending, to the media relay, the second session information and the fingerprint of the second browser; answering the first WebRTC offer with the second session information and the fingerprint of the media relay; and establishing the secure communication session between the first browser and the second browser via the media relay, wherein the first browser and the media relay use the fingerprint of the media relay and the fingerprint of the first browser to establish the secure communication session and wherein the second browser and the media relay use the fingerprint of the media relay and the fingerprint of the second browser to establish the secure communication session. |