dart-sip-ua
dart-sip-ua copied to clipboard
unable to connect to audio
Describe the bug [2022-03-21 13:09:46.382] Level.debug sip_ua_helper.dart:222 ::: call ended with cause: Code: [408], Cause: RTP Timeout, Reason: RTP Timeout
I have the same issue.
For what's it worth, it's probably not a bug in dart-sip-ua
(or JsSIP for that matter) but something going afoul somewhere on the way.
The error message basically says: SIP
ing around has worked but the WebRTC session (the actual media content streaming) did not start in time. As I've learned now, there is a myriad of things that can cause this.
Maybe there's something wrong with the ICE candidates? Then look up ICE, STUN, and TURN.
As I said: I have the same issue, and did a lot of reading. Crawling through all these RFCs and pitfalls makes me wonder how SIP ever works. The usual strategy for developers facing issues seems to be: Fiddle around with all parameters that you can find, and maybe you'll get lucky.
If there was some proper way to debug issues like these I'd be super grateful for a link!