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.

JingleSessionState.ts 696B

123456789101112131415161718192021222324
  1. export enum JingleSessionState {
  2. /**
  3. * The pending Jingle session state which means the session as defined in
  4. * XEP-0166(before 'session-invite/session-accept' took place).
  5. */
  6. PENDING = 'pending',
  7. /**
  8. * The active Jingle session state as defined in XEP-0166
  9. * (after 'session-invite'/'session-accept').
  10. */
  11. ACTIVE = 'active',
  12. /**
  13. * The ended Jingle session state as defined in XEP-0166
  14. * (after 'session-terminate').
  15. */
  16. ENDED = 'ended'
  17. };
  18. // exported for backward compatibility
  19. export const PENDING = JingleSessionState.PENDING;
  20. export const ACTIVE = JingleSessionState.ACTIVE;
  21. export const ENDED = JingleSessionState.ENDED;