使用 Twilio iOS 客户端 SDK 检测语音通话断开 [英] Detecting voice call disconnection with Twilio iOS client SDK

查看:36
本文介绍了使用 Twilio iOS 客户端 SDK 检测语音通话断开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 Twilio iOS SDK.我面临的问题是,当我拨出电话并且被叫方断开连接时,我没有收到任何委托回调.我已经实现了 TCConnectionDelegate 方法 connectionDidDisconnect.在这种情况下它永远不会被调用.另一方面,我可以成功地从呼叫设备断开呼叫.

I am using Twilio iOS SDK. The problem i am facing is that when i make an outgoing call and the called party disconnects, I am not receiving any delegate callbacks. I have implemented the TCConnectionDelegate method connectionDidDisconnect. It is never invoked in this case. On the other hand i can successfully disconnect calls from the calling device.

我已经使用他们的示例应用基本电话"进行了测试.该应用程序中也存在同样的问题.

I have tested using their sample app "Basic Phone" . The same problem exists in that app too.

推荐答案

在联系 Twilio 支持本身并寻找其他解决方案后,我得出结论,Twilio iOS SDK 没有提供所需的功能.必须使用其他方法,例如使用 APNS 或 Pusher,以便通知客户端有关呼叫状态更改的信息

After contacting Twilio support itself on this and searching for other solutions, I have reached the conclusion that Twilio iOS SDK does not provide the required functionality. Alternate methods such as using APNS or Pusher will have to be used so as to notify the client about call state changes

这篇关于使用 Twilio iOS 客户端 SDK 检测语音通话断开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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