Optional
buffered30000
Optional
closeWhen closing a stream we first send a FIN flag to the remote and wait for a FIN_ACK reply before closing the underlying RTCDataChannel - this controls how long we wait for the acknowledgement in ms
5000
Optional
drainWhen closing a stream, we wait for bufferedAmount
to become 0 before
closing the underlying RTCDataChannel - this controls how long we wait
in ms
30000
Optional
maxIf the channel's bufferedAmount
grows over this amount in bytes, wait
for it to drain before sending more data
16777216
Optional
maxThe maximum message size sendable over the channel in bytes
16384
Optional
openWhen sending the first data message, if the channel is not in the "open" state, wait this long for the "open" event to fire.
When
bufferedAmount
is abovemaxBufferedAmount
, we pause sending until thebufferedAmountLow
event fires - this controls how long we wait for that event in ms