Peer to peer call

Here is a description of the different steps to create a peer to peer call using apiRTC

Create and register a UserAgent

Check our tutorial on registration if needed to create the userAgent and register.

Add events listeners on Session to enable incoming calls

Add listener on 'incomingCall' to receive audio/video calls and on 'incomingScreenSharingCall' to receive screenSharing calls.
As describe in following sample, to accept the call use invitation.accept()