otalk / jingle.js

A generic Jingle session manager implementation, suitable for integration by other XMPP libraries.
MIT License
89 stars 17 forks source link

transport-info with new ufrag/pwd does not trigger ice-restart #13

Open fippo opened 10 years ago

fippo commented 10 years ago

a transport-info with a new ufrag/pwd doesn't trigger an ice restart since it only passes the candidates to the peerconnection via addIceCandidate.

I think the right thing to do is to detect the change and then do a fulll setRemoteDescription/setLocalDescription