A peer connection in WebRTC is a connection between the local computer and a remote peer.
The RTCPeerConnection
interface provides methods to connect to a remote peer, maintain and monitor the connection, and close the connection once it's no longer needed.
Each peer connection holds a local description object and a remote description object, describing the two ends of the connection as they were most recently successfully negotiated.