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 sessionId
string 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 opponentsIDs
Array.<number> Opponents IDs. ct
1 | 2 Call type. cID
number yourUserId optional Initiator ID. opts
object optional Name Type Default Description bandwidth
number 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 spec
String Specify what type of devices you wnat to get. Possible values: audioinput, audiooutput, videoinput. Returns:
Type Description Array Array of devices.