通过 Lync api 创建仅由一名用户参加的会议 - 立即开会

发布于 2024-11-16 13:31:03 字数 311 浏览 3 评论 0原文

我一直在尝试在 Lync sdk 中构建应用程序。我想要的是模拟一个会议室环境,其中 - 第一个进来的用户发起会议并将会议 uri 放在服务器上以供后续用户加入 - 基本上与 MS 的 Lync 客户端的 MEET NOW 选项公开的功能相同。但是,我发现这两种方法 - _Automation 类中的 beginstartconversation() 和 _LyncClient.ConversationManager.AddConversation(),仅启动 P2P 对话,并且仅当超过 2 个用户加入时才获得会议 uri。我想要用户无需邀请任何特定用户即可主持会议。有什么解决方法吗? 感谢您的帮助。

I have been trying to build an application in the Lync sdk. What I want is to simulate a conference room environment where - the first user that comes in initiates a conference and puts the conference uri on the server for subsequent users to join - basically essentially the same functionality that the MEET NOW option of MS's Lync client exposes. However, what i have found out is that both the methods - beginstartconversation() in _Automation class and _LyncClient.ConversationManager.AddConversation(), only initiate P2P conversation nd u get a conference uri only when more than 2 users are joined in. I want a user to be able to host a conference without inviting any specific users. Is there any workaround?
Thanks for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

暗藏城府 2024-11-23 13:31:03

我不相信你可以在客户端 SDK 中执行此操作。

一种选择是创建一个 UCMA 应用程序,通过升级为会议并将 URI 返回给用户来响应传入对话。

然后,您的自定义客户端可以开始与您的应用程序对话并发送 IM。然后对话将升级为会议,并且 URI 以 IM 的形式从应用程序返回。然后,您的自定义客户端可以根据需要处理 URI。

UCMA SDK 包含足够的内容示例代码可帮助您快速启动并运行

I don't believe you can do this in the client side SDK.

One option would be to create a UCMA application that responds to an incoming conversation by escalating to a conference and returning the URI back to the user.

Your custom client could then start a conversation with your application and send an IM. The conversation would then be escalated to a conference, and the URI returned from the application as an IM. Your custom client could then handle the URI as it pleases.

The UCMA SDK contains enough example code to get you up and running with this quickly

噩梦成真你也成魔 2024-11-23 13:31:03

您可以通过在启动会议时向会议添加虚拟用户来完成此操作。虚拟对象可以是以下形式的任何 URI:[email protected], @b等。客户端SDK将自动升级为电话会议并删除虚拟用户。升级将持续下去。请注意,这将需要一些时间,就像在 Microsoft 客户端中一样。

You can do this by adding a dummy user to the conference when you start it. The dummy can be any URI of the form: [email protected], a@b etc. The client SDK will automatically escalate to a conference call and remove the dummy user. The escalation will persist. Note that this will take some time, as it does in Microsoft's client as well.

你怎么这么可爱啊 2024-11-23 13:31:03

在 Lync 中模拟 Meetnow 的一种方法是使用 Lync SDK 中的自动化类。

BeginMeetNow() 将使用 IM 模式创建会议,并使用 BeginConnect() 将音频视频模式添加到会议中。

Automation automation = LyncClient.GetAutomation();
automation.BeginMeetNow((ar) =>
{
    conferenceWindow = automation.EndMeetNow(ar);
    conference = conferenceWindow.Conversation;

    conference.Modalities[ModalityTypes.AudioVideo].BeginConnect((ar1) =>
    {
        conference.Modalities[ModalityTypes.AudioVideo].EndConnect(ar1);
    }, null);
}, null);

Lync SDK 2013:https://www.microsoft.com/en -in/download/details.aspx?id=36824

One method to simulate Meetnow in Lync is by using Automation Class in Lync SDK.

BeginMeetNow() will create a conference with IM Modality add Audio Video Modality to conference using BeginConnect().

Automation automation = LyncClient.GetAutomation();
automation.BeginMeetNow((ar) =>
{
    conferenceWindow = automation.EndMeetNow(ar);
    conference = conferenceWindow.Conversation;

    conference.Modalities[ModalityTypes.AudioVideo].BeginConnect((ar1) =>
    {
        conference.Modalities[ModalityTypes.AudioVideo].EndConnect(ar1);
    }, null);
}, null);

Lync SDK 2013 : https://www.microsoft.com/en-in/download/details.aspx?id=36824

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文