openwebrtc icon indicating copy to clipboard operation
openwebrtc copied to clipboard

Add error handling into the API

Open superdump opened this issue 10 years ago • 2 comments

Whenever errors occur, they should be propagated up to the application somehow so that useful and informative messages can be shown in debug logs or even to the user of an application that explain what went wrong.

superdump avatar Mar 08 '15 11:03 superdump

Especially when connection establishment fails it would be good to know why it did. My feeling is that most times people complain about things not working these days it's due to STUN/TURN failures with their network setup. If we had better error reporting it would be easier for people to troubleshoot their issues and we'd get less bug noise. I think this should be prioritized.

alessandrod avatar Mar 29 '16 03:03 alessandrod

I at least added some ICE connection state stuff and debug logging

superdump avatar Mar 29 '16 08:03 superdump