[webrtc-pc] Pull Request: Add bufferSize attribute to RTCDataChannel.

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

== Add bufferSize attribute to RTCDataChannel. ==
Fixes #1148.

This is option #1 for fixing the issue. An application can read this
bufferSize attribute, and check "messageSize + bufferedAmount <=
bufferSize" before sending data to ensure it won't abruptly close the
data channel.

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

Received on Friday, 12 May 2017 07:19:57 UTC