sendToDataChannel

fun sendToDataChannel(data: String)

Send data to dataChannel. It might trigger event "onBufferedAmountChange" and make the code reentrant if this event is used

Parameters

data

fun sendToDataChannel(data: ByteArray)