Skip to main content
Version: 0.1.x

External Call Detection Event - Android

External call detection event in VideoSDK let you know, participant is on the call during meeting.

Whenever local participant accept the incoming call or place outgoing call, externalcall-started event will trigger.externalcall-started event only received by localParticipant.

For example, the meeting is running with Alice and Bob. Whenever Alice receives the call or she call someone, Alice will receive externalcall-started event.

We can access externalcall-started event through Meeting class.

externalcall-started Event

private val meetingEventListener: MeetingEventListener = object : MeetingEventListener() {
// ...
override fun onExternalCallStarted() {
Log.d("#VideoSDK", "onExternalCallAnswered")
}
};

override fun onCreate(savedInstanceState: Bundle?) {
//...

// add listener to meeting
meeting!!.addEventListener(meetingEventListener)
}

Got a Question? Ask us on discord