Export (0) Print
Expand All

Obtain the Media Connectivity Manager

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Before configuring or managing media connectivity, the client must obtain the media connectivity manager object, an instance of the IUccMediaEndpointSettings interface. Unified Communications Client API implements this interface in the UccServerEndpoint class. This implementation implies that the media connectivity manager is obtainable from an enabled IUccEndpoint object.

In C#, this process involves the following statements.

IUccEndpoint endpoint = ...;

IUccMediaEndpointSettings pMediaConnectivityManager = endpoint as IUccMediaEndpointSettings;

In C++, this process involves the following code.

IUccEndpoint* pEndpoint = ...;

const GUID RIID_IUccMediaDeviceManager = {0xc690dd4e, 0x5ad5, 0x40de, {0x90, 0x85, 0xc0, 0x63, 0x04, 0x9f, 0xe6, 0x6d}};
IUccMediaEndpointSettings* pMediaConnectivityManager;
HRESULT hr = pEndpoint->QueryInterface(RIID_IUccMediaEndpointSettings, 
                                  (void**)&pMediaConnectivityManager);

Events related to the media connectivity manager are not present.

Community Additions

ADD
Show:
© 2014 Microsoft