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.

MediaDirection.js 565B

12345678910111213141516171819202122232425262728
  1. /* global module */
  2. /**
  3. * Enumeration of the media direction types.
  4. * @type {{INACTIVE: string, RECVONLY: string, SENDONLY: string, SENDRECV: string}}
  5. */
  6. const MediaDirection = {
  7. /**
  8. * Media is send and receive is suspended.
  9. */
  10. INACTIVE: 'inactive',
  11. /**
  12. * Media is only received from remote peer.
  13. */
  14. RECVONLY: 'recvonly',
  15. /**
  16. * Media is only sent to the remote peer.
  17. */
  18. SENDONLY: 'sendonly',
  19. /**
  20. * Media is sent and received.
  21. */
  22. SENDRECV: 'sendrecv'
  23. };
  24. module.exports = MediaDirection;