CSipsimple 改变其同时拨号数量的问题 supportMultipleCalls
官方的demo 默认最多支持同时 播4个号码 我现在的问题是 怎么扩展更多 看了源码 好像 没有
if(!supportMultipleCalls) {
// Check if there is no ongoing calls if so drop this request by alerting user
SipCallSession activeCall = pjService.getActiveCallInProgress();
if(activeCall != null) {
if(!CustomDistribution.forceNoMultipleCalls()) {
notifyUserOfMessage(R.string.not_configured_multiple_calls);
}
return;
}
}
getExecutor().execute(new SipRunnable() {
@Override
protected void doRun() throws SameThreadException {
pjService.makeCall(callee, accountId, options);
}
});
}
这一段 中 判断 是否 开启 多播的 从这里看来 只要设置 了 supportMultipleCalls为true 都可以去创建一个拨号连接。。。 不知道怎么回事? 还有 asterisk服务的三方通话 是需要 系统设置的 但是 服务器后端 没有设置 也可以实现三方通话 但是 只能支持5个 人同时通话 第6个号码就播不出去了。。。我怀疑的是 客户端肯定有 对 同时通话数量的限制 但是就是找不到 其源码,
if(!supportMultipleCalls) {
// Check if there is no ongoing calls if so drop this request by alerting user
SipCallSession activeCall = pjService.getActiveCallInProgress();
if(activeCall != null) {
if(!CustomDistribution.forceNoMultipleCalls()) {
notifyUserOfMessage(R.string.not_configured_multiple_calls);
}
return;
}
}
getExecutor().execute(new SipRunnable() {
@Override
protected void doRun() throws SameThreadException {
pjService.makeCall(callee, accountId, options);
}
});
}
这一段 中 判断 是否 开启 多播的 从这里看来 只要设置 了 supportMultipleCalls为true 都可以去创建一个拨号连接。。。 不知道怎么回事? 还有 asterisk服务的三方通话 是需要 系统设置的 但是 服务器后端 没有设置 也可以实现三方通话 但是 只能支持5个 人同时通话 第6个号码就播不出去了。。。我怀疑的是 客户端肯定有 对 同时通话数量的限制 但是就是找不到 其源码,
...全文
相关推荐
CsipSimple源代码
最新的基于PJSIP源代码库编写的Andriod程序,实现基于SIP协议的短信发送,视频电话等功能,使用STUN,TURN以及ICE进行NAT穿越。
CSipSimple
CSipSimple添加了视频通信功能,不过要开启,具体使用可以看http://blog.csdn.net/jwzhangjie/article/details/13017197
CSipSimple安装过程中遇到的问题
对CSI平Simple安装遇到的问题、解决过程做了详细的说明,望为各位朋友提供帮助
CSipSimple android项目(基于官方demo)
已整合语音、视频通讯功能,解压后可直接在Android studio上直接运行
Csipsimple二次封装的Demo,AndroidStudio直接运行
对Csipsimple的封装,去掉了ActionBarSherlock,代码简洁,可以视频通话,编码H264,H263,VP8,音频编码齐全,有完整的so库


