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.

constants.js 443B

12345678910111213141516171819202122232425262728
  1. /**
  2. * The set of facing modes for camera.
  3. *
  4. * @enum {string}
  5. */
  6. export const CAMERA_FACING_MODE = {
  7. ENVIRONMENT: 'environment',
  8. USER: 'user'
  9. };
  10. /**
  11. * The set of media types for a track.
  12. *
  13. * @enum {string}
  14. */
  15. export const MEDIA_TYPE = {
  16. AUDIO: 'audio',
  17. VIDEO: 'video'
  18. };
  19. /**
  20. * The set of video types for a video track.
  21. * @enum {string}
  22. */
  23. export const VIDEO_TYPE = {
  24. CAMERA: 'camera',
  25. DESKTOP: 'desktop'
  26. };