群众的呼叫
目标
本页面旨在描述调用将如何与群体一起工作.该方法将允许客户提供共享文本历史的多个参与者调用.协议必须灵活,保持与SIP堆的兼容性,adn必须在分布式环境中工作.这种分布式环境也带来一些挑战,例如可能的比赛条件 (多方可以同时启动调用).最后,由于Swarm只能与使用手机的成员进行调用,或者由有专门服务器的公司混合视频,它也应该能够在异性环境上以最佳体验工作.
定义
一个Rendezvous将在会议中混合所有授权的接入电话.
为了实现这一功能,将使用两个新的URI:
`swarm:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
rdv:账户Uri/设备Id/对话Id/confId
Swarm’s profile is the profile of the swarm stored in a vCard (
profile.vcf
, see Conversation’s profile synchronization and 个人资料同步)rdvUri
是一个群体的默认URI,设置在 群体的个人资料
注意:这些两个URI允许客户端拨打电话,以便加入 * 约会 * 或发起对群众的电话,从而产生了下一节所描述的逻辑.
给一个群体打电话
拟议的流量:
a: 如果设置了:
给我一个答案.
如果失败,请进入b:
**b:**如果有当前的活跃调用:
给我一个答案.
如果失败,请进入c:
否则,请主办一个新的”约会”并加入它.
问用户是否愿意接待下来的电话.
图片/ 图片/ 图片
For each calls, two commits are added by the host of the call in the swarm. A first one to announce that a new call is starting and give information about who is hosting and the conference id. And a second to announce that the call is finished (so other peers can compute how many calls are currently active) and to get the duration of the call to show.
接到的呼叫叫群
如果接收新的接入电话时,URI必须被解析.如果接入电话是为一个 Rendezvous 目前由设备托管,并且通话者被授权加入,则电话必须被回答并添加到当前的 Rendezvous
定义一个宿主为群群
为了定义默认URI,想要成为主机的成员应该更新对话的配置文件,这将由同行同步和验证.然而,主机必须能够接受或不成为主机,并且拥有足够权限的成员应该能够要求设备成为主机.此过程尚未决定.
For now, only the administrator can add one of its device as the default host.
未来
加入通知?
那些没有参与电话的群体成员应该能够知道谁参与活动.
鱼桥?
由于会议仍然是混合的SIP通话,因此SIP桥梁仍然是可能的.在Swarm的个人资料中,应该可以添加SIP输入,就像一些受欢迎的VoIP系统一样)