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

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 ( _
    ownerUri As String, _
    connectionManager As RealTimeServerConnectionManager, _
    defaultTransportType As SipTransportType, _
    proxyHost As String, _
    proxyPort As Integer _
)
'Usage
Dim ownerUri As String
Dim connectionManager As RealTimeServerConnectionManager
Dim defaultTransportType As SipTransportType
Dim proxyHost As String
Dim proxyPort As Integer

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

Parameters

  • ownerUri
    Type: System.String
    The URI for the owner of this endpoint. This should not include port.
  • 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, then only Tls specification in the message will override 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 may not be directly reachable.
  • proxyPort
    Type: System.Int32
    The port to use for connecting to proxy.

See Also

Reference

SipPeerToPeerEndpoint Class

SipPeerToPeerEndpoint Members

SipPeerToPeerEndpoint Overload

Microsoft.Rtc.Signaling Namespace