FocusFactory创建会议 [英] FocusFactory for Creating Conferences

查看:108
本文介绍了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 FocusFactory
by 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,
_IUccPresentityEvents


2) when your endpoint is enabled, cast your endpoint to an IUccSubscriptionManager

3) 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.OnCategoryInstanceAdded
if source.name == "serverconfiguration", then cast data to IUccCategoryInstance and then to IUccServerConfigurationCategory, which will give your the FocusFactory thing...

hope this helpls


这篇关于FocusFactory创建会议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