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.

VideoSIPGWConstants.js 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /**
  2. * Status that video SIP GW service is available.
  3. * @type {string}
  4. */
  5. export const STATUS_AVAILABLE = 'available';
  6. /**
  7. * Status that video SIP GW service is not available.
  8. * @type {string}
  9. */
  10. export const STATUS_UNDEFINED = 'undefined';
  11. /**
  12. * Status that video SIP GW service is available but there are no free nodes
  13. * at the moment to serve new requests.
  14. * @type {string}
  15. */
  16. export const STATUS_BUSY = 'busy';
  17. /**
  18. * Video SIP GW session state, currently running.
  19. * @type {string}
  20. */
  21. export const STATE_ON = 'on';
  22. /**
  23. * Video SIP GW session state, currently stopped and not running.
  24. * @type {string}
  25. */
  26. export const STATE_OFF = 'off';
  27. /**
  28. * Video SIP GW session state, currently is starting.
  29. * @type {string}
  30. */
  31. export const STATE_PENDING = 'pending';
  32. /**
  33. * Video SIP GW session state, has observed some issues and is retrying at the
  34. * moment.
  35. * @type {string}
  36. */
  37. export const STATE_RETRYING = 'retrying';
  38. /**
  39. * Video SIP GW session state, tried to start but it failed.
  40. * @type {string}
  41. */
  42. export const STATE_FAILED = 'failed';
  43. /**
  44. * Error on trying to create video SIP GW session in conference where
  45. * there is no room connection (hasn't joined or has left the room).
  46. * @type {string}
  47. */
  48. export const ERROR_NO_CONNECTION = 'error_no_connection';
  49. /**
  50. * Error on trying to create video SIP GW session with address for which
  51. * there is an already created session.
  52. * @type {string}
  53. */
  54. export const ERROR_SESSION_EXISTS = 'error_session_already_exists';