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.
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.
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.
Sends the data in parameter over the channel.