createDataChannel
Summary
Creates an RTCDataChannel object with the given label.
Method of apis/webrtc/RTCPeerConnectionapis/webrtc/RTCPeerConnection
Syntax
var result = peerConnection.createDataChannel(label, options);
Parameters
label
- Data-type
- String
The label of the data channel.
options
- Data-type
- Object
(Optional)
Currently the only available option is a Boolean property named “reliable” (e.g. {reliable: false})
Return Value
Returns an object of type