MultiParty AudioVedio会议会话URI分发 [英] MultiParty AudioVedio Conference Session URI distribution

查看:90
本文介绍了MultiParty AudioVedio会议会话URI分发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


当我们从Communicator开始(如新鲜的adhov会话)多方AV会议时,receipeint客户端能够在台式机上弹出Toast,指示传入的会话。与1-1 AV Session或IMSesion不同,多方AV会议在安排或输入时不会自动提升会议事件,假设uri的分布是客户的工作,那么通信器如何发送通知? >
请帮助我这方面

谢谢

Hi
    When we start off ( as in a fresh adhov session) a multiparty AV Conference from Communicator, the receipeint clients are able to pop-up Toast's on there desktops machines indicating a incoming session. Unlike 1-1 AV Session or IMSesion, multiparty AV conference when scheduled or entered does not automatically raise up events as for a conference it is assumed that distribution of the uri is the clients' job, then how does communicator send the notifications?

Please help me in this regard
thanks

推荐答案

为每个客户创建一个应用程序会话并将客户端uri添加到参与者名单。您将在会话管理器上收到OnOutgoingInvitation事件。在那个事件做这样的事情:

< code>

void _IUccApplicationSessionParticipantEvents.OnOutgoingInvitation(UccApplicationSessionParticipant pEventSource,UccOutgoingInvitationEvent pEventData)
{
pEventData.ContentType =" application / ms-conf-invite + xml" ;;
string xml ="< Conferencing version = \" 2.0 \">< focus-uri>" + conferenceUri +"< / focus-uri>< subject> Subject< / subject>< video available = \" true \" />< audio available = \" true \ " />< im available = \" true \">< / im>< / Conferencing>" ;;
pEventData.SessionDescription = xml;


{
pEventData.Send();

}
catch(COMException ex)
{
ApiUtils.DebugFormat("Faile发送会议邀请:{0}", ApiUtils.COMErrorMessage(ex));
}


< / code>

"客户""将收到会议邀请。


for each of the clients create an application session and add the client uri to the participant list. you will receive an OnOutgoingInvitation event on the session manager. on that event do somehthing like this:

<code>

 void _IUccApplicationSessionParticipantEvents.OnOutgoingInvitation(UccApplicationSessionParticipant pEventSource, UccOutgoingInvitationEvent pEventData)
{
            pEventData.ContentType = "application/ms-conf-invite+xml";
            string xml = "<Conferencing version=\"2.0\"><focus-uri>" + conferenceUri + "</focus-uri><subject>Subject</subject><video available=\"true\"/><audio available=\"true\"/><im available=\"true\"></im></Conferencing>";
            pEventData.SessionDescription = xml;
            try
            {
                pEventData.Send();

            }
            catch (COMException ex)
            {
                ApiUtils.DebugFormat("Faile to send Conference Invitation: {0}", ApiUtils.COMErrorMessage(ex));
            }
 }
</code>

The "clients" will receive an invitation to the conference session..



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

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