Classes
- ApplyAudioProcessorError
- ApplyVideoProcessorError
- Call
- Conference
- Contact
- Conversation
- ConversationCall
- DataChannel
- Enterprise
- EventCenter
- EventEmitter
- MediaDevice
- Observable
- PointerSharingRoom
- ReceivedCallInvitation
- ReceivedConversationInvitation
- ReceivedConversationJoinRequest
- ReceivedDataChannelInvitation
- ReceivedFileTransferInvitation
- ReceivedInvitation
- ReceivedPointerSharingInvitation
- ReceivedRemoteAccessInvitation
- ReceivedWhiteboardInvitation
- SentInvitation
- SentRemoteAccessInvitation
- Session
- Stream
- UserAgent
- UserData
Namespaces
Events
- 
    accepted
- 
    
    Fired when contact accepts call Type: Void
- 
    declined
- 
    
    Fired when contact decline call Type: objectProperties:Name Type Description reasonstring can be User_Busy, User_Refused_Call, User_Media_Error, Hangup_From_Callee, Hangup_From_Caller, stop_ScreenSharing, Ice_disconnected, Ice_failed, WebRTC_Plugin_Installation_needed, User_Not_Found, disconnected, call take on other device, bye on other device, DataChannel_Not_Supported 
- 
    desktopCapture
- 
    
    Fired on user media access error : 
 This event is fired when user has not granted the access to his micro and webcam or brower was not able to access mediasType: objectProperties:Name Type Description eventString event that has happened. Values can be : UserMediaError_HTTPS_needed, UserMediaError, Extension_installation_Error, Extension_not_installed, Browser_Not_Compatible 
- 
    disconnectionWarning
- 
    
    Fired when an disconnection is detected 
 This event is fired as a warning once a disconnection error was detected on the call.Type: objectProperties:Name Type Description triesstring number of warning send 
- 
    error
- 
    
    Fired when an error is detected 
 This event is fired once an error was detected on the call.Type: object- ice disconnection detected: ICE_CONNECTION_STATE_DISCONNECTED
- ice connection failed detected: ICE_CONNECTION_STATE_FAILED
- distant ice disconnection detected: DISTANT_ICE_CONNECTION_STATE_DISCONNECTED
- distant ice connection failed detected: DISTANT_ICE_CONNECTION_STATE_FAILED
- 200OK received but callId is not matching, no process : NOT_MATCHING_CALLID_ON_200OK
- Cannot find call to process Update : CALL_NOT_FOUND_ON_UPDATE
- Cannot find call to process 200 Update : CALL_NOT_FOUND_ON_200UPDATE
- Call aborted after calls retries (maxCallsRetriesDuration reached) : CALL_ABORTED
- Set local Description Failure : SET_LOCAL_DESCRIPTION_FAILURE
- Set remote Description Failure : SET_REMOTE_DESCRIPTION_FAILURE
- parameter error when calling function: setUnidirectionalCall(): PARAMETER_ERROR_SETUNIDIRCALL
- parameter error when calling function: setNtoNConf(): PARAMETER_ERROR_SETNTONCONF
- parameter error when calling function: setRTPMedia(): PARAMETER_ERROR_SETRTPMEDIA
- parameter error when calling function: setMediaRoutingMode(): PARAMETER_ERROR_SETMEDIAROUTINGMODE
- parameter error when calling function: setUserAcceptOnIncomingCall(): PARAMETER_ERROR_SETUSERACCEPTONINCOCALL
- Trying to add a listener on an unknown event: UNKNOWN_EVENT_ON_ADDLISTENER
- parameter error when calling function: setAllowMultipleCalls(): PARAMETER_ERROR_SETALLOWMULTIPLECALLS
- Room not found when starting recording: START_RECORD_ROOM_NOT_FOUND
- Caller not found when starting recording: START_RECORD_CALLER_NOT_FOUND
- Media not found when starting recording: START_RECORD_MEDIA_FOUND
- Recording is already ongoing: START_RECORD_ALREADY_ON
- Room not found when stopping recording: STOP_RECORD_ROOM_NOT_FOUND
- Caller not found when stopping recording: STOP_RECORD_CALLER_NOT_FOUND
- Media not found when stopping recording: STOP_RECORD_MEDIA_FOUND
- Recorder not found when stopping recording: STOP_RECORD_ENDPOINT_NOT_FOUND
- Recording is not started stopping recording: STOP_RECORD_NOT_STARTED
- Recorder is not ready yet, record is not started: STOP_RECORD_RECORDER_NOT_READY
- Autoplay was prevented: IOS_AUTOPLAY_PREVENTED
- Error during media update on call: MEDIA_UPDATE_ERROR
- Error during media media access: USER_MEDIA_ERROR
- Error during subscription: STREAM_NOT_AVAILABLE
 Properties:Name Type Description errorCodeString Code description of the error. Check possible values below. errorInfoString Code information about the error. Check possible values below. Possible errors values are the following: (errorInfo, errorCode) Connection errors:descriptorCallIceErrorDescriptor | object Detailed descriptor of the error 
- 
    hangup
- 
    
    Fired when contact hangs up from 1-1 call 
 'from' property indicates which side initiated the hangup, either 'remote' or 'local'Type: objectProperties:Name Type Description fromstring reasonstring can be User_Busy, User_Refused_Call, User_Media_Error, Hangup_From_Callee, Hangup_From_Caller, stop_ScreenSharing, Ice_disconnected, Ice_failed, WebRTC_Plugin_Installation_needed, User_Not_Found, disconnected, call take on other device, bye on other device, DataChannel_Not_Supported 
