new RTCIceCandidate method Returning IFBComJavascriptObject

34 views
Skip to first unread message

Abhijeet Sonaje

unread,
Mar 8, 2017, 3:25:02 AM3/8/17
to Temasys WebRTC Plugin
I am currently working on a application where i am using adapterJS with nodejs , socket.io and knockoutJS. At the time of adding ice candidate using addIceCandidate method i am creating new RTCIceCandidate by passing this value -

In Chrome or Firefox it returns me the new RTCIceCandiate like this -

but as i try this same method from IE it is returning IFBComJavascriptObject like this -

because of this the socket.js emit method going into infinite loop and IE gives me the error Out of Stack.
Am i doing anything wrong ? can you help me with this issue ?

Jacques-Olivier Haché

unread,
Mar 8, 2017, 10:16:37 PM3/8/17
to Abhijeet Sonaje, Temasys WebRTC Plugin
That looks fine to me.

The plugin returns a plugin compatible object, which in IE is an ActiveX representation.
You're probably iterating over every attribute, which is not a good idea because the value attribute is probably the object itself.

Just manually select the attributes you want (candidate, Mid and MLineIndex), put them in a native JS object and send it with socket.js.

--
You received this message because you are subscribed to the Google Groups "Temasys WebRTC Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to temasys-discuss-webr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/temasys-discuss-webrtcplugin/4ed44144-5dac-4b1e-a722-15a5c7b5c4d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

--
Jacques-Olivier HACHÉ
Software Engineer at Temasys Communications Pte Ltd
Sg : +65 9086 3673



This email and any files transmitted with it are for the sole use of the intended recipient and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply email and destroy all copies and the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this email is strictly prohibited and may be unlawful. Thank you for your cooperation.

2016, Temasys (www.temasys.io)

Abhijeet Sonaje

unread,
Mar 10, 2017, 12:23:22 AM3/10/17
to Temasys WebRTC Plugin, sonaje....@gmail.com
Thanks for the reply.

As you suggested i got it working now thaks...


On Thursday, 9 March 2017 08:46:37 UTC+5:30, Jacques-Olivier Haché wrote:
That looks fine to me.

The plugin returns a plugin compatible object, which in IE is an ActiveX representation.
You're probably iterating over every attribute, which is not a good idea because the value attribute is probably the object itself.

Just manually select the attributes you want (candidate, Mid and MLineIndex), put them in a native JS object and send it with socket.js.

On Wed, Mar 8, 2017 at 4:25 PM Abhijeet Sonaje <sonaje....@gmail.com> wrote:
I am currently working on a application where i am using adapterJS with nodejs , socket.io and knockoutJS. At the time of adding ice candidate using addIceCandidate method i am creating new RTCIceCandidate by passing this value -

In Chrome or Firefox it returns me the new RTCIceCandiate like this -

but as i try this same method from IE it is returning IFBComJavascriptObject like this -

because of this the socket.js emit method going into infinite loop and IE gives me the error Out of Stack.
Am i doing anything wrong ? can you help me with this issue ?

--
You received this message because you are subscribed to the Google Groups "Temasys WebRTC Plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to temasys-discuss-webrtcplugin+unsub...@googlegroups.com.
--

--
Jacques-Olivier HACHÉ
Software Engineer at Temasys Communications Pte Ltd
Sg : +65 9086 3673

Reply all
Reply to author
Forward
0 new messages