-
Notifications
You must be signed in to change notification settings - Fork 2
IncomingCallEventListener
Lejla Solak edited this page Oct 15, 2025
·
2 revisions
Method executed once an incoming WebRTC call event is received.
-
incomingWebrtcCallEvent:IncomingWebrtcCallEvent- Event instance which contains incoming WebRTC call and the additional custom data received with the call.
N/A
class IncomingWebrtcCallAdapter: IncomingCallEventListener {
func onIncomingWebrtcCall(_ incomingWebrtcCallEvent: IncomingWebrtcCallEvent) {
let incomingWebrtcCall = incomingWebrtcCallEvent.incomingWebrtcCall
os_log("Received an incoming WebRTC call from: %s", incomingWebrtcCall.counterpart().identifier())
incomingWebrtcCall.accept()
}
}