Acquiring a Multicast Address

[ Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]

The following code fragment illustrates how to request and set a multicast address for a conference.

For the sake of simplicity, this fragment shows the assignment of one multicast address to one media item. In actuality, the selection of a scope, the multicast address request, and the assignment will be performed for every media item involved in the conference.

This fragment assumes that connecting to an ILS server has already been performed. The operations shown here would be performed in the "Modify the settings if necessary" section of Creating a Conference Announcement.

// If ( hr != S_OK ) process the error here.

Multicast COM Interfaces

IMcastAddressAllocation

IMcastScope

IMcastLeaseInfo

IEnumMcastScope

ITConferenceBlob

ITSdp

ITMediaCollection

IEnumBstr

ITMedia

ITConnection