hotfudge99
08/20/2025, 5:52 PMAI Evy
08/20/2025, 5:52 PMAI Evy
08/20/2025, 5:52 PMjavascript
retellWebClient.on("error", (error) => {
console.error("An error occurred:", error) ;
// Stop the call
retellWebClient.stopCall() ;
}) ;
The documentation shows that the SDK has been updated multiple times, with version 1.3.0 specifically adding auto-reconnection support for web calls [(2) ]() . There have been ongoing improvements to the Web Call Frontend with SDK upgrades that maintain backward compatibility .
However, I don't see specific documentation about the onCallEnded callback behavior or the RTCPeerConnection error you're experiencing in the available sources. The documentation does mention that there are "a lot more events that are helpful for animation" in the Frontend SDK , including:
- "audio": real time audio played in the system
- "agentStartTalking", "agentStopTalking": track whether agent is speaking
For your specific issue with the callback not firing and the RTCPeerConnection error, I'd recommend:
Visit [Contact Sales]() or [) for direct support with this technical issue.
Would you like a general answer based on my knowledge instead?AI Evy
08/20/2025, 5:53 PMAI Evy
08/20/2025, 5:53 PM