Skip to main content

Typedefs

InitOptions : Object

Represents the options to create a ProCONF Connection.

Kind: global typedef
Properties

NameTypeDescription
domainstringThe domain for backend server deployment.
[loglevel]LogLevelThe log level for the ProCONF SDK.
[pcStatsInterval]numberStats polling interval for ProCONF SDK.

RoomOptions : Object

Represents the options to create a ProCONF Room.

Kind: global typedef
Properties

NameTypeDescription
[roomName]stringThe name of the room to be created. If not provided, a random room name will be generated.
[participantName]stringThe name of the participant. If not provided, a random participant name will be generated.

CreateLocalTrackOptions : Object

Represents the options to create a media track.

Kind: global typedef
Properties

NameTypeDefaultDescription
[devices]Array.<string>array with the devices - "desktop", "video" and "audio". If not specified all available devices will be fetched
[videoName]stringThe name to be provided for the video track
[audioName]stringThe name to be provided for the audio track
[cameraDeviceId]string"'default'"the deviceID for the video device that is going to be used
[micDeviceId]string"'default'"the deviceID for the audio device that is going to be used

TrackStats

TrackStats interface represents the structure for statistics data related to a track.

Kind: global typedef
Properties

NameTypeDescription
trackIdstringThe unique identifier for the track
trackSidstringThe server identifier for the track
timestampnumberThe timestamp when the statistics were collected
ssrcstringThe synchronization source for the track
packetsLostnumberThe number of packets lost
codecstringThe codec used for the track
[bytesReceived]numberThe number of bytes received (optional)
[packetsReceived]numberThe number of packets received (optional)
roundTripTimenumberThe round trip time
[dimensions]ObjectThe dimensions of the track (optional)
[captureDimensions]ObjectThe captured dimensions of the track (optional)
[frameRate]numberThe frame rate of the track (optional)
[captureFrameRate]numberThe captured frame rate of the track (optional)
[audioLevel]numberThe audio level of the track (optional)
[jitter]numberThe jitter of the track (optional)

PeerConnectionStats

PeerConnectionStats interface represents the structure for statistics data related to both local and remote audio and video tracks.

Kind: global typedef
Properties

NameTypeDescription
peerConnectionIdstringThe unique identifier for the peer connection
localAudioTrackStatsArray.<TrackStats>An array of statistics for local audio tracks
localVideoTrackStatsArray.<TrackStats>An array of statistics for local video tracks
remoteAudioTrackStatsArray.<TrackStats>An array of statistics for remote audio tracks
remoteVideoTrackStatsArray.<TrackStats>An array of statistics for remote video tracks