通过 Lync api 创建仅由一名用户参加的会议 - 立即开会
我一直在尝试在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我不相信你可以在客户端 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
您可以通过在启动会议时向会议添加虚拟用户来完成此操作。虚拟对象可以是以下形式的任何 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.
在 Lync 中模拟 Meetnow 的一种方法是使用 Lync SDK 中的自动化类。
BeginMeetNow() 将使用 IM 模式创建会议,并使用 BeginConnect() 将音频视频模式添加到会议中。
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().
Lync SDK 2013 : https://www.microsoft.com/en-in/download/details.aspx?id=36824