- 
    localStreamAvailable
- 
    
    Fired when local stream is available after calling the contact Type: Stream
- 
    recordAvailable
- 
    
    Fired when call record is available. 
 This event is fired once the call is ended for both peers if the call was recorded.Type: objectProperties:Name Type Description mediaURLstring video file URL 
- 
    recordingAvailable
- 
    
    Fired when a recording is available for play or download. Type: RecordingInfo
- 
    recordingStarted
- 
    
    Fired when a recording started. Type: RecordingInfo
- 
    recordingStopped
- 
    
    Fired when a recording stopped. Type: RecordingInfo
- 
    remoteStreamIdUpdated
- 
    
    Fired when remote streamId is changed after a call to replacePublishedStream(). Type: objectProperties:Name Type Description callIdstring callId newStreamIdstring the new streamId oldStreamIdstring former streamId 
- 
    remoteStreamIdUpdated
- 
    
    Fired when remote streamId is changed after a call to replacePublishedStream(). Type: objectProperties:Name Type Description callIdstring callId newStreamIdstring the new streamId oldStreamIdstring former streamId 
- 
    remoteStreamUpdated
- 
    
    Fired when remote stream properties changed. Type: objectProperties:Name Type Description callIdstring callId audioboolean whether an audio line has been negotiated and active. audioMutedboolean whether the audio line is muted. videoboolean whether a video line has been negotiated and active. videoMutedboolean whether the video line is muted. 
- 
    response
- 
    
    Fired when contact accepted or declined call Type: Void
- 
    statsUpdate
- 
    
    Fired when call record is available. 
 This event is fired once the call is ended for both peers if the call was recorded.Type: CallStats
- 
    streamAdded
- 
    
    Fired when contact's stream is received from 1-1 call Type: Stream
- 
    streamRemoved
- 
    
    Fired when contact's stream is removed from 1-1 call, stream may be null Type: Stream
- 
    userMediaError
- 
    
    Fired on user media access error : 
 This event is fired when user has not granted the access to his micro and webcam or brower was not able to access mediasType: objectProperties:Name Type Description onCallEstablishmentString true or false, indicate whether access to media has been requested on call establishment or not (can be requested on autoAnswer feature activation) callTypeString value can be 'media' or screenSharing errorObject error given by WebRTC API userMediaStreamIdString stream id tryAudioCallActivatedBoolean whether apiRTC will try to establish the call in audio only after this error detection 
- 
    audioAmplitude
- 
    
    Fired when the audio amplitude change happened on conversation stream (indicating user speaking or not) Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description streamIdnumber | string Stream ID. callIdstring Call ID. amplitudenumber isSpeakingboolean descriptorobject Deprecated. 
- 
    availableStreamsUpdated
- 
    
    Fired when available streams in conversation have been updated Type: Array.<StreamInfo>- Inherited From:
- Overrides:
 
- 
    callStatsUpdate
- 
    
    
    
        Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description streamIdnumber | string Stream ID. callIdstring Call ID. meshboolean Whether the stats belongs to one of the sub-calls of a published stream in mesh mode. contactContact If mesh is true, the contact to whom the stream is sent to. statsCallStats 
- 
    closed
- 
    
    Fired when conversation has been closed Type: void- Inherited From:
- Overrides:
 
- 
    contactJoined
- 
    
    Fired when a contact joined the conversation Type: Contact- Inherited From:
- Overrides:
 
- 
    contactJoinedWaitingRoom
- 
    
    Contact joined the waiting room event (moderator only) Type: Contact- Inherited From:
- Overrides:
 
- 
    contactLeft
- 
    
    Fired when a contact left the conversation Type: Contact- Inherited From:
- Overrides:
 
- 
    contactLeftWaitingRoom
- 
    
    Contact left the waiting room event (moderator only) Type: Contact- Inherited From:
- Overrides:
 
- 
    customEvent
- 
    
    Fired when a custom data event has been received from a contact within the conversation. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description eventstring event identifier senderContact contentobject 
- 
    data
- 
    
    Fired when data is received from a contact within the conversation Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description contentobject data senderContact 
- 
    disconnectionWarning
- 
    
    Fired when a disconnection happened on conversation stream Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description streamInfoArray.<StreamInfo> Stream information 
- 
    entryAllowed
- 
    
    Fired when moderator allows user to enter Type: void- Inherited From:
- Overrides:
 
- 
    entryDenied
- 
    
    Fired when moderator denies user to enter Type: void- Inherited From:
- Overrides:
 
- 
    error
- 
    
    Fired when an error happened on conversation stream Type: object- ice disconnection detected: ICE_CONNECTION_STATE_DISCONNECTED
