Namespaces
Members
-
staticQB.webrtc.sessionsObject.<string, Object>
-
A map with all sessions the user had/have.
Methods
-
staticQB.webrtc.clearSession(sessionId)
modules/webrtc/qbWebRTCClient.js, line 163 -
Deletes a session.
Name Type Description sessionIdstring Session id. -
staticQB.webrtc.createNewSession(opponentsIDs, ct, cID, opts){WebRTCSession}
modules/webrtc/qbWebRTCClient.js, line 98 -
Creates the new session(read more).
Name Type Default Description opponentsIDsArray.<number> Opponents IDs. ct1 | 2 Call type. cIDnumber yourUserId optional Initiator ID. optsobject optional Name Type Default Description bandwidthnumber 0 optional Bandwidth limit (kbps). Returns:
Type Description WebRTCSession -
staticQB.webrtc.getMediaDevices(spec){Array}
modules/webrtc/qbWebRTCClient.js, line 57 -
Return data or all active devices.
Name Type Description specString Specify what type of devices you wnat to get. Possible values: audioinput, audiooutput, videoinput. Returns:
Type Description Array Array of devices.