signaling

fun Route.signaling(scope: CoroutineScope, session: (ApplicationCall) -> SessionIdentifier)

Handles the signaling of webRTC sessions.

Receiver

the Route at which the endpoint is created.

Parameters

scope

the CoroutineScope in which the sessions should be kept.

session

a function which maps the ApplicationCall to its associated SessionIdentifier.