There are many random issues I am oberving since a month.
While video chat is going on participant video disappear and require a refresh to fix it.
On joining from one room to another without leaving the previous (on firefox as reported previously too) user media not share to other users in that group, again refresh is require to fix it but today on first refresh its not get fixed and sometime either of users video get disappear.
This is really affecting my application now.
Also what is the update regarding the issues related to ICE?
The exact error is.
ICE failed; attempting to restart ICE
ICE failed, add a STUN server and see about:webrtc for more details
If this is a connection problem, I would be interested how to retry this programmatically. Although I would also guess that retrying is something that happens in this library itself.
I just found out I was using Twilio 1.10, upgraded to 1.15. Let's see what happens. @smkrn110 What version are you using?
And then I now also get the following from time to time.
WARN in [LocalParticipant #1: PA348bcd4fe8095c2c749da640f71b9981]: Failed to publish the LocalVideoTrack: Server is unable to apply a remote media description
For the Twilio operators my room SID is RM50cbe1f63a28c976ef3e018c87459d45.
Hi @frederikbosch ,
Thanks for writing in with your question. We are looking into the ICE failure issues with Firefox for group Rooms, and will get back to you when we have more information.
Regarding the Track publication failure, we have a fix for it under development and will reach out to you once it is available.
Thanks,
Manjesh Malavalli
JSDK Team
Thanks, let me know if I can do anything to help.
If this is a connection problem, I would be interested how to retry this programmatically. Although I would also guess that retrying is something that happens in this library itself.
I really interested in the retry mechanism (re-connectivity) since due to network issues and on slow bandwidth, the issue does occur.
I am currently working with twilio-video.[email protected].
Hi @smkrn110 ,
Although we're planning to announce this officially with twilio-video.[email protected], you can enable signaling reconnects with beta5 by using the ConnectOptions flag _useTwilioConnection: true. Now, when you join a Room, it will emit "reconnecting" and "reconnected" events while recovering from signaling connection disruptions, along with existing behavior where they are emitted while recovering from media connection disruptions.
Please try it out and let me know if it solves some of your connectivity issues.
Thanks,
Manjesh Malavalli
JSDK Team
@manjeshbhargav, thanks for being so responsive.
I like to tell you without enabling of it, 'reconnecting' and 'reconnected' event still emits. I tried with _useTwilioConnection: true, , also. I am receiving an error on reconnecting event Media connection failed., although after that reconnected event also emit.
The issue I am facing is, media tracks remain stuck. I try to re-attach the tracks after the reconnected event, but no success.
Hi @frederikbosch
We just released twilio-video.[email protected], which fixes this error that you were seeing:
WARN in [LocalParticipant #1: PA348bcd4fe8095c2c749da640f71b9981]: Failed to publish the LocalVideoTrack: Server is unable to apply a remote media description
This should also be fixed in 2.0.0-beta6 when it is released.
@smkrn110 ,
If you don't set _useTwilioConnection: true, then "reconnecting" and "reconnected" events will still fire, but only for media interruptions. Setting it to true will also emit these events for signaling connection interruptions.
Can you provide a Room SID where your media tracks were stuck after reconnecting?
Thanks,
Manjesh Malavalli
JSDK Team
@manjeshbhargav
Setting it to true will also emit these events for signaling connection interruptions.
Yes, check the updated changelog.
Can you provide a Room SID where your media tracks were stuck after reconnecting?
Not available with the Room SID for now, but when gets stuck, on reconnecting event, I received the Media connection error in console, on investigating with the SDK I have change the following code,
from
room.emit('reconnecting', new MediaConnectionError());
to
room.emit('reconnecting', error);
Will update you as encounter the error again, also with the Room SID.
@smkrn110
We will officially announce this feature in 2.0.0-beta6, where you will get different error codes for signaling and media related reconnections.
Thanks,
Manjesh Malavalli
JSDK Team
Hi @manjeshbhargav when can we expect 2.0.0-beta6 to be cut?
Hi @jamesgraham ,
We are ironing out the last few bugs. We're aiming to roll out sometime early next week.
I'll reach out to you when it's available.
Thanks,
Manjesh Malavalli
JSDK Team
Thanks @manjeshbhargav are we still on track?
Hi @jamesgraham , @smkrn110 ,
twilio-video.[email protected] is now available. Please try it out and let me know.
Thanks,
Manjesh Malavalli
JSDK Team
@manjeshbhargav I still the ICE PRs not merged, see #547 and #537. Would 2.0.0-beta6 still help for ICE improvements?
@frederikbosch ,
2.0.0-beta9 is now available. The ICE improvements PR will be available in the next beta version. Please try it out and let me know if you're still experiencing issues on Firefox. Please refer to COMMON_ISSUES.md to make sure any issues you are experiencing are not listed here, and then file a separate issue for it.
Sorry for the delayed response.
Thanks,
Manjesh Malavalli
JSDK Team
@manjeshbhargav
Recently we are experiencing, ICE Failure very frequently, after every 2-3 seconds we received consecutive ICE failure connection attached is the image.

Chrome : Version 74.0.3729.157 (Official Build) (64-bit)
RoomSID: RMfa95ba39c874a02948f4b2df7e00798d
ParticipantSID : PAfbbfd7040377e7e3fe9901523bcfa50b
Twilio Version: 2.0.0-beta5
Hi @smkrn110 ,
We recently released 2.0.0-beta9, which officially supports the Network Reconnection API. Please try it out and let me know if you still experience the same issues.
Regarding your specific Room that you shared here, it looks like there is a problem with the network since the websocket connection that reports media statistics is also being interrupted constantly.
Thanks,
Manjesh Malavalli
JSDK Team
@manjeshbhargav
Thanks, let me try with this I am upgrading to beta11 and will get back to you on this. :-)
@manjeshbhargav
Thanks for providing the reconnection mechanism, really looking for that from months and great to see that it is working fine (so far), after upgraded to v2.0.0-beta11.
If this fix, also for ICE Failure issue, then this issue could mark as close.
Thanks
Hello,
We are still having a lot of issues with ICE Failure connections. First this only happen with Safari/Firefox but now it happens randomly with Chrome and after retrying a couple of times it gets connected. We were using the version 2.0.0-beta14, update to the latest stable version 2.0.0 but the problem is still there. Any news on this problem?
Thanks!
Hi @ing-fabian ,
Can you provide a Room SID where you're experiencing ICE issues? That will help us start investigating.
Thanks,
Manjesh Malavalli
JSDK Team
Hi @manjeshbhargav, Sure, I'll reproduce the error and collect all the information I can.
Thanks for the quick reply.
Hi @manjeshbhargav,
I did a test with this SID 2324b98d-58e1-444e-ae96-8122c256a780:
I follow the below steps:
Try Connecting from Firefox, Got ICE errors 4 times, It didn't connect but Firefox keep trying to connect.
Try connecting from Safari, Got ICE error once, but somehow It didn't try to connect again.
Try connecting with Chrome, get connected without problem.
Please tell me if you need any other information.
Version used on this test: 2.0.0-beta14
Network: All our connections are behind a proxy
We are also stuck by the same issue on Safari and Firefox.
ROOMSID: RM415c240b11f236db5e27c305ca789e3d
Both browser when tried from behind the corporate proxy do not show up the remote track and we get ICE failures
WARN in [PeerConnectionV2 #1: 3505ce13-dff4-41e0-afe0-e66805e50d42]: ICE failed; attempting to restart ICE