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.

Constants.js 843B

123456789101112131415161718192021222324252627282930313233343536
  1. /**
  2. * The value for the "var" attribute of feature tag in disco-info packets.
  3. */
  4. export const DISCO_REMOTE_CONTROL_FEATURE
  5. = "http://jitsi.org/meet/remotecontrol";
  6. /**
  7. * Types of remote-control-event events.
  8. */
  9. export const EVENT_TYPES = {
  10. mousemove: "mousemove",
  11. mousedown: "mousedown",
  12. mouseup: "mouseup",
  13. mousedblclick: "mousedblclick",
  14. mousescroll: "mousescroll",
  15. keydown: "keydown",
  16. keyup: "keyup",
  17. permissions: "permissions",
  18. stop: "stop",
  19. supported: "supported"
  20. };
  21. /**
  22. * Actions for the remote control permission events.
  23. */
  24. export const PERMISSIONS_ACTIONS = {
  25. request: "request",
  26. grant: "grant",
  27. deny: "deny",
  28. error: "error"
  29. };
  30. /**
  31. * The type of remote control events sent trough the API module.
  32. */
  33. export const REMOTE_CONTROL_EVENT_TYPE = "remote-control-event";