[webrtc-pc] RTCDataChannel's send() doesn't encode string data

annevk has just created a new issue for https://github.com/w3c/webrtc-pc:

== RTCDataChannel's send() doesn't encode string data ==
It needs to actually invoke https://encoding.spec.whatwg.org/#utf-8-encode to get bytes. Currently there's a type error. And then you can just use the length of the byte sequence (https://infra.spec.whatwg.org/#byte-sequence-length) to increase bufferedAmount.

Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/1628 using your GitHub account

Received on Wednesday, 11 October 2017 13:14:23 UTC