Re: [webrtc-pc] Let createOffer and createAnswer resolve with RTCSessionDescription instead of RTCSessionDescriptionInit (#922)

Thank you, this is starting to make sense!
I assume the wrong notion of "toJSON is something developers should call" comes from this [MDN article](https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription) which also does :rage:  callback APIs

We still should have better tests than "createAnswer works", i'll take that.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 2 May 2024 23:33:39 UTC