WebRtcClient

Creates a WebRtcClient with a specified engine.

val client = WebRtcClient(JsWebRtc) {
defaultConnectionConfig = {
iceServers = listOf(WebRtc.IceServer("stun:stun.l.google.com:19302"))
statsRefreshRate = 100.milliseconds
}
}

Closing the client

client.close()

Parameters

block

configuration block for the client