startVideoPreview

open fun startVideoPreview(context: Context, accountID: String, callID: Int, surface: Surface)

Starts the preview for a call. If the call does not exist or has been terminated, a disconnected state will be sent to onCallState

Parameters

context

application context

accountID

account ID

callID

call ID

surface

surface on which to render the preview