connect

fun connect(endpointMetadata: Metadata)

Tries to connect the RTC Engine. If user is accepted then onConnected will be called. In other case {@link Callbacks.onConnectError} is invoked.

Parameters

endpointMetadata
  • Any information that other endpoints will receive in onEndpointAdded after accepting this endpoint