Closed amnporter closed 6 years ago
Questions like this are best suited our mailing list, as this is not a bug in SIP.js. I am going to close this issue, and if anything else comes up please follow up there. Additionally, we do not support Temasys. With all that being said, we suspect that the Temasys plugin you are using is out of date. Between 0.7.X and 0.9.X we have moved from callback based WebRTC APIs (which have been deprecated) to promise based APIs. As you can see for the documentation on createOffer
, the callback version does require 2 arguments and the promise version has no required arguments.
If you cannot get a Temasys plugin that supports the promise based API, then the last option is to copy our WebRTC.SessionDescriptionHandler
and create your own with callback based WebRTC API's. It would not be a huge undertaking, but it is not something that we are going to officially support on the SIP.js side as we are trying to stick to spec.
I'm currently running into an error when trying to use SIP.js on IE11 with the temasys plugin. Everything works fine on chrome. Please have a look at the errors below and hopefully you'll be able to point me in the right direction.
I've confirmed that RTCOfferOptions is an empty object and modifiers is an empty array that is being passed into createOfferOrAnswer() to create the offer.
from plugin line 2: You'll notice we get 'Script error for "createOffer": Error: Argument 2 is not optional.'
from SIP.js:
Here is the SIP logging as well: