Usage Description multiplex Describes a PeerConnection carrying multiple media streams on the same port. audio Describes an audio-only PeerConnection. video Describes a video-only PeerConnection. screen Describes a screen-sharing PeerConnection. data Describes a PeerConnection with only DataChannels. unbundled Describes a PeerConnection carrying media streams on different ports.
When using a single
PeerConnection between a pair of userIDs for sending and receiving audio and video, application MUST use
Name Description fabricHold The fabric is currently not sending and receiving any media, but the connection is still active. fabricResume The fabric is resuming communication with the remote endpoint. audioMute The fabric is currently not sending any Audio, but MAY be sending video. audioUnmute The fabric is resuming Audio communication. videoPause The fabric is currently not sending any Video, but MAY be sending audio. videoResume The fabric is resuming Video communication. fabricTerminated The PeerConnection is destroyed and is no longer sending or receiving any media. screenShareStart The PeerConnection started the screen sharing. screenShareStop The PeerConnection stopped the screen sharing. dominantSpeaker The userID reports that it is the dominant speaker and not the remote participants. activeDeviceList The userID reports the active devices used by him during the conference.
Function Name Description getUserMedia The failure occurred in getUserMedia function (added in callstats.js version 3.4.x). createOffer The failure occurred in createOffer function. createAnswer The failure occurred in createAnswer function. setLocalDescription The failure occurred in setLocalDescription function. setRemoteDescription The failure occurred in setRemoteDescription function. addIceCandidate The failure occurred in addIceCandidate function. iceConnectionFailure Ice connection failure detected by the application. signalingError Signaling related errors in the application. applicationLog Application related logs, this will not be considered as a failure.
Name Description peer The endpoint is a WebRTC client/peer. server The endpoint is a media server or a middle-box.
Name Description sendonly PeerConnection is for sending only. receiveonly PeerConnection is for receiving only. sendrecv PeerConnection is for sending and receiving. inactive PeerConnection is inactive.
Name Description local Set the localUserID remote Set the remoteUserID
Name Description httpError HTTP error, the
string is reported by the browser.
csErrMsg authError Authentication failed, AppID or AppSecret is incorrect. wsChannelFailure Connection failed, could not connect to callstats.io over WebSockets. csProtoError The client library is sending malformed messages. success The back-end has accepted the request and the endpoint is authenticated, or capable of sending measurement data. appConnectivityError The connectivity checks for given PeerConnection object failed, i.e., iceConnectionState is set to disconnected. tokenGenerationError Application could not generate the JWT.
: This may happen due to a change in the metrics or formatting of the current statistics API implemented by the browser.
Name Description success The API call was successful. failure The API call failed.