Skip to content

IncomingWebrtcCall

Ajša Terko edited this page Feb 22, 2023 · 1 revision



accept(options)

Description

Accepts the incoming WebRTC call:

Arguments

  • options: WebrtcCallOptions - Optional additional options to be used when accepting an incoming call.

Returns

  • N/A

Example

let infobipRTC = createInfobipRtc('2e29c3a0-730a-4526-93ce-cda44556dab5', {debug: true});
infobipRTC.on('incoming-webrtc-call', (incomingWebrtcCallEvent) => {
    incomingWebrtcCallEvent.incomingCall.accept(WebrtcCallOptions.builder().setVideo(true).build());
});

Tutorials

Migration guides

Reference documentation

Clone this wiki locally