The IRTCSessionPortManagement interface contains one method to specify the interface that is used to allow NAT mappings. The RTC Client APIs will support UPnP-enabled NATs by default. When a NAT is in place that does not support UPnP functionality, the client application must use this interface to provide a pointer to the interface that will supply the NAT mappings when required.

This interface can be obtained by performing a QueryInterface on the session object that will obtain the NAT mappings. Currently, the RTC Client API supports using this interface only on PC-phone type sessions.

Methods in Vtable Order

The IRTCSessionPortManagement interface inherits the methods of the standard COM interface IUnknown.

In addition, IRTCSessionPortManagement defines the following method.

Method Description
SetPortManager Sets the interface that will be used to specify the NAT mappings.


Client: Requires Windows XP SP1.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCSessionPortManagement is defined as a072f1d6-0286-4e1f-85f2-17a2948456ec.

See Also

Port Management