How do I access the Lync 2010 whiteboard feature in the UCMA 3.0 SDK?
I am building a web application that uses the UCMA API 3.0 to establish a Lync 2010 chat between our customers on our website and our support team. Chat and even video work great but, one of the reasons we picked Lync is the great Whiteboard 开发者_JAVA百科feature in the communications tools. I cannot seem to find any reference to it in the UCMA sdk though... Can anyone point me in the right direction?
I'm not convinced that Whiteboarding is directly supported in UCMA 3.0 - this page in the SDK suggests that you would need to implement a custom solution:
UCMA 3.0 allows an application to reach out with outbound notifications, take actions on behalf of a user, or as a client, to a far-end that is a UC-capable endpoint, and create and manage multiple modalities (audio, IM) as well as providing the ability for an application to extend the default modalities for custom media (such as whiteboarding)
Could you change your solution to have the remote user use the Lync Web App, which does support whiteboarding? It should be possible to use UCMA to establish the parties in the conversation. Either user could then start a whiteboard session.
Alright - I found the answer finally and wanted to post it here in case other people needed it. When you create a conference in UCMA you have to add "MCU" types to it that allow the different features Lync supports. Here is a quick example of how to "schedule" the conference:
ConferenceScheduleInformation inf = new ConferenceScheduleInformation();
inf.AccessLevel = ConferenceAccessLevel.Everyone;
inf.IsPasscodeOptional = true;
inf.Description = "Description";
inf.ExpiryTime = DateTime.Now.AddHours(2);
inf.Mcus.Add(new ConferenceMcuInformation(McuType.Meeting));
inf.Mcus.Add(new ConferenceMcuInformation(McuType.InstantMessaging));
inf.Mcus.Add(new ConferenceMcuInformation(McuType.ApplicationSharing));
app_Endpoint.ConferenceServices.BeginScheduleConference(inf, EndScheduleConference, app_Endpoint.ConferenceServices);
精彩评论