Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 957 Bytes

sip.js.sessiondescriptionhandler.peerconnection.md

File metadata and controls

18 lines (10 loc) · 957 Bytes

Home > sip.js > SessionDescriptionHandler > peerConnection

SessionDescriptionHandler.peerConnection property

The peer connection. Undefined if peer connection has closed.

Signature:

get peerConnection(): RTCPeerConnection | undefined;

Remarks

While access to the underlying RTCPeerConnection is provided, note that using methods with modify it may break the operation of this class. In particular, this class depends on exclusive access to the event handler properties. If you need access to the peer connection events, either register for events using addEventListener() on the RTCPeerConnection or set the peerConnectionDelegate on this SessionDescriptionHandler.