1

How to catch MediaStreamError when it occur (e.g. when being not on https): enter image description here

I think I've tried already all .on() events I've found in the Sip.js docs, but only "ended" is working when this error occurs (but I don't think this is a proper to use as a error handler) - any ideas/thoughts?

Btw. tried catching it via:

const simpleSip = new SIP.Web.Simple(options)
simpleSip.on('ended', function () { ... })

Even trying to catch it via window.onerror doesn't work (while e.g. bugsnag plugin catches it properly) :| Any ideas?

lukaszkups
  • 5,790
  • 9
  • 47
  • 85

0 Answers0