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.

123456789101112131415161718192021222324252627282930
  1. /**
  2. * Default last-n value used to be used for "HD" video quality setting when no channelLastN value is specified.
  3. * @type {number}
  4. */
  5. export const DEFAULT_LAST_N = 20;
  6. /**
  7. * The supported remote video resolutions. The values are currently based on
  8. * available simulcast layers.
  9. *
  10. * @type {object}
  11. */
  12. export const VIDEO_QUALITY_LEVELS = {
  13. ULTRA: 2160,
  14. HIGH: 720,
  15. STANDARD: 360,
  16. LOW: 180,
  17. NONE: 0
  18. };
  19. /**
  20. * Maps quality level names used in the config.videoQuality.minHeightForQualityLvl to the quality level constants used
  21. * by the application.
  22. * @type {Object}
  23. */
  24. export const CFG_LVL_TO_APP_QUALITY_LVL = {
  25. 'low': VIDEO_QUALITY_LEVELS.LOW,
  26. 'standard': VIDEO_QUALITY_LEVELS.STANDARD,
  27. 'high': VIDEO_QUALITY_LEVELS.HIGH
  28. };