Re: [webrtc-pc] ICE restart deserves a first-class API. (#2167)

one concern I have: I am observing calls to createOffer and look for {iceRestart: true} to determine if an ice restart happened. You are hiding this by using an internal slot.

wdyt about
pc.onnegotiationneeded = async () => {
  await pc.setLocalDescription(await pc.createOffer({iceRestart: pc.iceRestarting));
  io.send({desc: pc.localDescription});

GitHub Notification of comment by fippo
Please view or discuss this issue at using your GitHub account

Received on Wednesday, 10 April 2019 08:56:30 UTC