Members
peerConnection :RTCPeerConnection
Current RTCPeerConnection based on the peerId
roomState :SkylinkState
The current skylink state of the room
Methods
(private) gatherRTCDataChannelDetails()
Formats output object with RTCDataChannel details
(private) gatherRTCPeerConnectionDetails()
Formats output object with RTCPeerConnection details
(private) gatherSDPCodecs()
Formats output object with SDP codecs
(private) gatherSDPIceCandidates()
Formats output object with Ice Candidate details
getConnectionStatus() → {Promise.<statistics>}
Helper function for getting RTC Connection Statistics
getStatistics(beSilentOnLogs, isAutoBwStats) → {Promise.<statistics>}
Fetch webRTC stats of a RTCPeerConnection
Parameters:
Name | Type | Default | Description |
---|---|---|---|
beSilentOnLogs |
false | ||
isAutoBwStats |
false |
Fires:
- event:getConnectionStatusStateChange