Constructor for Voice Client
Gets current voice call state
Gets current WebRTC connection state
Method to create singleton object of the class
@example
const CXoneVoiceClient = CXoneVoiceClient.instance();
Disconnect from WebRTC server
Initialize this client and connect to the WebRTC server.
Please use onConnectionStatusChanged
event for both success and failure notification for server connectivity
CXone agent number, that will be used for voice connection
CXone audio connection options that has WebRTC server information
audio element used to open audio stream
Disconnect from WebRTC server
Send an request to initialize a audio streaming to the connected WebRTC server.
Please use onCallStatusChanged
event for both success and failure notification for voice call
CXone agent leg having contactId and status
Enables SDK user to auto accept the call in CXone Agent
input agent leg id
Set the webRtc volume
webRtc volume
Generated using TypeDoc
Wrapper class for CXone Voice Connection