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.

12345678910111213141516171819202122
  1. /**
  2. * The supported remote video resolutions. The values are currently based on
  3. * available simulcast layers.
  4. *
  5. * @type {object}
  6. */
  7. export const VIDEO_QUALITY_LEVELS = {
  8. HIGH: 720,
  9. STANDARD: 360,
  10. LOW: 180
  11. };
  12. /**
  13. * Maps quality level names used in the config.videoQuality.minHeightForQualityLvl to the quality level constants used
  14. * by the application.
  15. * @type {Object}
  16. */
  17. export const CFG_LVL_TO_APP_QUALITY_LVL = {
  18. 'low': VIDEO_QUALITY_LEVELS.LOW,
  19. 'standard': VIDEO_QUALITY_LEVELS.STANDARD,
  20. 'high': VIDEO_QUALITY_LEVELS.HIGH
  21. };