onsip / onsip-cordova

Other
48 stars 29 forks source link

Called in wrong state: STATE_INPROGRESS. App crashes when the target party receives call #26

Open AhsanAyaz opened 7 years ago

AhsanAyaz commented 7 years ago

This error is being thrown when the target number receives the call. The app crashes right away. error=Failed to set remote answer sdp: Called in wrong state: STATE_INPROGRESS

Tried to comment the code where it crashes but the "Accepted" event is never triggered and the call disconnects within a minute. HELP please 😞 Tried some work arounds but none of them worked perfectly.