Methods
-
staticQB.webrtc.RTCPeerConnection._addIceCandidate(iceCandidate){Promise.<void>}
modules/webrtc/qbRTCPeerConnection.js, line 273 -
Add ice candidate.
Name Type Description iceCandidateRTCIceCandidateInit Returns:
Type Description Promise.<void> -
staticQB.webrtc.RTCPeerConnection.addCandidates(iceCandidates)
modules/webrtc/qbRTCPeerConnection.js, line 286 -
Add ice candidates.
Name Type Description iceCandidatesArray.<RTCIceCandidateInit> -
staticQB.webrtc.RTCPeerConnection.addLocalStream(stream)
modules/webrtc/qbRTCPeerConnection.js, line 257 -
Add local stream.
Name Type Description streamMediaStream -
staticQB.webrtc.RTCPeerConnection.getRemoteSDP(){RTCSessionDescriptionInit|undefined}
modules/webrtc/qbRTCPeerConnection.js, line 125 -
Returns SDP if it was set previously.
Returns:
Type Description RTCSessionDescriptionInit | undefined -
staticQB.webrtc.RTCPeerConnection.qbRTCPeerConnection(config)
modules/webrtc/qbRTCPeerConnection.js, line 16 -
Name Type Description configRTCConfiguration optional -
staticQB.webrtc.RTCPeerConnection.setLocalSessionDescription(params, callback)
modules/webrtc/qbRTCPeerConnection.js, line 135 -
Create offer or answer SDP and set as local description.
Name Type Description paramsObject Name Type Description type'answer' | 'offer' optionsRTCOfferOptions optional callbackfunction -
staticQB.webrtc.RTCPeerConnection.setRemoteSDP(newSDP)
modules/webrtc/qbRTCPeerConnection.js, line 111 -
Save remote SDP for future use.
Name Type Description newSDPRTCSessionDescriptionInit -
staticQB.webrtc.RTCPeerConnection.setRemoteSessionDescription(description, callback){void}
modules/webrtc/qbRTCPeerConnection.js, line 230 -
Set remote session description.
Name Type Description descriptionRTCSessionDescriptionInit callbackfunction Returns:
Type Description void