W3C home > Mailing lists > Public > public-webrtc-logs@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:34 +0000
To: public-webrtc-logs@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:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:21:47 UTC