createDataChannel method

RTCDataChannel createDataChannel(
  1. String label, [
  2. RTCDataChannelInit? dataChannelDict
])

Implementation

RTCDataChannel createDataChannel(String label,
        [RTCDataChannelInit? dataChannelDict]) =>
    js_util.callMethod(this, 'createDataChannel', [label, dataChannelDict]);