Re: [webrtc-pc] Validation of reordered readonly parameters in setParameters

One more thing to note for reordering validation is that current algorithm do not take into account repeated elements in the array. The clause _"If parameters.encodings.length is different from N"_ seems to be specifically added to prevent repeated elements in `encodings`, but the same is not applied to `codec`.

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

Received on Wednesday, 19 July 2017 06:50:23 UTC