DataChannelEvent

package js.html.rtc

extends Event

Available on js

The RTCDataChannelEvent() constructor returns a new RTCDataChannelEvent object, which represents a datachannel event. These events sent to an RTCPeerConnection when its remote peer is asking to open an RTCDataChannel between the two peers.

Documentation RTCDataChannelEvent by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Constructor

new(type:String, eventInitDict:DataChannelEventInit)

Throws:

null

DOMError

Variables

read onlychannel:DataChannel

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/rtc/DataChannelEvent.html