onMediaRelayError

open fun onMediaRelayError(roomId: String, error: String)

Called in the room that requested the relay when it fails, for example when the destination has no live session. Clear relay UI from here as well as from onMediaRelayStopped — a failure does not guarantee a stop event follows.

Parameters

roomId

the destination room.

error

the server's wording for the failure; empty if it sent none.