These are chat archives for andyet/SimpleWebRTC

Aug 2017
Aug 22 2017 11:49
Does some one know how to invoke a new negotiation between Peers inside the Simplewebrtc Lib ? I use at the moment my own method: peer.pc.pc.createOffer().then(function(offer) { return peer.pc.pc.setLocalDescription(offer); }) .then(function() { peer.sendDirectly('vroom', 'Offer', { offerSDP: peer.pc.pc.localDescription }); })
But i dont know if it is the proper way of doing this with Simplewebrtc