[webrtc-pc] Pull Request: Changing iceCandidatePoolSize to an octet and adding EnforceRange.

taylor-b has just submitted a new pull request for 
https://github.com/w3c/webrtc-pc:

== Changing iceCandidatePoolSize to an octet and adding EnforceRange. 
==
Fixes #1048.

Changing it to an octet limits the range to 0-255; there shouldn't be
any situation where an application wants to create thousands of pooled
candidates.

Adding [EnforceRange] means that if the application provides a 
negative
value or one greater than 255, a TypeError is thrown, rather than the
value being converted to the valid range by doing "mod 256".

See https://github.com/w3c/webrtc-pc/pull/1055

Received on Friday, 3 March 2017 18:59:40 UTC