package js.html.rtc
extends EventTarget
Available on js
The RTCDataChannel interface represents a network channel which can be used for bidirectional peer-to-peer transfers of arbitrary data. Every data channel is associated with an RTCPeerConnection, and each peer connection can have up to a theoretical maximum of 65,534 data channels (the actual limit may vary from browser to browser).
Documentation RTCDataChannel by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
binaryType:DataChannelTyperead onlybufferedAmount:IntbufferedAmountLowThreshold:Intread onlyid:Intread onlylabel:Stringread onlymaxPacketLifeTime:Intread onlymaxRetransmits:Intonbufferedamountlow:Functiononclose:Functiononerror:Functiononmessage:Functiononopen:Functionread onlyordered:Boolread onlyprotocol:Stringread onlyreadyState:DataChannelStateread onlyreliable:Boolclose():Voidsend(data:ArrayBufferView):Voidsend(data:String):Voidsend(data:Blob):Voidsend(data:ArrayBuffer):VoidThrows:
null |
DOMError |
|---|
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/rtc/DataChannel.html