Re: [webrtc-pc] Add RTCSessionDescriptionReadOnly to make RTCSessionDescription membe…

This particular example wouldn't work anyway, due to the "unchanged 
string" requirement, but it's relevant for "pc.setRemoteDescription".

Note - setLocalDescription() takes an RTCSessionDescriptionInit. I 
assume that the serializer in RTCSessionDescription means that it 
autoconverts to an RTCSessionDescriptionInit-compatible dictionary 
when passed to setLocalDescription - otherwise we'd already have 
broken the web.

"pc.setRemoteDescription({type, offer})" should Just Work, right?


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at 
https://github.com/w3c/webrtc-pc/pull/934#issuecomment-264217743 using
 your GitHub account

Received on Thursday, 1 December 2016 16:18:56 UTC