Re: [webrtc-pc] A simpler glare-proof setLocalDescription() (#2165)

Note the version I presented in [the slides](https://docs.google.com/presentation/d/1xcvf0udNeSH7s1FOY7RRqr1dEFvokZjn-MZPjwy3iXQ/edit#slide=id.g5c2f3df65b_11_66) did not return the description, so you'll have to write:
```js
pc.onnegotiationneeded = async () => {
  await pc.setLocalDescription();
  io.send({desc: pc.localDescription});
}
```


-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2165#issuecomment-512940886 using your GitHub account

Received on Thursday, 18 July 2019 18:48:45 UTC