最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

react native - Call is terminated due to RTP timeout. No audio received from callee - Stack Overflow

programmeradmin5浏览0评论

I am facing a very severe issue in both Android and iPhone apps.

My calls get disconnected after a while—sometimes after 2 minutes, sometimes after 30 minutes. My application is live, and I have reported this issue to Twilio as well. They have advised me to check the debug logs from the application.

This issue is happening randomly on any device and after any duration.

I am stuck at this point.

Please help me.

I want to understand the possible reasons causing this issue—why calls are disconnecting randomly on both Android and iPhone.

It is very difficult to reproduce in debug mode. I have tried, but my application is live, and my workers are complaining about it.

In the last 30 days, this has happened more than 50 times.

Reproduction Steps

My call flow is as follows:

The call is initiated from the client's side using a landline/PSTN number. They start the call, and using DTMF, we gather the required information. That information is provided to TaskRouter. TaskRouter routes the call to my workers based on that specific information. One of my workers picks up the call from their mobile app and provides the online service. I am using the latest 1.3.0 SDK on the app side. Expected Behavior

The call should continue and should not disconnect automatically at any time.

Actual Behavior

Calls are disconnecting randomly without any reason. However, Twilio shows an error for incoming or outgoing calls:

"Call is terminated due to RTP timeout. No audio received from callee."

Reproduction Frequency No fixed pattern—it happens randomly.

Software and Device Information This issue is occurring on both Android and iPhone devices, across almost all devices.

Additional Context All calls are conference calls.

This issue is happening on both call legs—incoming and outgoing.

Outgoing calls (handled by my Twilio SDK) are affected in 80% of cases. Incoming calls (from PSTN/Landline) are affected in 20% of cases. I am clueless about where I should debug and how to identify the root cause of the issue.

Twilio has stated that incoming disconnections and outgoing disconnections are separate issues. However, I suspect there could be a single cause for both, but I am not sure.

I am completely lost on how to resolve this.

Please advise on the key points I should focus on while debugging.

I know how to enable debugging in Android and iPhone SDKs, but is there any way to enable debugging at the React Native level?

I have tried to reproduce this issue, and it only occurred once. The call started, and after a while, it just disconnected. After that, the issue did not happen again in debug mode.

I am looking for ideas on how to resolve this issue—what points I should check and what possible causes could terminate the call.

Network issues could be one reason, but not always, because I was able to reproduce it once on an office WiFi network that is very stable.

发布评论

评论列表(0)

  1. 暂无评论