run

suspend fun run(dataChannelLabel: String, iceServers: List<String> = emptyList(), timeoutMillis: Long, exchange: suspend (String) -> String, onText: (String) -> Unit, onConnected: () -> Unit)

exchange receives a complete (non-trickle) SDP offer and returns an SDP answer. onText executes on the caller's coroutine context and must not block. Returns only on cancellation or failure; no automatic reconnect is performed.