This is the entry point for using the WrtcKit.

Containing static methods for making and answering calls

wrtc API

The wrtc object can be controlled using function calls and properties and it generates events.

Functions

wrtc.getOngoingCall() Get the ongoing call if any
wrtc.getOutgoingCall() Get the outgoing call if any
wrtc.getIncomingCall() Get the incoming call if any
wrtc.getCurrentCall() Get the current call if any
wrtc.getCall() Get the call with a specific id
wrtc.init() Initialize the WrtcKit and start communication with the IXNX server
wrtc.disconnectFromServer() Disconnects the WrtcKit from the IXNX server
wrtc.setPushDeviceToken() Set push token, to be able to wake the app up
wrtc.answerCall() Answer incoming call
wrtc.denyCall() Deny incoming call
wrtc.disconnectCall() Stop the video source
wrtc.hangupCall() Finish ongoing call
wrtc.call() Make a call
wrtc.setVideoCapturer() Set video capturer
wrtc.getApplicationContext() Get the application context