onOffer

abstract suspend fun onOffer(callType: String, description: String, presentationInMain: Boolean, fecc: Boolean): String?

Invoked when an offer is available.

Return

an answer, may be null if in a direct media call

Parameters

callType

a call type (currently only "WEBRTC" is supported)

description

an offer, usually represented by an SDP

presentationInMain

whether presentation should be embedded in main video feed

fecc

whether far end camera control should be enabled