Electron + SIPjs + Angular issue


Hello all,

I have an app written in Angular that uses sip.js to connect to the FreeSWITCH using WSS. And it works fine in the browser (took me a while, but still). For some reason when I run it in Electron - it won’t connect properly and won’t make a call, but I can send sip messages if it makes sense.

When I try to start a call, I get an error in the console:

[ERROR:audio_send_stream.cc(90)] Failed to set up send codec state.

Googled it several times, can’t figure out the source of the problem even.