2
我已经完成了从twilio客户端SDK到应用程序调用的所有注册步骤,并且我已经成功地使用两个设备建立了呼叫。 我很高兴twilio客户端SDK与我们的服务器设置集成。Twilio应用程序调用当应用程序在Android中关闭或死亡?
查看下面的日志成功连接时。
06-15 10:27:41.268 12325-12742/com.twilio.client.quickstart D/CallControlManager: account information : [email protected]
06-15 10:27:41.268 12325-12742/com.twilio.client.quickstart D/CallControlManager: onRegistrationState for Account id: 1
06-15 10:27:41.269 12325-12742/com.twilio.client.quickstart D/CallControlManager: RegistrationInfo Code 200
06-15 10:27:41.269 12325-12742/com.twilio.client.quickstart D/CallControlManager: RegistrationInfo success true
06-15 10:27:41.269 12325-12742/com.twilio.client.quickstart D/CallControlManager: RegistrationInfo expiration 100
06-15 10:27:41.269 12325-12742/com.twilio.client.quickstart D/CallControlManager: Client registered successfully
见下日志当来电(应用程序是打开/运行状态)
06-15 10:27:59.089 12325-12742/com.twilio.client.quickstart D/CallControlManager: onCallSDPCreated notification received
06-15 10:27:59.098 12325-12742/com.twilio.client.quickstart D/CallControlManager: Incoming call notification received
06-15 10:27:59.103 12325-12742/com.twilio.client.quickstart D/MediaManager: playing sound INCOMING as id 1
06-15 10:27:59.108 12325-13082/com.twilio.client.quickstart D/AwesomeSoundPoolPlayThread: play thread starting
06-15 10:27:59.115 12325-12325/com.twilio.client.quickstart E/ClentActvity: onResume
06-15 10:27:59.122 12325-12325/com.twilio.client.quickstart E/ClentActvity: device :[email protected]
06-15 10:27:59.122 12325-12325/com.twilio.client.quickstart E/ClentActvity: incomingConnection :[email protected]
所有的东西都工作正常,现在我需要为我如何管理应用 帮助在My Bellow案例中致电应用:
- 当App Clo SED。
- 当应用程序被终止时。
- 当令牌过期。
在先进的感谢。
你可以观察从android ..这些事件,你可以做应用程序的应用程序调用? – GvSharma
感谢您的重播,是的,我已经做了所有的事情都是为了应用程序调用现在应用程序关闭状态的问题! –