Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The CTLive Agent SDK allows the user to manage their devices to directly select the camera, microphone, or speaker that want to use. To get notified which devices are available and select a device by name, you can use the following APIs.

Microphone management

The contact.bindVideoMicrophoneEvent bind a custom javascript function to be notified of all events occurring on the audio capture devices.

Code Block
languagejs
contact.bindVideoMicrophoneEvent(
  function (eventObj, eventName, microphoneObj, state) {
    // Add your integration code
  }
);