Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the SipPeerToPeerEndpoint class.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New
'Usage
Dim instance As New SipPeerToPeerEndpoint()
public SipPeerToPeerEndpoint()
Exceptions
| Exception | Condition |
|---|---|
| RealTimeException | Thrown when the local host name cannot be retrieved. |
Remarks
The URI for the endpoint defaults to local host. To enable listening, use StartListening(ipEndpoint) in the ConnectionManager property. The use of this constructor creates its own instance of the SIP stack needed to support this endpoint. Since the creation of Sip Stack is memory consuming, it is not recommended to create too many instances (> 10) of endpoint using this constructor.