SipPeerToPeerEndpoint Constructor (String)
Initializes a new instance of the SipPeerToPeerEndpoint class with the given URI. To enable listening, use StartListening(ipEndpoint) in the ConnectionManager property.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
uri As String _
)
'Usage
Dim uri As String
Dim instance As New SipPeerToPeerEndpoint(uri)
public SipPeerToPeerEndpoint(
string uri
)
Parameters
- uri
Type: System.String
The URI for this endpoint. This should not include port. Port will be automatically added depending on the listening port, if any.
Remarks
The use of this constructor creates its own instance of the SIP stack needed to support this endpoint. Since the creation is Sip Stack is memory consuming, it is not recommended to create too many instances (> 10) of endpoint using this ctor.