java-spark 快速启动应用程序适用于我的本地: https ://github.com/TwilioDevEd/browser-calls-spark
但是当我在我的应用程序中集成语音通话功能时,它不起作用。
来自浏览器控制台的日志:
[Twilio.PeerConnection] signalingState is "have-local-offer"
twilio.min.js:55 [Connection] Received HANGUP from gateway
twilio.min.js:55 [Connection] Disconnecting...
quickstart.js:84 the call has ended Connection {_maxListeners: 0, _events: {…}, _soundcache: Map(15), message: {…}, options: {…}, …}
twilio.min.js:55 [Twilio.PeerConnection] iceConnectionState is "closed"
twilio.min.js:55 [Twilio.PeerConnection] signalingState is "closed"
Twiml App 似乎没问题。