- ice connection failed detected: ICE_CONNECTION_STATE_FAILED
- distant ice disconnection detected: DISTANT_ICE_CONNECTION_STATE_DISCONNECTED
- distant ice connection failed detected: DISTANT_ICE_CONNECTION_STATE_FAILED
- 200OK received but callId is not matching, no process : NOT_MATCHING_CALLID_ON_200OK
- Cannot find call to process Update : CALL_NOT_FOUND_ON_UPDATE
- Cannot find call to process 200 Update : CALL_NOT_FOUND_ON_200UPDATE
- Call aborted after calls retries (maxCallsRetriesDuration reached) : CALL_ABORTED
- Set local Description Failure : SET_LOCAL_DESCRIPTION_FAILURE
- Set remote Description Failure : SET_REMOTE_DESCRIPTION_FAILURE
- parameter error when calling function: setUnidirectionalCall(): PARAMETER_ERROR_SETUNIDIRCALL
- parameter error when calling function: setNtoNConf(): PARAMETER_ERROR_SETNTONCONF
- parameter error when calling function: setRTPMedia(): PARAMETER_ERROR_SETRTPMEDIA
- parameter error when calling function: setMediaRoutingMode(): PARAMETER_ERROR_SETMEDIAROUTINGMODE
- parameter error when calling function: setUserAcceptOnIncomingCall(): PARAMETER_ERROR_SETUSERACCEPTONINCOCALL
- Trying to add a listener on an unknown event: UNKNOWN_EVENT_ON_ADDLISTENER
- parameter error when calling function: setAllowMultipleCalls(): PARAMETER_ERROR_SETALLOWMULTIPLECALLS
- Room not found when starting recording: START_RECORD_ROOM_NOT_FOUND
- Caller not found when starting recording: START_RECORD_CALLER_NOT_FOUND
- Media not found when starting recording: START_RECORD_MEDIA_FOUND
- Recording is already ongoing: START_RECORD_ALREADY_ON
- Room not found when stopping recording: STOP_RECORD_ROOM_NOT_FOUND
- Caller not found when stopping recording: STOP_RECORD_CALLER_NOT_FOUND
- Media not found when stopping recording: STOP_RECORD_MEDIA_FOUND
- Recorder not found when stopping recording: STOP_RECORD_ENDPOINT_NOT_FOUND
- Recording is not started stopping recording: STOP_RECORD_NOT_STARTED
- Recorder is not ready yet, record is not started: STOP_RECORD_RECORDER_NOT_READY
- Autoplay was prevented: IOS_AUTOPLAY_PREVENTED
- Error during media update on call: MEDIA_UPDATE_ERROR
- Error during media media access: USER_MEDIA_ERROR
- Error during subscription: STREAM_NOT_AVAILABLE
- Inherited From:
- Overrides:
 Properties:Name Type Description streamIdnumber | string Stream ID. streamInfoArray.<StreamInfo> Stream information errorCodestring Code description of the error. Check possible values below. errorInfostring Code information about the error. Check possible values below. Possible errors values are the following: (errorInfo, errorCode) Connection errors:descriptorConversationIceErrorDescriptor | object Detailed descriptor of the error 
- 
    hangup
- 
    
    Fired when a publish or subscribe is terminated. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description fromstring 'local' or 'remote'. reasonstring Hangup reason. streamIdnumber | string Stream ID. 
- 
    joined
- 
    
    Fired when conversation has been joined by the user. Type: void- Inherited From:
- Overrides:
 
- 
    left
- 
    
    Fired when conversation has been left by the user. Type: void- Inherited From:
- Overrides:
 
- 
    localStreamUpdated
- 
    
    Fired when local stream properties changed. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description callIdstring Call ID. streamIdstring Stream ID. audioboolean Whether an audio line has been negotiated and active. audioMutedboolean Whether the audio line is muted. videoboolean Whether a video line has been negotiated and active. videoMutedboolean Whether the video line is muted. causestring Either 'adaptation' or 'userAction'. 
- 
    message
- 
    
    Fired when a message is received from contact in the conversation Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description contentstring content of the message senderContact timeDate receive time 
- 
    messageNotDelivered
- 
    
    
    
        Type: Object- Inherited From:
- Overrides:
 Properties:Name Type Description errorApiRTCError Hint. contactContact Message recipient. eventString Event (optional). commandString Command (optional). 
- 
    moderatorConnected
- 
    
    Fired when moderator joined the conversation Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description moderatorContact 
- 
    newMediaAvailable
- 
    
    Fired when a new media is available in the conversation. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description senderContact mediaCloudMediaInfo 
- 
    newWhiteboardSession
- 
    
    Fired when a contact in the conversation starts a new whiteboard session Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description senderContact 
- 
    participantEjected
- 
    
    Fired when a participant has been ejected from the conference. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description selfboolean contactContact 
- 
    persistentDataUpdated
- 
    
    Fired when conversation persistent data has been updated. Type: object- Inherited From:
- Overrides:
 
- 
    pointerLocationChanged
- 
    
    Fired when a pointer location changed. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description senderContact sender. sourceobject source identifier. xnumber The X coordinate of the mouse pointer in source coordinates. ynumber The Y coordinate of the mouse pointer in source coordinates. dataobject Optional data. 
- 
    pointerSharingEnabled
- 
    
    Fired when pointer sharing is enabled or disabled. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description enabledboolean True when enabled, false when disabled. 
- 
    recordingAvailable
- 
    
    Fired when a recording is available for play or download. Type: RecordingInfo- Inherited From:
- Overrides:
 
- 
    recordingStarted
- 
    
    Fired when a recording started. Type: RecordingInfo- Inherited From:
- Overrides:
 
- 
    recordingStopped
- 
    
    Fired when a recording stopped. Type: RecordingInfo- Inherited From:
- Overrides:
 
- 
    remoteStreamUpdated
