The EventTarget.addEventListener() method registers the specified listener on the EventTarget it's called on.
Returns a DOMString indicating the type of binary data transmitted by the connection.
Returns an unsigned long containing the amount of bytes that have been queued for sending: that is the amount of data requested to be transmitted via RTCDataChannel.send() that has not been sent yet.
Dispatches an Event at the specified EventTarget, invoking the affected EventListeners in the appropriate order.
Returns an unsigned short being a unique id for the channel.
Returns a DOMString containing a name describing the data channel.
Is the event handler called when the close event is received.
Is the event handler called when the message event is received.
The read-only property RTCDataChannel.ordered returns a Boolean indicating if the order of delivery of the messages is guaranteed or not.
Returns a DOMString containing the name of the subprotocol in use.
Returns an enum of the type RTCDataChannelState representing the state of the underlying data connection.
Removes the event listener previously registered with EventTarget.addEventListener.
Sends the data in parameter over the channel.