SIP.js + IE/Safari + Temasys WebRTC Plugin

125 views
Skip to first unread message

bogdan...@gmail.com

unread,
Oct 14, 2016, 9:35:28 AM10/14/16
to Temasys WebRTC Plugin
Hi all,

I'm building a webrtc based online video conference solution using SIP.js v0.7.5. Everything works fine on Chrome, Firefox and Opera. For Safari and IE I'm using the Temasys plugin, but I have few issues, see below.

The issues I have:
1. On Safari: video conferencing is working, but I see an error in the js console: 'null is not an object (evaluating 'this.iceConnectionState')', happening at line 11383 in sip-0.7.5.js (if (this.iceConnectionState === 'checking')). The error appears in a loop - e.g. in a session can appear for 8-9 times
2. On IE: is not working at all; in the js console I see the following error ('Unable to get property 'resolve' of undefined or null reference') happening at line 9405 in sip-0.7.5.js (return SIP.Utils.Promise.resolve();). The strange thing in IE is that exactly the same error appears, at exactly the same line in sip.js, even if I don't use the Temasys plugin

For reference, my systems are:
1. Windows 10 + IE (v11.633)
2. OS X (v10.11.5) + Safari (v9.1.1)

And this is what I've done so far:
- started from the SIP.js demo (http://sipjs.com/guides/full-demo-app/) and adjusted it according to my needs
- installed the Temasys WebRTC Plugin for IE/Safari
- adjusted my code to include the Temasys version of Adapter.js (v0.14); it is included before SIP.js in the <head> section
- as stated on the Temasys page, adjusted my code to run relying on the AdapterJS.webRTCReady function, so that I'm sure the plugin is used
- checked the plugin is used & working - I get true from SIP.WebRTC.isSupported() and isUsingPlugin in AdapterJS.webRTCReady(function (isUsingPlugin)

Could you please help with any of these issues?

Regards,
Bogdan
Reply all
Reply to author
Forward
0 new messages