create

fun create(appContext: Context, listener: MembraneRTCListener, options: CreateOptions = CreateOptions()): MembraneRTC

Creates an instance of MembraneRTC client.

Return

an instance of the client in connecting state

Parameters

appContext

the context of the current application

listener

a listener that will receive all notifications emitted by the MembraneRTC

options

a set of options defining parameters such as encoder parameters