Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

JitsiTrackErrors.js 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**
  2. * Enumeration with the errors for the JitsiTrack objects.
  3. * @type {{string: string}}
  4. */
  5. module.exports = {
  6. /**
  7. * An error which indicates that requested video resolution is not supported
  8. * by a webcam.
  9. */
  10. UNSUPPORTED_RESOLUTION: "gum.unsupported_resolution",
  11. /**
  12. * An error which indicates that the jidesha extension for Firefox is
  13. * needed to proceed with screen sharing, and that it is not installed.
  14. */
  15. FIREFOX_EXTENSION_NEEDED: "gum.firefox_extension_needed",
  16. /**
  17. * An error which indicates that the jidesha extension for Chrome is
  18. * failed to install.
  19. */
  20. CHROME_EXTENSION_INSTALLATION_ERROR:
  21. "gum.chrome_extension_installation_error",
  22. /**
  23. * An error which indicates that user canceled screen sharing window
  24. * selection dialog in jidesha extension for Chrome.
  25. */
  26. CHROME_EXTENSION_USER_CANCELED:
  27. "gum.chrome_extension_user_canceled",
  28. /**
  29. * Generic error for jidesha extension for Chrome.
  30. */
  31. CHROME_EXTENSION_GENERIC_ERROR:
  32. "gum.chrome_extension_generic_error",
  33. /**
  34. * Generic getUserMedia error.
  35. */
  36. GENERAL: "gum.general",
  37. /**
  38. * An error which indicates that user denied permission to share requested
  39. * device.
  40. */
  41. PERMISSION_DENIED: "gum.permission_denied",
  42. /**
  43. * An error which indicates that requested device was not found.
  44. */
  45. NOT_FOUND: "gum.not_found",
  46. /**
  47. * An error which indicates that some of requested constraints in
  48. * getUserMedia call were not satisfied.
  49. */
  50. CONSTRAINT_FAILED: "gum.constraint_failed",
  51. /**
  52. * An error which indicates that track has been already disposed and cannot
  53. * be longer used.
  54. */
  55. TRACK_IS_DISPOSED: "track.track_is_disposed",
  56. /**
  57. * An error which indicates that track is currently in progress of muting or
  58. * unmuting itself.
  59. */
  60. TRACK_MUTE_UNMUTE_IN_PROGRESS: "track.mute_unmute_inprogress"
  61. };