Obtain the Media Connectivity Manager
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.