W3C home > Mailing lists > Public > public-webrtc@w3.org > October 2017

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

From: Anne van Kesteren via GitHub <sysbot+gh@w3.org>
Date: Wed, 11 Oct 2017 13:14:35 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-264581777-1507727659-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:52 UTC