FocusFactory创建会议

编程入门 行业动态 更新时间:2024-10-27 14:18:25
本文介绍了FocusFactory创建会议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好,我正在尝试使用 我正在尝试使用 我正在尝试使用 我正在尝试使用 创建一个会议。但是,我不知道如何将 FocusFactory 传递给此函数。 在线文档说:应用程序可以通过订阅 serverConfiguration类别实例并获取 IUccServerConfigurationCategory :: FocusFactory属性值。 我基本上添加了IUccServerConfigurationCategory我的类继承列表,但后来发现我必须自己实现FocusFactory 任何人都知道如何自动获取它? 非常感谢! -Simon

解决方案

好的,我自己想出来了。只需在此处发布解决方案以防其他人遇到同样的问题: 1)继承和处理相应的事件 _IUccCategoryContextEvents, _IUccSubscriptionEvents, _IUccCategoryInstanceEvents, _IUccPresentityEvents 2)启用端点后,将端点转换为IUccSubscriptionManager 3)查询chategory name" serverconfiguration" (api手册有) _IUccPresentityEvents.OnCategoryContextAdded:如果类别contextevent的categorycontext名称是"ServerConfiguration",请在这里做一个建议... 5 )在_IUccCategoryContextEvents.OnCategoryInstanceAdded中,如果source.name ==" serverconfiguration",则将数据转换为IUccCategoryInstance,然后转换为IUccServerConfigurationCategory,这将为您提供FocusFactory的东西... 希望此帮助结果

Hi all,I am trying to use

IUccConferenceManagerSession CreateConferenceManagerSession ( IUccUri pUri)to create a conference. However, I have no idea how to get the FocusFactory to pass into this function.Online document says:An application can obtain this URI by subscribing to the serverConfiguration category instance and getting the IUccServerConfigurationCategory::FocusFactory property value.I basically add IUccServerConfigurationCategory to my class inherit list, but later found that I have to implement FocusFactoryby myself.Anyone knows how to obtain this automatically?Thanks a lot!-Simon

解决方案

Ok, I figured this out on my own. Just post the solution here in case someone else met the same problem:1) inherit and handle the according events_IUccCategoryContextEvents,_IUccSubscriptionEvents,_IUccCategoryInstanceEvents,_IUccPresentityEvents2) when your endpoint is enabled, cast your endpoint to an IUccSubscriptionManager3) query for chategory name "serverconfiguration" (api manual has it)4) in _IUccPresentityEvents.OnCategoryContextAdded:if the categorycontext name of the category contextevent is "ServerConfiguration", do an advice here...5) in _IUccCategoryContextEvents.OnCategoryInstanceAddedif source.name == "serverconfiguration", then cast data to IUccCategoryInstance and then to IUccServerConfigurationCategory, which will give your the FocusFactory thing...hope this helpls

更多推荐

FocusFactory创建会议

本文发布于:2023-10-31 05:40:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1545174.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:会议   FocusFactory

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!