peerIdentity property
The peerIdentity read-only property of the RTCPeerConnection
interface returns a JavaScript Promise that resolves to an
RTCIdentityAssertion which contains a string identifying the remote
peer.
Once this promise resolves successfully, the resulting identity is the
target peer identity and cannot change for the duration of the
connection.
Implementation
external JSPromise<JSObject> get peerIdentity;