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.

JitsiTrackErrors.js 2.1KB

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