RTCMultiConnection Docs

RTCMultiConnection API Reference / "getDevices"

  1. You can get list of devices using "getDevices" method and prefer any single or two audio/video devices using "selectDevices" method.
  2. // get list of devices
        for (var device in devices) {
            device = devices[device];
            // device.kind == 'audio' || 'video'
            console.log(device.id, device.label);
    // select any audio and/or video device
    connection.selectDevices(firstDeviceID, secondDeviceID);

Want to ask a Question?

You can include your email for private conversation!