- 
    
    Fired when remote stream properties changed. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description callIdstring Call ID. streamIdnumber Stream ID. audioboolean Whether an audio line has been negotiated and active. audioMutedboolean Whether the audio line is muted. videoboolean whether a video line has been negotiated and active. videoMutedboolean Whether the video line is muted. causestring Either 'adaptation' or 'userAction'. 
- 
    roomModeChanged
- 
    
    Fired when the mode of conference room is changing or changed. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description oldModestring Represents the previous mode, being replaced (or replaced) by the new mode. Either 'mesh' or 'sfu'. newModestring Represents the new mode, replacing the previous mode. Either 'mesh' or 'sfu'. statestring Represents the state of the room mode change. Either 'ongoing' or 'complete'. 
- 
    simulcastFeedChanged
- 
    
    Fired when the simulcast selection feed changed. Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description streamIdnumber Stream ID. callIdstring Call ID. simulcastobject PropertiesName Type Description streamQualitystring Substream selection. Either 'high', 'medium' or 'low'. streamFrameRatestring Temporal layer selection. Either 'high', 'medium' or 'low'. 
- 
    slowLink
- 
    
    Fired when a slow link is detected. 
 An optional advice can be set. When advice is 'subscribeToAudioComposite', the
 application should start the audio composite (#startComposite) and then subscribe
 to the audio composite stream instead of subscribing to every stream individually.Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description callIdstring Call ID. streamIdnumber | string Stream ID. advicestring Optional advice. 
- 
    streamAdded
- 
    
    Fired when a stream is received from this conversation after a subscription Type: Stream- Inherited From:
- Overrides:
 
- 
    streamListChanged
- 
    
    Fired when a change occurs in the available stream list. An entry in the 
 available stream list represents a stream that has been successfully
 published by one of the participants and that one can subscribe to.Type: StreamInfo- Inherited From:
- Overrides:
 Exampleuse streamListChanged events conversation.on('streamListChanged', function (streamInfo) { if (streamInfo.listEventType === 'added') { // A new stream has been published. // Add it to me own list copy? if (streamInfo.isRemote) { // The stream has been published by an other participant. // Subscribe to it? } else { // The stream has been published by me. // Subscribe to it? } } else if (streamInfo.listEventType === 'removed') { // A stream has been unpublished. // Remove it from with own list copy. } else if (streamInfo.listEventType === 'updated') { // Properties of the published stream has changed. } });
- 
    streamRemoved
- 
    
    Fired when stream is removed from this conversation after an unsubscription Type: Stream- Inherited From:
- Overrides:
 
- 
    transferBegun
- 
    
    Fired when a transfer begun (push data). Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description idstring transfer id. namestring filename. 
- 
    transferEnded
- 
    
    Fired when a transfer ended (push data). Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description idstring transfer id. namestring filename. 
- 
    transferPending
- 
    
    Fired when a transfer is pending (push data). Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description idstring transfer id. namestring filename. ranknumber 
- 
    transferProgress
- 
    
    Fired with progress status during a transfer (push data). Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description idstring transfer id. namestring filename. sizenumber total transfered byte count. remBytesnumber remaining byte count. percentagenumber progress ratio. 
- 
    waitingForModeratorAcceptance
- 
    
    Fired when entering the waiting room of a conversation, requiring the moderator to accept before joining the room Type: object- Inherited From:
- Overrides:
 Properties:Name Type Description moderatorContact 
- 
    conversationInvitation
- 
    
    Contact conversation invitation event Type: ReceivedConversationInvitation
- 
    customEvent
- 
    
    Fired when a custom data event has been received from the contact Type: objectProperties:Name Type Description eventstring event identifier contentobject conversationConversation Associated conversation, field may not be present 
- 
    data
- 
    
    Receive data from contact event Type: object
- 
    dataChannelInvitation
- 
    
    Contact file transfer invitation event Type: ReceivedDataChannelInvitation
- 
    fileSentSuccessfully
- 
    
    Fired when file was successfully sent to contact Type: objectProperties:Name Type Description fileInfoFileInfo transferInformationTransferInformation 
- 
    fileTransferError
- 
    
    Fired during file transfer if an error occured Type: objectProperties:Name Type Description errorobject invitationIdstring 
- 
    fileTransferInvitation
- 
    
    Contact file transfer invitation event Type: ReceivedFileTransferInvitation
- 
    fileTransferProgress
- 
    
    Fired during file transfer Type: objectProperties:Name Type Description fileInfoFileInfo transferInformationTransferInformation 
- 
    incomingCall
- 
    
    Fired when user receives an incoming call Type: ReceivedCallInvitation
- 
    incomingScreenSharingCall
- 
    
    Fired when user receives an incoming screenSharing call Type: Call
- 
    incomingScreenSharingCallInvitation
- 
    
    Fired when user receives an incoming screenSharing call Invitation Type: ReceivedCallInvitation
- 
    joinGroup
- 
    
    When contact joins a group Type: string
- 
    leaveGroup
- 
    
    When contact leaves a group Type: string
- 
    message
- 
    
    Receive message from contact event Type: objectProperties:Name Type Description contentstring content of the message uuidinteger message unique id timedate date of when the message was received 
- 
    newMediaAvailable
- 
    
    When a new media has been pushed by the contact to the cloud and is available Type: CloudMediaInfo
- 
    whiteboardInvitation
- 
    
    Contact whiteboard invitation event Type: ReceivedWhiteboardInvitation
- 
    audioAmplitude
- 
    
    Fired when the audio amplitude change happened on conversation stream (indicating user speaking or not) Type: objectProperties:Name Type Description streamIdnumber | string Stream ID. callIdstring Call ID. amplitudenumber isSpeakingboolean descriptorobject Deprecated. 
- 
    availableStreamsUpdated
- 
    
    Fired when available streams in conversation have been updated Type: Array.<StreamInfo>
- 
    callStatsUpdate
- 
    
    
    
        Type: object
- 
    closed
- 
    
    Fired when conversation has been closed Type: void
- 
    contactJoined
- 
    
    Fired when a contact joined the conversation Type: Contact
- 
    contactJoinedWaitingRoom
- 
    
    Contact joined the waiting room event (moderator only) Type: Contact
- 
    contactLeft
- 
    
    Fired when a contact left the conversation Type: Contact
- 
    contactLeftWaitingRoom
- 
    
    Contact left the waiting room event (moderator only) Type: Contact
- 
    customEvent
- 
    
    Fired when a custom data event has been received from a contact within the conversation. Type: objectProperties:Name Type Description eventstring event identifier senderContact contentobject 
- 
    data
- 
    
    Fired when data is received from a contact within the conversation Type: objectProperties:Name Type Description contentobject data senderContact 
- 
    disconnectionWarning
- 
    
    Fired when a disconnection happened on conversation stream Type: objectProperties:Name Type Description streamInfoArray.<StreamInfo> Stream information 
- 
    entryAllowed
- 
    
    Fired when moderator allows user to enter Type: void
- 
    entryDenied
- 
    
    Fired when moderator denies user to enter Type: void
- 
    error
- 
    
    Fired when an error happened on conversation stream Type: object- ice disconnection detected: ICE_CONNECTION_STATE_DISCONNECTED
- ice connection failed detected: ICE_CONNECTION_STATE_FAILED
- distant ice disconnection detected: DISTANT_ICE_CONNECTION_STATE_DISCONNECTED
- distant ice connection failed detected: DISTANT_ICE_CONNECTION_STATE_FAILED
- 200OK received but callId is not matching, no process : NOT_MATCHING_CALLID_ON_200OK
- Cannot find call to process Update : CALL_NOT_FOUND_ON_UPDATE
- Cannot find call to process 200 Update : CALL_NOT_FOUND_ON_200UPDATE
- Call aborted after calls retries (maxCallsRetriesDuration reached) : CALL_ABORTED
- Set local Description Failure : SET_LOCAL_DESCRIPTION_FAILURE
- Set remote Description Failure : SET_REMOTE_DESCRIPTION_FAILURE
- parameter error when calling function: setUnidirectionalCall(): PARAMETER_ERROR_SETUNIDIRCALL
- parameter error when calling function: setNtoNConf(): PARAMETER_ERROR_SETNTONCONF
- parameter error when calling function: setRTPMedia(): PARAMETER_ERROR_SETRTPMEDIA
- parameter error when calling function: setMediaRoutingMode(): PARAMETER_ERROR_SETMEDIAROUTINGMODE
- parameter error when calling function: setUserAcceptOnIncomingCall(): PARAMETER_ERROR_SETUSERACCEPTONINCOCALL
- Trying to add a listener on an unknown event: UNKNOWN_EVENT_ON_ADDLISTENER
- parameter error when calling function: setAllowMultipleCalls(): PARAMETER_ERROR_SETALLOWMULTIPLECALLS
- Room not found when starting recording: START_RECORD_ROOM_NOT_FOUND
- Caller not found when starting recording: START_RECORD_CALLER_NOT_FOUND
- Media not found when starting recording: START_RECORD_MEDIA_FOUND
- Recording is already ongoing: START_RECORD_ALREADY_ON
- Room not found when stopping recording: STOP_RECORD_ROOM_NOT_FOUND
- Caller not found when stopping recording: STOP_RECORD_CALLER_NOT_FOUND
- Media not found when stopping recording: STOP_RECORD_MEDIA_FOUND
- Recorder not found when stopping recording: STOP_RECORD_ENDPOINT_NOT_FOUND
- Recording is not started stopping recording: STOP_RECORD_NOT_STARTED
- Recorder is not ready yet, record is not started: STOP_RECORD_RECORDER_NOT_READY
- Autoplay was prevented: IOS_AUTOPLAY_PREVENTED
- Error during media update on call: MEDIA_UPDATE_ERROR
- Error during media media access: USER_MEDIA_ERROR
- Error during subscription: STREAM_NOT_AVAILABLE
 Properties:Name Type Description streamIdnumber | string Stream ID. streamInfoArray.<StreamInfo> Stream information errorCodestring Code description of the error. Check possible values below. errorInfostring Code information about the error. Check possible values below. Possible errors values are the following: (errorInfo, errorCode) Connection errors:descriptorConversationIceErrorDescriptor | object Detailed descriptor of the error 
- 
    hangup
- 
    
    Fired when a publish or subscribe is terminated. Type: objectProperties:Name Type Description fromstring 'local' or 'remote'. reasonstring Hangup reason. streamIdnumber | string Stream ID. 
- 
    joined
- 
    
    Fired when conversation has been joined by the user. Type: void
- 
    left
- 
    
    Fired when conversation has been left by the user. Type: void
- 
    localStreamUpdated
- 
    
    Fired when local stream properties changed. Type: objectProperties:Name Type Description callIdstring Call ID. streamIdstring Stream ID. audioboolean Whether an audio line has been negotiated and active. audioMutedboolean Whether the audio line is muted. videoboolean Whether a video line has been negotiated and active. videoMutedboolean Whether the video line is muted. causestring Either 'adaptation' or 'userAction'. 
- 
    message
- 
    
    Fired when a message is received from contact in the conversation Type: objectProperties:Name Type Description contentstring content of the message senderContact timeDate receive time 
- 
    messageNotDelivered
- 
    
    
    
        Type: ObjectProperties:Name Type Description errorApiRTCError Hint. contactContact Message recipient. eventString Event (optional). commandString Command (optional). 
- 
    moderatorConnected
- 
    
    Fired when moderator joined the conversation Type: objectProperties:Name Type Description moderatorContact 
- 
    newMediaAvailable
- 
    
    Fired when a new media is available in the conversation. Type: objectProperties:Name Type Description senderContact mediaCloudMediaInfo 
- 
    newWhiteboardSession
- 
    
    Fired when a contact in the conversation starts a new whiteboard session Type: objectProperties:Name Type Description senderContact 
- 
    participantEjected
- 
    
    Fired when a participant has been ejected from the conference. Type: objectProperties:Name Type Description selfboolean contactContact 
- 
    persistentDataUpdated
- 
    
    Fired when conversation persistent data has been updated. Type: object
- 
    pointerLocationChanged
- 
    
    Fired when a pointer location changed. Type: objectProperties:Name Type Description senderContact sender. sourceobject source identifier. xnumber The X coordinate of the mouse pointer in source coordinates. ynumber The Y coordinate of the mouse pointer in source coordinates. dataobject Optional data. 
- 
    pointerSharingEnabled
- 
    
    Fired when pointer sharing is enabled or disabled. Type: objectProperties:Name Type Description enabledboolean True when enabled, false when disabled. 
- 
    recordingAvailable
- 
    
    Fired when a recording is available for play or download. Type: RecordingInfo
- 
    recordingStarted
- 
    
    Fired when a recording started. Type: RecordingInfo
- 
    recordingStopped
- 
    
    Fired when a recording stopped. Type: RecordingInfo
- 
    remoteStreamUpdated
- 
    
    Fired when remote stream properties changed. Type: objectProperties:Name Type Description callIdstring Call ID. streamIdnumber Stream ID. audioboolean Whether an audio line has been negotiated and active. audioMutedboolean Whether the audio line is muted. videoboolean whether a video line has been negotiated and active. videoMutedboolean Whether the video line is muted. causestring Either 'adaptation' or 'userAction'. 
- 
    roomModeChanged
- 
    
    Fired when the mode of conference room is changing or changed. Type: objectProperties:Name Type Description oldModestring Represents the previous mode, being replaced (or replaced) by the new mode. Either 'mesh' or 'sfu'. newModestring Represents the new mode, replacing the previous mode. Either 'mesh' or 'sfu'. statestring Represents the state of the room mode change. Either 'ongoing' or 'complete'. 
- 
    simulcastFeedChanged
- 
    
    Fired when the simulcast selection feed changed. Type: objectProperties:Name Type Description streamIdnumber Stream ID. callIdstring Call ID. simulcastobject PropertiesName Type Description streamQualitystring Substream selection. Either 'high', 'medium' or 'low'. streamFrameRatestring Temporal layer selection. Either 'high', 'medium' or 'low'. 
- 
    slowLink
- 
    
    Fired when a slow link is detected. 
 An optional advice can be set. When advice is 'subscribeToAudioComposite', the
 application should start the audio composite (#startComposite) and then subscribe
 to the audio composite stream instead of subscribing to every stream individually.Type: objectProperties:Name Type Description callIdstring Call ID. streamIdnumber | string Stream ID. advicestring Optional advice. 
- 
    streamAdded
- 
    
    Fired when a stream is received from this conversation after a subscription Type: Stream
- 
    streamListChanged
- 
    
    Fired when a change occurs in the available stream list. An entry in the 
 available stream list represents a stream that has been successfully
 published by one of the participants and that one can subscribe to.Type: StreamInfoExampleuse streamListChanged events conversation.on('streamListChanged', function (streamInfo) { if (streamInfo.listEventType === 'added') { // A new stream has been published. // Add it to me own list copy? if (streamInfo.isRemote) { // The stream has been published by an other participant. // Subscribe to it? } else { // The stream has been published by me. // Subscribe to it? } } else if (streamInfo.listEventType === 'removed') { // A stream has been unpublished. // Remove it from with own list copy. } else if (streamInfo.listEventType === 'updated') { // Properties of the published stream has changed. } });
- 
    streamRemoved
- 
    
    Fired when stream is removed from this conversation after an unsubscription Type: Stream
- 
    transferBegun
- 
    
    Fired when a transfer begun (push data). Type: objectProperties:Name Type Description idstring transfer id. namestring filename. 
- 
    transferEnded
- 
    
    Fired when a transfer ended (push data). Type: objectProperties:Name Type Description idstring transfer id. namestring filename. 
- 
    transferPending
- 
    
    Fired when a transfer is pending (push data). Type: objectProperties:Name Type Description idstring transfer id. namestring filename. ranknumber 
- 
    transferProgress
- 
    
    Fired with progress status during a transfer (push data). Type: objectProperties:Name Type Description idstring transfer id. namestring filename. sizenumber total transfered byte count. remBytesnumber remaining byte count. percentagenumber progress ratio. 
- 
    waitingForModeratorAcceptance
- 
    
    Fired when entering the waiting room of a conversation, requiring the moderator to accept before joining the room Type: objectProperties:Name Type Description moderatorContact 
- 
    accepted
- 
    
    When contact accepts datachannel Type: Void
- 
    closed
- 
    
    When the data channel effectively closed Type: Void
- 
    dataReceived
- 
    
    Fired at the end of a data transfer when data has been received Type: objectProperties:Name Type Description uuidstring datastring 
- 
    declined
- 
    
    When contact decline datachannel Type: Void
- 
    ended
- 
    
    When contact hangs up from 1-1 datachannel, 'from' property indicates which side initiated the ended, either 'remote' or 'local' Type: objectProperties:Name Type Description fromstring 
- 
    error
- 
    
    When the data channel returns an error Type: Void
- 
    opened
- 
    
    When the data channel effectively opened Type: Void
- 
    response
- 
    
    When contact accepted or declined datachannel Type: Void
- 
    transferComplete
- 
    
    Fired at the end of a data transfer Type: TransferInformation
- 
    transferProgress
- 
    
    Fired periodically during a data transfer Type: TransferInformation
- 
    expired
- 
    
    Fired when the call invitation has expired (eg. caller cancelled call) Type: Void- Deprecated:
- 
        - Please note that this event is now deprecated as we have added a statusChange event
 
 
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo- Inherited From:
- Overrides:
 
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo- Inherited From:
- Overrides:
 
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo- Inherited From:
- Overrides:
 
- 
    expired
- 
    
    When the call invitation has expired (eg. caller cancelled call) 
 Please note that this event is now deprecated as we have added a statusChange eventType: Void
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo- Inherited From:
- Overrides:
 
- 
    error
- 
    
    When an error occured during file transfer Type: Error
- 
    progress
- 
    
    Emitted periodically during file transfer and contains file transfer progression information Type: TransferInformation
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo- Inherited From:
- Overrides:
 
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo- Inherited From:
- Overrides:
 
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo- Inherited From:
- Overrides:
 
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo- Inherited From:
- Overrides:
 
- 
    receive
- 
    
    When the invitation has been received by the contact Type: Void
- 
    response
- 
    
    When the invitation status changed Type: symbol- Deprecated:
- 
        - Please note that this event is now deprecated as we have added a statusChange event
 
 
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo
- 
    receive
- 
    
    When the invitation has been received by the contact Type: Void- Inherited From:
- Overrides:
 
- 
    response
- 
    
    When the invitation status changed Type: symbol- Inherited From:
- Overrides:
- Deprecated:
- 
        - Please note that this event is now deprecated as we have added a statusChange event
 
 
- 
    statusChange
- 
    
    Emitted invitation status change Type: StatusChangeInfo- Inherited From:
- Overrides:
 
- 
    contactData
- 
    
    Fired when data is received from a contact Type: objectProperties:Name Type Description senderContact contentobject 
- 
    contactListUpdate
- 
    
    Fired when the contact list has been updated 
 The contact list is updated when a contact leaves a group, joins a group or if its user data changedType: object
- 
    contactMessage
- 
    
    Fired when a message is received from a contact Type: objectProperties:Name Type Description senderContact contentstring content of the message uuidinteger message unique id timedate date of when the message was received 
- 
    conversationData
- 
    
    Fired when conversation data is received Type: objectProperties:Name Type Description senderContact conversationConversation contentobject 
- 
    conversationInvitation
- 
    
    Fired when a conversation invitation is received Type: ReceivedConversationInvitation
- 
    conversationJoinRequest
- 
    
    Fired when a conversation join request is received 
 This event is fired only if the user is the moderator from the conversationType: ReceivedConversationJoinRequest
- 
    conversationMessage
- 
    
    Fired when a conversation message is received Type: objectProperties:Name Type Description senderContact contentstring content of the message conversationConversation 
- 
    customEvent
- 
    
    Fired when a custom data event has been received Type: objectProperties:Name Type Description eventstring event identifier contentobject senderContact conversationConversation Associated conversation, field may not be present 
- 
    dataChannelInvitation
- 
    
    Fired when a data channel invitation is received Type: ReceivedDataChannelInvitation
- 
    disconnect
- 
    
    Fired on disconnection with CCS server Type: Void
- 
    error
- 
    
    Fired when an error is detected on connection with CCS server Type: Void
- 
    fileTransferInvitation
- 
    
    Fired when a file transfer invitation is received Type: ReceivedFileTransferInvitation
- 
    incomingCall
- 
    
    Fired when user receives an incoming call Type: ReceivedCallInvitation
- 
    incomingScreenSharingCall
- 
    
    Fired when user receives an incoming screenSharing call Type: Call
- 
    incomingScreenSharingCallInvitation
- 
    
    Fired when user receives an incoming screenSharing call Invitation Type: ReceivedCallInvitation
- 
    newMediaAvailableFromContact
- 
    
    Fired when a new media is available from a contact Type: objectProperties:Name Type Description senderContact mediaCloudMediaInfo 
- 
    pointerLocationChanged
- 
    
    Fired when the pointer location changed for a contact. Type: objectProperties:Name Type Description senderContact sourceobject xnumber ynumber dataobject 
- 
    pointerSharingInvitation
- 
    
    Fired when a pointer sharing invitation is received Type: ReceivedPointerSharingInvitation
- 
    rawData
- 
    
    Fired when raw data is received from a contact (for older apiRTC app compatibility) Type: objectProperties:Name Type Description senderContact contentobject 
- 
    reconnecting
- 
    
    Fired when a new connection to server is tried Type: Void
- 
    reconnection
- 
    
    Fired when connectivity to the network has been recovered Type: Void
- 
    whiteboardInvitation
- 
    
    Fired when a whiteboard session invitation is received Type: ReceivedWhiteboardInvitation
- 
    whiteboardRoomMemberUpdate
- 
    
    Fired when a member connect or disconnect from whiteboard room. Type: objectProperties:Name Type Description roomIdstring event identifier statusstring online / offline contactsArray.<Contact> contacts updated 
- 
    whiteboardRoomMemberUpdate
- 
    
    Fired when a member connect or disconnect from whiteboard room Type: objectProperties:Name Type Description roomIdstring event identifier statusstring online / offline contactsArray.<Contact> contacts updated 
- 
    activeStateChange
- 
    
    Emitted when stream video or audio active state changed Type: objectProperties:Name Type Description streamIdnumber stream identifier. callIdcallId identifier of related call. typestring 'video' or 'audio' activeboolean new state 
- 
    AIELog
- 
    
    Emitted when a log is generated after a new AI annotation Type: objectProperties:Name Type Description logstring log informations 
- 
    AIESnapshot
- 
    
    Emitted when a snapshot is taken of stream with AI annotation Type: objectProperties:Name Type Description imageImage The snapshot 
- 
    audioAmplitude
- 
    
    Stream current audio amplitude obtained from audio analysis Type: number
- 
    audioAmplitudeInfo
- 
    
    Stream current audio amplitude & speaking status info obtained from audio analysis Type: objectProperties:Name Type Description amplitudenumber amplitude. isSpeakingboolean is sound/speaking detected considering threshold 
- 
    audioFlowStatusChanged
- 
    
    Emitted when either enabled or muted value changed for the audio track of the stream Type: MediaStreamTrackFlowStatus
- 
    backgroundSubstractionStopComputeTime
- 
    
    Emitted when the background substraction process is stopped due to bad filter frame rate Type: objectProperties:Name Type Description streamIdnumber stream identifier. userMediaStreamIdstring user media stream identifier 
- 
    backgroundSubstractionStopVisibilityChange
- 
    
    Emitted when a filter is applied on stream and the user hides current navigator tab Type: objectProperties:Name Type Description streamIdnumber stream identifier. userMediaStreamIdstring user media stream identifier 
- 
    constraintsChanged
- 
    
    Emitted, on a stream if constraints changed Type: object
- 
    flowStatusChanged
- 
    
    Emitted when either enabled or muted value changed for a track of the stream Type: MediaStreamTrackFlowStatusWithType
- 
    muteStateChange
- 
    
    Deprecated - Emitted when stream video or audio mute state changed Type: objectProperties:Name Type Description streamIdnumber stream identifier. userMediaStreamIdstring user media stream identifier (optional). callIdstring related call identifier (optional). typestring 'video' or 'audio' mutedboolean new state 
- 
    release
- 
    
    Emitted, on a stream release Type: object
- 
    remoteAudioFlowStatusChanged
- 
    
    Emitted, on a stream you subscribed, when either enabled or muted value changed for the audio track by the publisher Type: MediaStreamTrackFlowStatus
- 
    remoteVideoFlowStatusChanged
- 
    
    Emitted, on a stream you subscribed, when either enabled or muted value changed for the video track by the publisher Type: MediaStreamTrackFlowStatus
- 
    stopped
- 
    
    Emitted when user media is released or when related call is terminated. Type: objectProperties:Name Type Description streamIdnumber stream identifier. userMediaStreamIdstring user media stream identifier (optional). callIdstring related call identifier (optional). 
- 
    trackStopped
- 
    
    Signals a stream track was stopped (known issue: does not work on Firefox) Type: objectProperties:Name Type Description typestring 'video' or 'audio' idstring track id 
- 
    videoFlowStatusChanged
- 
    
    Emitted when either enabled or muted value changed for the video track of the stream Type: MediaStreamTrackFlowStatus
- 
    ccsConnectionStatus
- 
    
    Fired when ccs Connection status change. This can be an insteresting information to detect network failure. Type: objectProperties:Name Type Description statusstring status of the CCS connection : connected, disconnected, error, retry 
- 
    externalJsLoadingStatus
- 
    
    Fired when externalJs loading status change. This can be an insteresting information to detect network failure. Type: objectProperties:Name Type Description extjsstring external js concerned by the event statusstring status of the loading : loaded, error, retry 
- 
    mediaDeviceChanged
- 
    
    Fired when user media list have changed. call getUserMediaDevices() to get an updated MediaDeviceList Type: objectProperties:Name Type Description addedarray array of added input/ouput removedarray array of removed input/ouput updatedarray array of updated input/ouput updateReasonString give an updated reason. Value can be 'updatedOnDeviceChange' or 'updatedAfterGetUserMediaSuccess' firstMediaDeviceListInitializationBoolean indicate of this is the first event occurrence with a real list from device