Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

JitsiTrackErrors.js 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 has no MediaStream associated.
  58. */
  59. TRACK_NO_STREAM_FOUND: "track.no_stream_found",
  60. /**
  61. * An error which indicates that track is currently in progress of muting or
  62. * unmuting itself.
  63. */
  64. TRACK_MUTE_UNMUTE_IN_PROGRESS: "track.mute_unmute_inprogress"
  65. };