You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

JitsiMediaDevicesEvents.js 606B

1234567891011121314151617
  1. /**
  2. * Enumeration with the events for the media devices.
  3. * @type {{string: string}}
  4. */
  5. var JitsiMediaDevicesEvents = {
  6. /**
  7. * Indicates that the list of available media devices has been changed. The
  8. * event provides the following parameters to its listeners:
  9. *
  10. * @param {MediaDeviceInfo[]} devices - array of MediaDeviceInfo or
  11. * MediaDeviceInfo-like objects that are currently connected.
  12. * @see https://developer.mozilla.org/en-US/docs/Web/API/MediaDeviceInfo
  13. */
  14. DEVICE_LIST_CHANGED: "mediaDevices.devicechange"
  15. };
  16. module.exports = JitsiMediaDevicesEvents;