SipPeerToPeerEndpoint Constructor (String, RealTimeServerConnectionManager, SipTransportType, String, Int32)

Initializes a new instance of the class.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub New ( _
    uri As String, _
    connectionManager As RealTimeServerConnectionManager, _
    defaultTransportType As SipTransportType, _
    proxyHost As String, _
    proxyPort As Integer _
)
'Usage
Dim uri As String
Dim connectionManager As RealTimeServerConnectionManager
Dim defaultTransportType As SipTransportType
Dim proxyHost As String
Dim proxyPort As Integer

Dim instance As New SipPeerToPeerEndpoint(uri, connectionManager, _
    defaultTransportType, proxyHost, _
    proxyPort)
public SipPeerToPeerEndpoint(
    string uri,
    RealTimeServerConnectionManager connectionManager,
    SipTransportType defaultTransportType,
    string proxyHost,
    int proxyPort
)

Parameters

  • defaultTransportType
    Type: Microsoft.Rtc.Signaling..::..SipTransportType
    The default transport for outgoing messages, if the application did not override the transport explicitly. For example, invite uri can have transport type to override this. However, when proxy is used for the message, only TLS specification in the message overrides the defaultTransport type.
  • proxyHost
    Type: System..::..String
    The proxy host to use as first hop instead of direct connection to the other endpoint. This allows us to route messages to endpoints that might not be directly reachable.

See Also

Reference

SipPeerToPeerEndpoint Class

SipPeerToPeerEndpoint Members

SipPeerToPeerEndpoint Overload

Microsoft.Rtc.Signaling Namespace